GetHydraulicDiameter
Returns the hydraulic diameter of the duct with a defined cross section in the specified boundary condition, which can be used to compute custom heat transfer correlations.
Calling convention:
bool GetHydraulicDiameter(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 |
---|---|---|
val | double* | The hydraulic diameter of the duct element. |
For the example, see the GetAreaBC method.