*StreamLineRegenerationMode()
Specifies the regeneration mode used when drawing streamlines in the CFD/Streamlines panel.
Syntax
*StreamLineRegenerationMode (mode)
Application
HyperView
Inputs
- mode
-
- “None”
- Indicates that streamline regeneration will happen automatically after redefining the rake in any way. You must click the Create button on the CFD/Streamlines panel to regenerate the new streamlines.
- “Change_finalized”
- Indicates that regeneration will happen when the process of changing the CFD rake is over, such as whenever you drag the rake and release the mouse button.
- “immediately”
- Indicates that any change in rake definition will immediately trigger the
regeneration of streamlines. If you drag the CFD rake, the streamlines will be
regenerated multiple times throughout the drag. Note: The "immediately" mode is not exposed in GUI, however it is available for scripting purposes.
Context
*BeginCFD()
Example
*BeginCFD()
*StreamlineSource("Velocity")
*StreamlineStyle("Line")
*StreamLineSize(1)
*MarkerSize(0.2)
*ColorStreamlines("seed")
*NumberOfStreamLineColors(9)
*StreamLineRegenerationMode("change_finalized")
*IntegrationMethod("Runge-Kutta2")
*IntegrationStepLength("Element-fraction 0.250000")
*TerminationCriteria("Max_length", 1.422089)
*TerminationCriteria("Max_num_steps", 5000)
*TerminationCriteria("Terminate_speed", 0.000100)
*BeginRake(1, "Rake 1", "Plane", "On")
*GenerateStreamlines("Yes")
*RakeDefinition("2.533943 0.207342 1.048680 2.533943 0.149523 0.950538 2.533943 0.317738 0.869755")
*RakeTransformationMatrix("0 ,-0.507597 ,-0.861595 ,0 ,0 ,0.861595 ,-0.507597 ,0 ,1 ,0 ,0 ,0 ,2.53394 ,0.258534 ,0.952418 ,1 ,")
*RakeScale(1.000000 1.000000)
*NumberOfSeeds(10 8)
*SeedColor("185 185 185")
*ShowRakeOutline("On")
*ShowSeedOutline("On")
*IntegrationMode("Downstream")
*EndRake()
*BaseTime(0)
*TracerStyle("Sphere", "None")
*TracerColor("Injection time")
*TracerSize(3)
*TracerAnimationMode("Single")
*TracerNumberOfAnimationSteps(300)
*TracerInjectionTime(0)
*TracerInjectionDelay(0)
*TracerSubcase(No, 0)
*EndCFD()