FEA Mesh Functions

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.

AddFeaStruct(std, bool init_skin=True, ...)

GetFeaMeshStructIndex()

SetFeaMeshStructIndex(int struct_index)

DeleteFeaStruct(std, int fea_struct_ind)

GetFeaStructID(std, int fea_struct_ind)

GetFeaStructIndex(std)

GetFeaStructParentGeomID(std)

GetFeaStructName(std, int fea_struct_ind)

SetFeaStructName(std, int fea_struct_ind, std)

GetFeaStructIDVec()

SetFeaPartName(std, std)

AddFeaPart(std, int fea_struct_ind, int type)

DeleteFeaPart(std, int fea_struct_ind, std)

ReorderFeaPart(std, int fea_struct_ind, std, ...)

IndividualizeFeaPart(std, ...)

GetFeaPartID(std, int fea_part_index)

GetFeaPartName(std)

GetFeaPartType(std)

GetFeaPartIDVec(std)

GetFeaSubSurfIDVec(std)

SetFeaPartPerpendicularSparID(std, std)

GetFeaPartPerpendicularSparID(std)

SetFeaSubSurfName(std, std)

GetFeaSubSurfName(std)

AddFeaSubSurf(std, int fea_struct_ind, int type)

DeleteFeaSubSurf(std, int fea_struct_ind, std)

GetFeaSubSurfIndex(std)

GetFeaPolySparNumPt(std)

AddFeaPolySparPt(std)

InsertFeaPolySparPt(std, int index)

DelFeaPolySparPt(std, int index)

DelAllFeaPolySparPt(std)

MoveFeaPolySparPt(std, int index, ...)

SetFeaPolySparPtName(std, int index, std)

GetFeaPolySparPtName(std, int index)

GetFeaPolySparPtID(std, int index)

GetAllFeaPolySparPtIDVec(std)

AddFeaTrimPart(std, std)

DeleteFeaTrimPart(std, int index)

GetFeaTrimPartIDVec(std)

AddFeaAssembly()

DeleteFeaAssembly(std)

NumFeaAssemblies()

GetFeaAssemblyIDVec()

GetFeaAssemblyName(std)

SetFeaAssemblyName(std, std)

AddFeaStructureToAssembly(std, std)

DeleteFeaStructureFromAssembly(std, std)

AddFeaAssemblyStructure(std, std)

DeleteFeaAssemblyStructure(std, std)

GetFeaAssemblyStructureIDVec(std)

AddFeaAssemblyConnection(std, std, std, ...)

DeleteFeaAssemblyConnection(std, ...)

NumFeaAssemblyConnections(std)

GetFeaAssemblyConnectionID(std, ...)

GetFeaAssemblyFileName(std, int file_type)

SetFeaAssemblyFileName(std, int file_type, std)

ComputeFeaAssemblyMesh(std)

NumFeaStructures()

NumFeaParts(std)

NumFeaSubSurfs(std)

AddFeaBC(std, int type=-1)

DelFeaBC(std, std)

GetFeaBCIDVec(std)

NumFeaBCs(std)

AddFeaLayer(std)

DeleteFeaLayer(std, std)

ReorderFeaLayer(std, std, int reorder_type)

NumFeaLayers(std)

GetFeaLayerIDVec(std)

GetFeaMaterialIDVec()

DeleteFeaMaterial(std)

AddFeaMaterial()

GetFeaPropertyIDVec()

DeleteFeaProperty(std)

AddFeaProperty(int property_type=0)

GetFeaMeshVal(std, int fea_struct_ind, int type)

SetFeaMeshVal(std, int fea_struct_ind, ...)

GetFeaMeshFileName(std, int fea_struct_ind, ...)

SetFeaMeshFileName(std, int fea_struct_ind, ...)

ComputeFeaMesh()

Details

