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) |
| int | vsp::GetFeaMeshStructIndex () |
| 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) |
| void | vsp::ReorderFeaPart (const std::string &geom_id, int fea_struct_ind, const std::string &part_id, int reorder_type) |
| void | vsp::IndividualizeFeaPart (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 std::string &ss_id) |
| int | vsp::GetFeaPolySparNumPt (const std::string &pspar_id) |
| std::string | vsp::AddFeaPolySparPt (const std::string &pspar_id) |
| std::string | vsp::InsertFeaPolySparPt (const std::string &pspar_id, int index) |
| void | vsp::DelFeaPolySparPt (const std::string &pspar_id, int index) |
| void | vsp::DelAllFeaPolySparPt (const std::string &pspar_id) |
| int | vsp::MoveFeaPolySparPt (const std::string &pspar_id, int index, int reorder_type) |
| void | vsp::SetFeaPolySparPtName (const std::string &pspar_id, int index, const std::string &name) |
| std::string | vsp::GetFeaPolySparPtName (const std::string &pspar_id, int index) |
| std::string | vsp::GetFeaPolySparPtID (const std::string &pspar_id, int index) |
| std::vector< std::string > | vsp::GetAllFeaPolySparPtIDVec (const std::string &pspar_id) |
| void | vsp::AddFeaTrimPart (const std::string &trim_id, const std::string &part_id) |
| void | vsp::DeleteFeaTrimPart (const std::string &trim_id, int index) |
| std::vector< std::string > | vsp::GetFeaTrimPartIDVec (const std::string &trim_id) |
| void | vsp::DeleteFeaAssembly (const std::string &assembly_id) |
| int | vsp::NumFeaAssemblies () |
| std::vector< std::string > | vsp::GetFeaAssemblyIDVec () |
| std::string | vsp::GetFeaAssemblyName (const std::string &assembly_id) |
| void | vsp::SetFeaAssemblyName (const std::string &assembly_id, const std::string &name) |
| void | vsp::AddFeaStructureToAssembly (const std::string &assembly_id, const std::string &struct_id) |
| void | vsp::DeleteFeaStructureFromAssembly (const std::string &assembly_id, const std::string &struct_id) |
| std::vector< std::string > | vsp::GetFeaAssemblyStructureIDVec (const std::string &assembly_id) |
| void | vsp::AddFeaAssemblyConnection (const std::string &assembly_id, const std::string &start_fix_pt_id, const std::string &start_struct_id, int start_index, const std::string &end_fix_pt_id, const std::string &end_struct_id, int end_index) |
| void | vsp::DeleteFeaAssemblyConnection (const std::string &assembly_id, int connection_index) |
| int | vsp::NumFeaAssemblyConnections (const std::string &assembly_id) |
| std::string | vsp::GetFeaAssemblyFileName (const std::string &assembly_id, int file_type) |
| void | vsp::SetFeaAssemblyFileName (const std::string &assembly_id, int file_type, const std::string &file_name) |
| int | vsp::NumFeaParts (const std::string &fea_struct_id) |
| int | vsp::NumFeaSubSurfs (const std::string &fea_struct_id) |
| std::string | vsp::AddFeaBC (const std::string &fea_struct_id, int type=-1) |
| void | vsp::DelFeaBC (const std::string &fea_struct_id, const std::string &bc_id) |
| std::vector< std::string > | vsp::GetFeaBCIDVec (const std::string &fea_struct_id) |
| int | vsp::NumFeaBCs (const std::string &fea_struct_id) |
| std::string | vsp::AddFeaLayer (const std::string &material_id) |
| void | vsp::DeleteFeaLayer (const std::string &material_id, const std::string &layer_id) |
| void | vsp::ReorderFeaLayer (const std::string &material_id, const std::string &layer_id, int reorder_type) |
| int | vsp::NumFeaLayers (const std::string &material_id) |
| std::vector< std::string > | vsp::GetFeaLayerIDVec (const std::string &material_id) |
| void | vsp::DeleteFeaMaterial (const std::string &id) |
| std::vector< std::string > | vsp::GetFeaPropertyIDVec () |
| void | vsp::DeleteFeaProperty (const std::string &id) |
| double | vsp::GetFeaMeshVal (const std::string &geom_id, int fea_struct_ind, int type) |
| std::string | vsp::GetFeaMeshFileName (const std::string &geom_id, int fea_struct_ind, int file_type) |
| 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 |
Connect two FEA Fixed Points, each belonging to a Structure in the assembly, so the Structures are tied together where they meet.
| [in] | assembly_id | string FEA Assembly ID |
| [in] | start_fix_pt_id | string FEA Fixed Point ID at the start of the connection |
| [in] | start_struct_id | string FEA Structure ID the start Fixed Point belongs to |
| [in] | start_index | int Surface index of the start Fixed Point |
| [in] | end_fix_pt_id | string FEA Fixed Point ID at the end of the connection |
| [in] | end_struct_id | string FEA Structure ID the end Fixed Point belongs to |
| [in] | end_index | int Surface index of the end Fixed Point |
|
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.
Get the IDs of every FEA Material in the FEA Mesh material library, including the built in materials as well as any added through AddFeaMaterial.
Add a layer to an FEA laminate material. Only a material of type FEA_LAMINATE carries layers.
| [in] | material_id | string FEA Material ID of a laminate |
|
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 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 Structure to an FEA Assembly
| [in] | assembly_id | string FEA Assembly ID |
| [in] | struct_id | string FEA Structure ID |
|
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 |
Get the total number of FEA Structures in the vehicle
Add an FEA Assembly. An assembly gathers several FEA Structures and the connections between them so they can be meshed and written out as one model.
Add an FEA Part to the list a Trim part trims against. This is the Trim part's Add button.
| [in] | trim_id | string FEA Trim part ID |
| [in] | part_id | string FEA Part ID to trim against |
|
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 Assembly. The Structures it gathered are left in the model.
| [in] | assembly_id | string FEA Assembly ID |
|
extern |
Delete a connection from an FEA Assembly
| [in] | assembly_id | string FEA Assembly ID |
| [in] | connection_index | int Connection index |
|
extern |
Delete a layer from an FEA laminate material
| [in] | material_id | string FEA Material ID of a laminate |
| [in] | layer_id | string FEA Layer ID |
|
extern |
Delete an FEA Material from the FEA Mesh material library. Only materials created with AddFeaMaterial can be deleted; the built in materials belong to the library.
| [in] | id | string FEA Material 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 Property from the FEA Mesh property library
| [in] | id | string FEA Property 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 |
Remove an FEA Structure from an FEA Assembly. The Structure itself is left in the model.
| [in] | assembly_id | string FEA Assembly ID |
| [in] | struct_id | string FEA Structure ID |
|
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 |
Remove an entry from the list a Trim part trims against
| [in] | trim_id | string FEA Trim part ID |
| [in] | index | int Trim entry index |
|
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 |
Mesh and write out an FEA Assembly. Any Structure in the assembly that has not been meshed yet is meshed first.
| [in] | assembly_id | string FEA Assembly ID |
Get the name of an FEA Assembly output file. The names are built from the assembly name when it is set, so this reports where ComputeFeaAssemblyMesh will write.
| [in] | assembly_id | string FEA Assembly ID |
| [in] | file_type | int FEA output file type enum (i.e. FEA_CALCULIX_FILE_NAME) |
|
extern |
Get the IDs of every FEA Assembly in the model
|
extern |
Get the name of an FEA Assembly
| [in] | assembly_id | string FEA Assembly ID |
|
extern |
Get the IDs of the FEA Structures gathered by an FEA Assembly
| [in] | assembly_id | string FEA Assembly ID |
|
extern |
Return a vector of FEA BC ID's for a structure
| [in] | fea_struct_id | string FEA Structure ID |
|
extern |
Get the IDs of every layer in an FEA laminate material
| [in] | material_id | string FEA Material ID of a laminate |
|
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 |
Get 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) |
|
extern |
Sets FeaMeshMgr m_FeaMeshStructIndex member using passed in index of a FeaStructure
Get the index of the FEA Structure the FEA Mesh Manager is currently pointed at
|
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 |
Get the value of a specific FEA Mesh option for the specified Structure
| [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) |
|
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 |
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). |
Get the IDs of every FEA Property in the FEA Mesh property library, including the built in properties as well as any added through AddFeaProperty.
|
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 |
Get the FEA Parts a Trim part trims against
| [in] | trim_id | string FEA Trim part ID |
|
extern |
Replace an FEA array part with the individual parts it stands for, the way the Individualize buttons on the array panels do. A rib array, slice array or SSLine array is a compact way of laying down a regular set of parts; individualizing turns it into that set, so each one can then be edited on its own. The array part itself goes away.
| [in] | geom_id | string Geom ID |
| [in] | fea_struct_ind | int FEA Structure index |
| [in] | part_id | string FEA Part or FEA Sub-Surface ID of an array part |
|
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 |
Get the number of FEA Assemblies in the model
|
extern |
Get the number of connections in an FEA Assembly
| [in] | assembly_id | string FEA Assembly ID |
|
extern |
Return number of FEA BC's in a structure
| [in] | fea_struct_id | string FEA Structure ID |
|
extern |
Get the number of layers in an FEA laminate material
| [in] | material_id | string FEA Material ID of a laminate |
|
extern |
Get the number of FEA Parts for a particular FEA Structure
| [in] | fea_struct_id | string FEA Structure ID |
|
extern |
Get the number of FEA Subsurfaces for a particular FEA Structure
| [in] | fea_struct_id | string FEA Structure ID |
|
extern |
Move a layer within an FEA laminate's stack, the way the move buttons on the material editor do. A laminate's properties come from its layers in stacking order, so moving a layer changes the material.
| [in] | material_id | string FEA Material ID of a laminate |
| [in] | layer_id | string FEA Layer ID |
| [in] | reorder_type | int Reorder type enum (see REORDER_TYPE) |
|
extern |
Move an FEA part within its structure's part list, the way the move buttons on the Structure tab do. Parts are meshed in list order, so where a part sits decides which of two intersecting parts is trimmed by the other.
| [in] | geom_id | string Geom ID |
| [in] | fea_struct_ind | int FEA Structure index |
| [in] | part_id | string FEA Part ID |
| [in] | reorder_type | int Reorder type enum (see REORDER_TYPE) |
|
extern |
Set the name of an FEA Assembly output file
| [in] | assembly_id | string FEA Assembly ID |
| [in] | file_type | int FEA output file type enum (i.e. FEA_CALCULIX_FILE_NAME) |
| [in] | file_name | string Name for the output file |
|
extern |
Set the name of an FEA Assembly. The assembly's export file names are rebuilt from the new name.
| [in] | assembly_id | string FEA Assembly ID |
| [in] | name | string FEA Assembly name |
|
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 |