The following group of API functions supports all functionality of the FEA Mesh Tool. Structures, FEA Parts, materials, and properties can be defined and manipulated. Mesh and output file settings can be adjusted, and an FEA mesh can be generated. Click here to return to the main page. More...
Functions | |
| int | vsp::AddFeaStruct (const std::string &geom_id, bool init_skin=true, int surfindex=0) |
| void | vsp::SetFeaMeshStructIndex (int struct_index) |
| void | vsp::DeleteFeaStruct (const std::string &geom_id, int fea_struct_ind) |
| std::string | vsp::GetFeaStructID (const std::string &geom_id, int fea_struct_ind) |
| int | vsp::GetFeaStructIndex (const std::string &struct_id) |
| std::string | vsp::GetFeaStructParentGeomID (const std::string &struct_id) |
| std::string | vsp::GetFeaStructName (const std::string &geom_id, int fea_struct_ind) |
| void | vsp::SetFeaStructName (const std::string &geom_id, int fea_struct_ind, const std::string &name) |
| std::vector< std::string > | vsp::GetFeaStructIDVec () |
| void | vsp::SetFeaPartName (const std::string &part_id, const std::string &name) |
| std::string | vsp::AddFeaPart (const std::string &geom_id, int fea_struct_ind, int type) |
| void | vsp::DeleteFeaPart (const std::string &geom_id, int fea_struct_ind, const std::string &part_id) |
| std::string | vsp::GetFeaPartID (const std::string &fea_struct_id, int fea_part_index) |
| std::string | vsp::GetFeaPartName (const std::string &part_id) |
| int | vsp::GetFeaPartType (const std::string &part_id) |
| std::vector< std::string > | vsp::GetFeaPartIDVec (const std::string &fea_struct_id) |
| std::vector< std::string > | vsp::GetFeaSubSurfIDVec (const std::string &fea_struct_id) |
| void | vsp::SetFeaPartPerpendicularSparID (const std::string &part_id, const std::string &perpendicular_spar_id) |
| std::string | vsp::GetFeaPartPerpendicularSparID (const std::string &part_id) |
| void | vsp::SetFeaSubSurfName (const std::string &subsurf_id, const std::string &name) |
| std::string | vsp::GetFeaSubSurfName (const std::string &subsurf_id) |
| std::string | vsp::AddFeaSubSurf (const std::string &geom_id, int fea_struct_ind, int type) |
| void | vsp::DeleteFeaSubSurf (const std::string &geom_id, int fea_struct_ind, const std::string &ss_id) |
| int | vsp::GetFeaSubSurfIndex (const string &ss_id) |
| int | vsp::GetFeaPolySparNumPt (const string &pspar_id) |
| string | vsp::AddFeaPolySparPt (const string &pspar_id) |
| string | vsp::InsertFeaPolySparPt (const string &pspar_id, int index) |
| void | vsp::DelFeaPolySparPt (const string &pspar_id, int index) |
| void | vsp::DelAllFeaPolySparPt (const string &pspar_id) |
| int | vsp::MoveFeaPolySparPt (const string &pspar_id, int index, int reorder_type) |
| void | vsp::SetFeaPolySparPtName (const string &pspar_id, int index, const string &name) |
| string | vsp::GetFeaPolySparPtName (const string &pspar_id, int index) |
| string | vsp::GetFeaPolySparPtID (const string &pspar_id, int index) |
| vector< string > | vsp::GetAllFeaPolySparPtIDVec (const string &pspar_id) |
| int | vsp::NumFeaStructures () |
| int | vsp::NumFeaParts (const std::string &fea_struct_id) |
| int | vsp::NumFeaSubSurfs (const std::string &fea_struct_id) |
| std::string | vsp::AddFeaBC (const string &fea_struct_id, int type=-1) |
| void | vsp::DelFeaBC (const string &fea_struct_id, const std::string &bc_id) |
| std::vector< std::string > | vsp::GetFeaBCIDVec (const string &fea_struct_id) |
| int | vsp::NumFeaBCs (const string &fea_struct_id) |
| std::string | vsp::AddFeaMaterial () |
| std::string | vsp::AddFeaProperty (int property_type=0) |
| void | vsp::SetFeaMeshVal (const std::string &geom_id, int fea_struct_ind, int type, double val) |
| void | vsp::SetFeaMeshFileName (const std::string &geom_id, int fea_struct_ind, int file_type, const string &file_name) |
| void | vsp::ComputeFeaMesh (const std::string &geom_id, int fea_struct_ind, int file_type) |
| void | vsp::ComputeFeaMesh (const std::string &struct_id, int file_type) |
|
extern |
Add an FEA BC to a Structure
| [in] | fea_struct_id | string FEA Structure ID |
| [in] | type | int FEA BC type enum ( i.e. FEA_BC_STRUCTURE ) |
|
extern |
Add an FEA Material the FEA Mesh material library. Materials are available across all Geoms and Structures.
|
extern |
Add an FEA Part to a Structure
| [in] | geom_id | string Parent Geom ID |
| [in] | fea_struct_ind | int FEA Structure index |
| [in] | type | int FEA Part type enum (i.e. FEA_RIB) |
|
extern |
Add a point to the end of an FEA Poly Spar and return its ID. The new point is appended after all existing points.
| [in] | pspar_id | string FEA Poly Spar part ID |
|
extern |
Add aa FEA Property the FEA Mesh property library. Properties are available across all Geoms and Structures. Currently only beam and shell properties are available. Note FEA_SHELL_AND_BEAM is not a valid property type.
| [in] | property_type | int FEA Property type enum (i.e. FEA_SHELL). |
|
extern |
Add an FEA Structure to a specified Geom
| [in] | geom_id | string Parent Geom ID |
| [in] | init_skin | bool Flag to initialize the FEA Structure by creating an FEA Skin from the parent Geom's OML at surfindex |
| [in] | surfindex | int Main surface index for the FEA Structure |
|
extern |
Add an FEA SubSurface to a Structure
| [in] | geom_id | string Parent Geom ID |
| [in] | fea_struct_ind | int FEA Structure index |
| [in] | type | int FEA SubSurface type enum (i.e. SS_ELLIPSE) |
|
extern |
Compute an FEA Mesh for a Structure. Only a single output file can be generated with this function.
| [in] | geom_id | string Parent Geom ID |
| [in] | fea_struct_ind | int FEA Structure index |
| [in] | file_type | int FEA output file type enum (i.e. FEA_EXPORT_TYPE) |
|
extern |
Compute an FEA Mesh for a Structure. Only a single output file can be generated with this function.
| [in] | struct_id | string FEA Structure index |
| [in] | file_type | int FEA output file type enum (i.e. FEA_EXPORT_TYPE) |
|
extern |
Delete all points from an FEA Poly Spar.
| [in] | pspar_id | string FEA Poly Spar part ID |
|
extern |
Delete an FEA Part from a Structure
| [in] | geom_id | string Parent Geom ID |
| [in] | fea_struct_ind | int FEA Structure index |
| [in] | part_id | string FEA Part ID |
|
extern |
Delete an FEA Structure and all FEA Parts and FEA SubSurfaces associated with it
| [in] | geom_id | string Parent Geom ID |
| [in] | fea_struct_ind | int FEA Structure index |
|
extern |
Delete an FEA SubSurface from a Structure
| [in] | geom_id | string Parent Geom ID |
| [in] | fea_struct_ind | int FEA Structure index |
| [in] | ss_id | string FEA SubSurface ID |
|
extern |
Delete an FEA BC from a Structure
| [in] | fea_struct_id | string FEA Structure ID |
| [in] | bc_id | int FEA BC ID |
|
extern |
Delete the point at the given index from an FEA Poly Spar.
| [in] | pspar_id | string FEA Poly Spar part ID |
| [in] | index | int Index of the point to delete |
|
extern |
Get a vector of IDs for all points in an FEA Poly Spar. Each ID is a ParmContainer ID that can be used with FindParm to access the point's parameters such as Eta, U01, U0N, and XoC.
| [in] | pspar_id | string FEA Poly Spar part ID |
|
extern |
Return a vector of FEA BC ID's for a structure
| [in] | fea_struct_id | string FEA Structure ID |
|
extern |
Get the Parm ID of an FEA Part, identified from a FEA Structure Parm ID and FEA Part index.
| [in] | fea_struct_id | string FEA Structure ID |
| [in] | fea_part_index | int FEA Part index |
|
extern |
Get the IDs of all FEA Parts in the given FEA Structure
| [in] | fea_struct_id | string FEA Structure ID |
|
extern |
Get the name of an FEA Part
| [in] | part_id | string FEA Part ID |
|
extern |
Get the ID of the perpendicular spar for an FEA Rib or Rib Array. Note, the FEA Rib or Rib Array doesn't have to have "SPAR_NORMAL" set for the "PerpendicularEdgeType" Parm for this function to still return a value.
| [in] | part_id | string FEA Part ID (Rib or Rib Array Type) |
|
extern |
Get the type of an FEA Part
| [in] | part_id | string FEA Part ID |
|
extern |
Get the number of points in an FEA Poly Spar. A newly created Poly Spar contains two points (the inboard and outboard endpoints).
| [in] | pspar_id | string FEA Poly Spar part ID |
|
extern |
Get the ID of a point in an FEA Poly Spar. The returned ID is a ParmContainer ID that can be used with FindParm to access the point's parameters such as Eta, U01, U0N, and XoC.
| [in] | pspar_id | string FEA Poly Spar part ID |
| [in] | index | int Index of the point |
|
extern |
Get the name of a point in an FEA Poly Spar.
| [in] | pspar_id | string FEA Poly Spar part ID |
| [in] | index | int Index of the point |
|
extern |
Get the ID of an FEA Structure
| [in] | geom_id | string Parent Geom ID |
| [in] | fea_struct_ind | int FEA Structure index |
|
extern |
Get the IDs of all FEA Structures in the vehicle
|
extern |
Get the index of an FEA Structure in its Parent Geom's vector of Structures
| [in] | struct_id | string FEA Structure ID |
|
extern |
Get the name of an FEA Structure. The FEA Structure name functions as the the Parm Container name
| [in] | geom_id | string Parent Geom ID |
| [in] | fea_struct_ind | int FEA Structure index |
|
extern |
Get the Parent Geom ID for an FEA Structure
| [in] | struct_id | string FEA Structure ID |
|
extern |
Get the IDs of all FEA SubSurfaces in the given FEA Structure
| [in] | fea_struct_id | string FEA Structure ID |
|
extern |
Get the index of an FEA SubSurface give the SubSurface ID
| [in] | ss_id | string FEA SubSurface ID |
|
extern |
Set the name of an FEA SubSurface
| [in] | subsurf_id | string FEA SubSurface ID |
|
extern |
Insert a point into an FEA Poly Spar before the given index and return its ID.
| [in] | pspar_id | string FEA Poly Spar part ID |
| [in] | index | int Index before which the new point is inserted |
|
extern |
Move a point within an FEA Poly Spar using a reorder type and return the new index of the moved point.
| [in] | pspar_id | string FEA Poly Spar part ID |
| [in] | index | int Index of the point to move |
| [in] | reorder_type | int Reorder type enum (i.e. REORDER_MOVE_UP, REORDER_MOVE_DOWN, REORDER_MOVE_TOP, REORDER_MOVE_BOTTOM) |
|
extern |
Return number of FEA BC's in a structure
| [in] | fea_struct_id | string FEA Structure ID |
|
extern |
Get the number of FEA Parts for a particular FEA Structure
| [in] | fea_struct_id | string FEA Structure ID |
|
extern |
Get the total number of FEA Structures in the vehicle
|
extern |
Get the number of FEA Subsurfaces for a particular FEA Structure
| [in] | fea_struct_id | string FEA Structure ID |
|
extern |
Set the name of a particular FEA Mesh output file for a specified Structure
| [in] | geom_id | string Parent Geom ID |
| [in] | fea_struct_ind | int FEA Structure index |
| [in] | file_type | int FEA output file type enum (i.e. FEA_EXPORT_TYPE) |
| [in] | file_name | string Name for the output file |
|
extern |
Sets FeaMeshMgr m_FeaMeshStructIndex member using passed in index of a FeaStructure
|
extern |
Set the value of a particular FEA Mesh option for the specified Structure. Note, FEA Mesh makes use of enums initially created for CFD Mesh but not all CFD Mesh options are available for FEA Mesh.
| [in] | geom_id | string Parent Geom ID |
| [in] | fea_struct_ind | int FEA Structure index |
| [in] | type | int FEA Mesh option type enum (i.e. CFD_MAX_EDGE_LEN) |
| [in] | val | double Value the option is set to |
|
extern |
Set the name of an FEA Part
| [in] | part_id | string FEA Part ID |
| [in] | name | string New name for the FEA Part |
|
extern |
Set the ID of the perpendicular spar for an FEA Rib or Rib Array. Note, the FEA Rib or Rib Array should have "SPAR_NORMAL" set for the "PerpendicularEdgeType" Parm. If it is not, the ID will still be set, but the orientation of the Rib or Rib Array will not change.
| [in] | part_id | string FEA Part ID (Rib or Rib Array Type) |
| [in] | perpendicular_spar_id | string FEA Spar ID |
|
extern |
Set the name of a point in an FEA Poly Spar.
| [in] | pspar_id | string FEA Poly Spar part ID |
| [in] | index | int Index of the point |
| [in] | name | string New name for the point |
|
extern |
Set the name of an FEA Structure
| [in] | geom_id | string Parent Geom ID |
| [in] | fea_struct_ind | int FEA Structure index |
| [in] | name | string New name for the FEA Structure |
|
extern |
Set the name of an FEA SubSurface
| [in] | subsurf_id | string FEA SubSurface ID |
| [in] | name | string New name for the FEA SubSurface |