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, ...)

GetCFDMeshVal(int type)

SetCFDMeshVal(int type, double val)

GetCFDWakeFlag(std)

SetCFDWakeFlag(std, bool flag)

SetCFDFarFieldGeomID(std)

GetCFDFarFieldGeomID()

GetNumCFDSources(std)

GetCFDSourceName(std, int source_index)

SetCFDSourceName(std, int source_index, std)

GetCFDSourceType(std, int source_index)

DeleteCFDSource(std, int source_index)

DeleteAllCFDSources()

GetCFDSourceID(std, int source_index)

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.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.SetCFDSourceName(std: :string const & geom_id, int source_index, std: :string const & name)[source]
openvsp.GetCFDSourceType(std: :string const & geom_id, int source_index) int[source]
openvsp.DeleteCFDSource(std: :string const & geom_id, int source_index)[source]
openvsp.DeleteAllCFDSources()[source]
openvsp.GetCFDSourceID(std: :string const & geom_id, int source_index) std::string[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)[source]