CFD Mesh Functions

This group of functions is used to setup and run the CFD Mesh tool through the API.

GetComputationFileName(int file_type)

SetComputationFileName(int file_type, std)

ComputeCFDMesh(int set, int degenset, ...)

SetCFDMeshModeID(std)

GetCFDMeshModeID()

SetIntersectModeID(std)

GetIntersectModeID()

GetCFDMeshVal(int type)

SetCFDMeshVal(int type, double val)

GetCFDWakeFlag(std)

SetCFDWakeFlag(std, bool flag)

SetCFDFarFieldGeomID(std)

GetCFDFarFieldGeomID()

GetNumCFDSources(std)

GetCFDSourceName(std, int source_index)

GetCFDSourceNameByID(std)

SetCFDSourceName(std, int source_index, std)

SetCFDSourceNameByID(std, std)

GetCFDSourceType(std, int source_index)

GetCFDSourceTypeByID(std)

DeleteCFDSource(std, int source_index)

DeleteCFDSourceByID(std)

DeleteAllCFDSources()

GetCFDSourceID(std, int source_index)

GetCFDSourceIDVec(std)

AdjustAllCFDSourceLen(double mult)

AdjustAllCFDSourceRad(double mult)

AddDefaultSources()

AddCFDSource(int type, std, int surf_index, ...)

Details

openvsp.GetComputationFileName(int file_type) → std::string[source]
openvsp.SetComputationFileName(int file_type, std: :string const & file_name)[source]
openvsp.ComputeCFDMesh(int set, int degenset, int file_export_types)[source]
openvsp.SetCFDMeshModeID(std: :string const & mode_id)[source]
openvsp.GetCFDMeshModeID() → std::string[source]
openvsp.SetIntersectModeID(std: :string const & mode_id)[source]
openvsp.GetIntersectModeID() → std::string[source]
openvsp.GetCFDMeshVal(int type) → double[source]
openvsp.SetCFDMeshVal(int type, double val)[source]
openvsp.GetCFDWakeFlag(std: :string const & geom_id) → bool[source]
openvsp.SetCFDWakeFlag(std: :string const & geom_id, bool flag)[source]
openvsp.SetCFDFarFieldGeomID(std: :string const & geom_id)[source]
openvsp.GetCFDFarFieldGeomID() → std::string[source]
openvsp.GetNumCFDSources(std: :string const & geom_id) → int[source]
openvsp.GetCFDSourceName(std: :string const & geom_id, int source_index) → std::string[source]
openvsp.GetCFDSourceNameByID(std: :string const & source_id) → std::string[source]
openvsp.SetCFDSourceName(std: :string const & geom_id, int source_index, std: :string const & name)[source]
openvsp.SetCFDSourceNameByID(std: :string const & source_id, std: :string const & name)[source]
openvsp.GetCFDSourceType(std: :string const & geom_id, int source_index) → int[source]
openvsp.GetCFDSourceTypeByID(std: :string const & source_id) → int[source]
openvsp.DeleteCFDSource(std: :string const & geom_id, int source_index)[source]
openvsp.DeleteCFDSourceByID(std: :string const & source_id)[source]
openvsp.DeleteAllCFDSources()[source]
openvsp.GetCFDSourceID(std: :string const & geom_id, int source_index) → std::string[source]
openvsp.GetCFDSourceIDVec(std: :string const & geom_id) → StringVector[source]
openvsp.AdjustAllCFDSourceLen(double mult)[source]
openvsp.AdjustAllCFDSourceRad(double mult)[source]
openvsp.AddDefaultSources()[source]
openvsp.AddCFDSource(int type, std: :string const & 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) → std::string[source]