GetLength

Returns the length of a stream or an immersed duct.

Calling convention:

bool GetLength(int* iel, double* val)
Note:

To access this method, you must use the GetTMGFunction method and include the AdditionalFunctions.h file located in the [installation_path]\tmg\include\maya\expeval_utils folder in the beginning of your source file.

Argument Data type Description
iel int* The fluid or solid element ID. In case of solid element it will find the fluid element ID connected to the solid element.
val double* The length of a stream or an immersed duct to whom the element iel above belongs to.

For the example, see the GetAreaBC method.