poICFD_rake SetNumberOfSeeds

Specifies the number of the seeds in the rake used for the stream integration creation in the CFD Plot/Streamlines panel.

Syntax

poICFD_rake_handle SetNumberOfSeedsnum_seeds

Application

HyperView Tcl Modify

Description

This command specifies the number of the seeds in the rake used for the streamline creation in the CFD Plot/Streamlines panel and returns success (if successful).
Note: In the case of an "Area" rake, the number of seeds actually created could be smaller than the value specified by this command, since the real number of seeds cannot exceed the number of elements in the 2D part, which is specified when the rake is defined. The Num_seeds argument must be a positive integer.

Inputs

num_seeds
The number of seeds in the rake.

Example

To specify the number of the seeds in the rake to be "20":
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 GetRakeHandle CFD_rake_handle [CFD_handle AddRake “line”]
CFD_rake_handle SetNumberOfSeeds 20
hwi CloseStack

Error

Returns HW_InvalidArgs if the number of seeds specified is not a positive integer.