openvsp.AddFeaStruct(std: :string const & geom_id, bool init_skin=True, int surfindex=0) int[source]
openvsp.GetFeaMeshStructIndex() int[source]
openvsp.SetFeaMeshStructIndex(int struct_index)[source]
openvsp.DeleteFeaStruct(std: :string const & geom_id, int fea_struct_ind)[source]
openvsp.GetFeaStructID(std: :string const & geom_id, int fea_struct_ind) std::string[source]
openvsp.GetFeaStructIndex(std: :string const & struct_id) int[source]
openvsp.GetFeaStructParentGeomID(std: :string const & struct_id) std::string[source]
openvsp.GetFeaStructName(std: :string const & geom_id, int fea_struct_ind) std::string[source]
openvsp.SetFeaStructName(std: :string const & geom_id, int fea_struct_ind, std: :string const & name)[source]
openvsp.GetFeaStructIDVec() StringVector[source]
openvsp.SetFeaPartName(std: :string const & part_id, std: :string const & name)[source]
openvsp.AddFeaPart(std: :string const & geom_id, int fea_struct_ind, int type) std::string[source]
openvsp.DeleteFeaPart(std: :string const & geom_id, int fea_struct_ind, std: :string const & part_id)[source]
openvsp.ReorderFeaPart(std: :string const & geom_id, int fea_struct_ind, std: :string const & part_id, int reorder_type)[source]
openvsp.IndividualizeFeaPart(std: :string const & geom_id, int fea_struct_ind, std: :string const & part_id)[source]
openvsp.GetFeaPartID(std: :string const & fea_struct_id, int fea_part_index) std::string[source]
openvsp.GetFeaPartName(std: :string const & part_id) std::string[source]
openvsp.GetFeaPartType(std: :string const & part_id) int[source]
openvsp.GetFeaPartIDVec(std: :string const & fea_struct_id) StringVector[source]
openvsp.GetFeaSubSurfIDVec(std: :string const & fea_struct_id) StringVector[source]
openvsp.SetFeaPartPerpendicularSparID(std: :string const & part_id, std: :string const & perpendicular_spar_id)[source]
openvsp.GetFeaPartPerpendicularSparID(std: :string const & part_id) std::string[source]
openvsp.SetFeaSubSurfName(std: :string const & subsurf_id, std: :string const & name)[source]
openvsp.GetFeaSubSurfName(std: :string const & subsurf_id) std::string[source]
openvsp.AddFeaSubSurf(std: :string const & geom_id, int fea_struct_ind, int type) std::string[source]
openvsp.DeleteFeaSubSurf(std: :string const & geom_id, int fea_struct_ind, std: :string const & ss_id)[source]
openvsp.GetFeaSubSurfIndex(std: :string const & ss_id) int[source]
openvsp.GetFeaPolySparNumPt(std: :string const & pspar_id) int[source]
openvsp.AddFeaPolySparPt(std: :string const & pspar_id) std::string[source]
openvsp.InsertFeaPolySparPt(std: :string const & pspar_id, int index) std::string[source]
openvsp.DelFeaPolySparPt(std: :string const & pspar_id, int index)[source]
openvsp.DelAllFeaPolySparPt(std: :string const & pspar_id)[source]
openvsp.MoveFeaPolySparPt(std: :string const & pspar_id, int index, int reorder_type) int[source]
openvsp.SetFeaPolySparPtName(std: :string const & pspar_id, int index, std: :string const & name)[source]
openvsp.GetFeaPolySparPtName(std: :string const & pspar_id, int index) std::string[source]
openvsp.GetFeaPolySparPtID(std: :string const & pspar_id, int index) std::string[source]
openvsp.GetAllFeaPolySparPtIDVec(std: :string const & pspar_id) StringVector[source]
openvsp.AddFeaTrimPart(std: :string const & trim_id, std: :string const & part_id)[source]
openvsp.DeleteFeaTrimPart(std: :string const & trim_id, int index)[source]
openvsp.GetFeaTrimPartIDVec(std: :string const & trim_id) StringVector[source]
openvsp.AddFeaAssembly() std::string[source]
openvsp.DeleteFeaAssembly(std: :string const & assembly_id)[source]
openvsp.NumFeaAssemblies() int[source]
openvsp.GetFeaAssemblyIDVec() StringVector[source]
openvsp.GetFeaAssemblyName(std: :string const & assembly_id) std::string[source]
openvsp.SetFeaAssemblyName(std: :string const & assembly_id, std: :string const & name)[source]
openvsp.AddFeaStructureToAssembly(std: :string const & assembly_id, std: :string const & struct_id)[source]
openvsp.DeleteFeaStructureFromAssembly(std: :string const & assembly_id, std: :string const & struct_id)[source]
openvsp.AddFeaAssemblyStructure(std: :string const & assembly_id, std: :string const & struct_id)[source]
openvsp.DeleteFeaAssemblyStructure(std: :string const & assembly_id, std: :string const & struct_id)[source]
openvsp.GetFeaAssemblyStructureIDVec(std: :string const & assembly_id) StringVector[source]
openvsp.AddFeaAssemblyConnection(std: :string const & assembly_id, std: :string const & start_fix_pt_id, std: :string const & start_struct_id, int start_index, std: :string const & end_fix_pt_id, std: :string const & end_struct_id, int end_index)[source]
openvsp.DeleteFeaAssemblyConnection(std: :string const & assembly_id, int connection_index)[source]
openvsp.NumFeaAssemblyConnections(std: :string const & assembly_id) int[source]
openvsp.GetFeaAssemblyConnectionID(std: :string const & assembly_id, int connection_index) std::string[source]
openvsp.GetFeaAssemblyFileName(std: :string const & assembly_id, int file_type) std::string[source]
openvsp.SetFeaAssemblyFileName(std: :string const & assembly_id, int file_type, std: :string const & file_name)[source]
openvsp.ComputeFeaAssemblyMesh(std: :string const & assembly_id)[source]
openvsp.NumFeaStructures() int[source]
openvsp.NumFeaParts(std: :string const & fea_struct_id) int[source]
openvsp.NumFeaSubSurfs(std: :string const & fea_struct_id) int[source]
openvsp.AddFeaBC(std: :string const & fea_struct_id, int type=-1) std::string[source]
openvsp.DelFeaBC(std: :string const & fea_struct_id, std: :string const & bc_id)[source]
openvsp.GetFeaBCIDVec(std: :string const & fea_struct_id) StringVector[source]
openvsp.NumFeaBCs(std: :string const & fea_struct_id) int[source]
openvsp.AddFeaLayer(std: :string const & material_id) std::string[source]
openvsp.DeleteFeaLayer(std: :string const & material_id, std: :string const & layer_id)[source]
openvsp.ReorderFeaLayer(std: :string const & material_id, std: :string const & layer_id, int reorder_type)[source]
openvsp.NumFeaLayers(std: :string const & material_id) int[source]
openvsp.GetFeaLayerIDVec(std: :string const & material_id) StringVector[source]
openvsp.GetFeaMaterialIDVec() StringVector[source]
openvsp.DeleteFeaMaterial(std: :string const & id)[source]
openvsp.AddFeaMaterial() std::string[source]
openvsp.GetFeaPropertyIDVec() StringVector[source]
openvsp.DeleteFeaProperty(std: :string const & id)[source]
openvsp.AddFeaProperty(int property_type=0) std::string[source]
openvsp.GetFeaMeshVal(std: :string const & geom_id, int fea_struct_ind, int type) double[source]
openvsp.SetFeaMeshVal(std: :string const & geom_id, int fea_struct_ind, int type, double val)[source]
openvsp.GetFeaMeshFileName(std: :string const & geom_id, int fea_struct_ind, int file_type) std::string[source]
openvsp.SetFeaMeshFileName(std: :string const & geom_id, int fea_struct_ind, int file_type, std: :string const & file_name)[source]
openvsp.ComputeFeaMesh(std: :string const & geom_id, int fea_struct_ind, int file_type)[source]
openvsp.ComputeFeaMesh(std: :string const & struct_id, int file_type)