This group of functions is used to setup and run the CFD Mesh tool through the API.
Click here to return to the main page.
More...
|
void | SetComputationFileName (int file_type, const string &in file_name) |
|
void | ComputeCFDMesh (int set, int file_type) |
|
void | SetCFDMeshVal (int type, double val) |
|
void | SetCFDWakeFlag (const string &in geom_id, bool flag) |
|
void | DeleteAllCFDSources () |
|
void | AddDefaultSources () |
|
void | AddCFDSource (int type, const string &in geom_id, int surf_index, double l1, double r1, double u1, double w1, double l2=0, double r2=0, double u2=0, double w2=0) |
|
◆ AddCFDSource()
void AddCFDSource |
( |
int |
type, |
|
|
const string &in |
geom_id, |
|
|
int |
surf_index, |
|
|
double |
l1, |
|
|
double |
r1, |
|
|
double |
u1, |
|
|
double |
w1, |
|
|
double |
l2 = 0 , |
|
|
double |
r2 = 0 , |
|
|
double |
u2 = 0 , |
|
|
double |
w2 = 0 |
|
) |
| |
Add a CFD Mesh default source for the indicated Geom. Note, certain input params may not be used depending on the source type
- See also
- CFD_MESH_SOURCE_TYPE
- Parameters
-
[in] | type | CFD Mesh source type( i.e.BOX_SOURCE ) |
[in] | geom_id | Geom ID |
[in] | surf_index | Main surface index |
[in] | l1 | Source first edge length |
[in] | r1 | Source first radius |
[in] | u1 | Source first U location |
[in] | w1 | Source fisrt W location |
[in] | l2 | Source second edge length |
[in] | r2 | Source second radius |
[in] | u2 | Source second U location |
[in] | w2 | Source second W location |
◆ AddDefaultSources()
void AddDefaultSources |
( |
| ) |
|
Add default CFD Mesh sources for all Geoms
◆ ComputeCFDMesh()
void ComputeCFDMesh |
( |
int |
set, |
|
|
int |
file_type |
|
) |
| |
Create a CFD Mesh for the components in the set. This analysis cannot be run through the Analysis Manager.
Print(
"\tComputing CFDMesh..." );
- See also
- COMPUTATION_FILE_TYPE
- Parameters
-
[in] | set | Set index (i.e. SET_ALL) |
[in] | file_type | CFD Mesh file type to export (supports XOR i.e CFD_SRF_TYPE & CFD_STL_TYPE) |
◆ DeleteAllCFDSources()
void DeleteAllCFDSources |
( |
| ) |
|
Delete all CFD Mesh sources for all Geoms
◆ SetCFDMeshVal()
void SetCFDMeshVal |
( |
int |
type, |
|
|
double |
val |
|
) |
| |
Set the value of a specific CFD Mesh option
- See also
- CFD_CONTROL_TYPE
- Parameters
-
[in] | type | CFD Mesh control type enum (i.e. CFD_GROWTH_RATIO) |
[in] | val | Value to set |
◆ SetCFDWakeFlag()
void SetCFDWakeFlag |
( |
const string &in |
geom_id, |
|
|
bool |
flag |
|
) |
| |
Activate or deactivate the CFD Mesh wake for a particular Geom. Note, the wake flag is only applicable for wing-type surfaces. Also, this function is simply an alternative to setting the value of the Parm with the available Parm setting API functions.
- See also
- SetParmVal, SetParmValUpdate
- Parameters
-
[in] | geom_id | Geom ID |
[in] | flag | True to activate, false to deactivate |
◆ SetComputationFileName()
void SetComputationFileName |
( |
int |
file_type, |
|
|
const string &in |
file_name |
|
) |
| |
Get the file name of a specified file type. Note, this function cannot be used to set FEA Mesh file names.
- See also
- COMPUTATION_FILE_TYPE, SetFeaMeshFileName
- Parameters
-
[in] | file_type | File type enum (i.e. CFD_TRI_TYPE, COMP_GEOM_TXT_TYPE) |
[in] | file_name | File name |