poICFD SetIntegrationMethod
Specifies the integration algorithm used for the streamline creation in the CFD Plot/Streamlines panel.
Syntax
poICFD_handle SetIntegrationMethodintegration_method
Application
HyperView Tcl Modify
Description
This command specifies the integration algorithm used for the streamline creation in the CFD Plot/Streamlines panel. The specified Integration_method must be one of the supported modes. You can get a list of supported integration methods from the CFD Plot/Streamlines panel by using the GetIntegrationMethodList command.
Inputs
- integration_method
- The integration method for the streamline creation to be set.
Example
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetModelHandle model_handle [client_handle GetActiveModel]
model_handle GetResultCtrlHandle result_handle
result_handle GetCFDCtrlHandle CFD_handle
CFD_handle SetStreamLineColoredByMode seed
CFD_handle SetIntegrationMethod "runge-kutta2"
hwi CloseStack
Error
Returns HW_InvalidArgs if the Integration_method string specifies an unsupported method.