This group is for functions included in the Analysis Manager. The Analysis Manager allows for OpenVSP analyses to be setup and run through the API without having to modify Parms directly. Examples are available for every available analysis type. The results of running an analysis can be accessed through the functions defined in the Results group. Click here to return to the main page. More...
Functions | |
| void | vsp::SetAeroStructTargetID (const std::string &id) |
| std::string | vsp::GetAeroStructTargetID () |
| int | vsp::GetNumAnalysis () |
| std::vector< std::string > | vsp::ListAnalysis () |
| std::vector< std::string > | vsp::GetAnalysisInputNames (const std::string &analysis) |
| std::string | vsp::GetAnalysisDoc (const std::string &analysis) |
| std::string | vsp::GetAnalysisInputDoc (const std::string &analysis, const std::string &name) |
| std::string | vsp::ExecAnalysis (const std::string &analysis) |
| int | vsp::GetNumAnalysisInputData (const std::string &analysis, const std::string &name) |
| int | vsp::GetAnalysisInputType (const std::string &analysis, const std::string &name) |
| const std::vector< int > & | vsp::GetIntAnalysisInput (const std::string &analysis, const std::string &name, int index=0) |
| const std::vector< double > & | vsp::GetDoubleAnalysisInput (const std::string &analysis, const std::string &name, int index=0) |
| const std::vector< std::string > & | vsp::GetStringAnalysisInput (const std::string &analysis, const std::string &name, int index=0) |
| const std::vector< vec3d > & | vsp::GetVec3dAnalysisInput (const std::string &analysis, const std::string &name, int index=0) |
| void | vsp::SetAnalysisInputDefaults (const std::string &analysis) |
| void | vsp::SetIntAnalysisInput (const std::string &analysis, const std::string &name, const std::vector< int > &indata, int index=0) |
| void | vsp::SetDoubleAnalysisInput (const std::string &analysis, const std::string &name, const std::vector< double > &indata, int index=0) |
| void | vsp::SetStringAnalysisInput (const std::string &analysis, const std::string &name, const std::vector< std::string > &indata, int index=0) |
| void | vsp::SetVec3dAnalysisInput (const std::string &analysis, const std::string &name, const std::vector< vec3d > &indata, int index=0) |
| void | vsp::PrintAnalysisInputs (const std::string &analysis_name) |
| void | vsp::PrintAnalysisDocs (const std::string &analysis_name) |
| std::string | vsp::AddGeometryAnalysis () |
| std::string | vsp::AddGeometryAnalysisAzEl (const std::string &geom_analysis_id, double azimuth, double elevation) |
| void | vsp::DeleteGeometryAnalysisAzEl (const std::string &geom_analysis_id, int index) |
| void | vsp::DeleteGeometryAnalysisAzElByID (const std::string &geom_analysis_id, const std::string &azimuth_parm_id) |
| void | vsp::DeleteAllGeometryAnalysisAzEl (const std::string &geom_analysis_id) |
| int | vsp::GetNumGeometryAnalysisAzEl (const std::string &geom_analysis_id) |
| std::string | vsp::GetGeometryAnalysisAzimuthParm (const std::string &geom_analysis_id, int index) |
| std::string | vsp::GetGeometryAnalysisElevationParm (const std::string &geom_analysis_id, int index) |
| std::vector< std::string > | vsp::GetGeometryAnalysisAzimuthParmVec (const std::string &geom_analysis_id) |
| std::vector< std::string > | vsp::GetGeometryAnalysisElevationParmVec (const std::string &geom_analysis_id) |
| void | vsp::SetGeometryAnalysisPrimaryModeID (const std::string &geom_analysis_id, const std::string &mode_id) |
| std::string | vsp::GetGeometryAnalysisPrimaryModeID (const std::string &geom_analysis_id) |
| void | vsp::SetGeometryAnalysisPrimaryGeomID (const std::string &geom_analysis_id, const std::string &geom_id) |
| std::string | vsp::GetGeometryAnalysisPrimaryGeomID (const std::string &geom_analysis_id) |
| void | vsp::SetGeometryAnalysisSecondaryGeomID (const std::string &geom_analysis_id, const std::string &geom_id) |
| std::string | vsp::GetGeometryAnalysisSecondaryGeomID (const std::string &geom_analysis_id) |
| void | vsp::SetGeometryAnalysisDirectionGeomID (const std::string &geom_analysis_id, const std::string &geom_id) |
| std::string | vsp::GetGeometryAnalysisDirectionGeomID (const std::string &geom_analysis_id) |
| void | vsp::AddGeometryAnalysisCutout (const std::string &geom_analysis_id, const std::string &ss_id) |
| void | vsp::DeleteGeometryAnalysisCutout (const std::string &geom_analysis_id, const std::string &ss_id) |
| std::vector< std::string > | vsp::GetGeometryAnalysisCutoutVec (const std::string &geom_analysis_id) |
| void | vsp::DeleteGeometryAnalysis (const std::string &id) |
| void | vsp::DeleteAllGeometryAnalyses () |
| std::vector< std::string > | vsp::GetAllGeometryAnalysesIDVec () |
| void | vsp::SetActiveGeometryAnalysis (const std::string &id) |
| std::string | vsp::GetActiveGeometryAnalysis () |
| std::string | vsp::MakeMeshGeom (const std::string &ga_id) |
| void | vsp::SetWaveDragRefWingID (const std::string &geom_id) |
| std::string | vsp::GetWaveDragRefWingID () |
| void | vsp::SetWaveDragModeID (const std::string &mode_id) |
| std::string | vsp::GetWaveDragModeID () |
| void | vsp::AddWaveDragFlowSubSurf (const std::string &ss_id) |
| void | vsp::DeleteWaveDragFlowSubSurf (const std::string &ss_id) |
| std::vector< std::string > | vsp::GetWaveDragFlowSubSurfVec () |
|
extern |
Add a new Geometry Analysis case to the Geometry Analysis Manager. The Geometry Analysis Manager allows users to configure and execute geometric analysis tasks typical of the aircraft design process, such as wetted area, projected area, mass properties, clearance, and visibility analyses.
|
extern |
Delete a specific Geometry Analysis case from the Geometry Analysis Manager.
| [in] | id | string ID of the Geometry Analysis case to delete |
Add a discrete azimuth and elevation pair to a Geometry Analysis case. A visibility analysis with the discrete visibility flag set is evaluated at each pair that has been added.
| [in] | geom_analysis_id | string Geometry Analysis case ID |
| [in] | azimuth | double Azimuth angle (degrees, -180 to 180) |
| [in] | elevation | double Elevation angle (degrees, -90 to 90) |
|
extern |
Add a subsurface to the cutouts of a Geometry Analysis.
| [in] | geom_analysis_id | string Geometry Analysis case ID |
| [in] | ss_id | string SubSurface ID |
|
extern |
Add a subsurface to the faces the Wave Drag analysis treats as flow through.
| [in] | ss_id | string SubSurface ID |
|
extern |
Delete all Geometry Analysis cases from the Geometry Analysis Manager.
|
extern |
Delete every azimuth and elevation pair from a Geometry Analysis case
| [in] | geom_analysis_id | string Geometry Analysis case ID |
|
extern |
Delete one geometry analysis case.
| [in] | id | string Geometry analysis case ID |
|
extern |
Delete one azimuth and elevation pair from a Geometry Analysis case
| [in] | geom_analysis_id | string Geometry Analysis case ID |
| [in] | index | int Az/El pair index |
|
extern |
Delete an azimuth/elevation pair from a Geometry Analysis, by the ID of its azimuth Parm.
| [in] | geom_analysis_id | string Geometry Analysis case ID |
| [in] | azimuth_parm_id | string ID of the azimuth Parm of the pair |
|
extern |
Remove a subsurface from the cutouts of a Geometry Analysis.
| [in] | geom_analysis_id | string Geometry Analysis case ID |
| [in] | ss_id | string SubSurface ID |
|
extern |
Remove a subsurface from the faces the Wave Drag analysis treats as flow through.
| [in] | ss_id | string SubSurface ID |
|
extern |
Execute an analysis through the Analysis Manager
| [in] | analysis | string Analysis name |
|
extern |
Get the ID of the active Geometry Analysis case.
|
extern |
Get the FEA Structure or FEA Assembly the aero-structural analysis loads.
|
extern |
Get a vector of all Geometry Analysis case IDs in the Geometry Analysis Manager.
|
extern |
Get the analysis documentation string
| [in] | analysis | string Analysis name |
|
extern |
Get the documentation string for the particular analysis and input
| [in] | analysis | string Analysis name |
| [in] | name | string Input name |
|
extern |
Get the name of every available input for a particular analysis
| [in] | analysis | string Analysis name |
|
extern |
Get the data type for a particulat analysis type and input
| [in] | analysis | string Analysis name |
| [in] | name | string Input name |
|
extern |
Get the current double values for the particular analysis, input, and data index
| [in] | analysis | string Analysis name |
| [in] | name | string Input name |
| [in] | index | int Data index |
|
extern |
Get the Parm ID of the azimuth of one az/el pair, so its value can be read or changed
| [in] | geom_analysis_id | string Geometry Analysis case ID |
| [in] | index | int Az/El pair index |
|
extern |
Get the IDs of the azimuth Parms of a Geometry Analysis, in the order of their indexes.
| [in] | geom_analysis_id | string Geometry Analysis case ID |
|
extern |
Get the subsurface IDs of the cutouts of a Geometry Analysis.
| [in] | geom_analysis_id | string Geometry Analysis case ID |
|
extern |
Get the Geom a Geometry Analysis uses for its direction when that is a Geom.
| [in] | geom_analysis_id | string Geometry Analysis case ID |
|
extern |
Get the Parm ID of the elevation of one az/el pair, so its value can be read or changed
| [in] | geom_analysis_id | string Geometry Analysis case ID |
| [in] | index | int Az/El pair index |
|
extern |
Get the IDs of the elevation Parms of a Geometry Analysis, in the order of GetGeometryAnalysisAzimuthParmVec.
| [in] | geom_analysis_id | string Geometry Analysis case ID |
|
extern |
Get the Geom a Geometry Analysis uses for its primary target when that is a Geom.
| [in] | geom_analysis_id | string Geometry Analysis case ID |
|
extern |
Get the mode a Geometry Analysis uses for its primary target when that target is a mode.
| [in] | geom_analysis_id | string Geometry Analysis case ID |
|
extern |
Get the Geom a Geometry Analysis uses for its secondary target when that is a Geom.
| [in] | geom_analysis_id | string Geometry Analysis case ID |
|
extern |
Get the current integer values for the particular analysis, input, and data index
| [in] | analysis | string Analysis name |
| [in] | name | string Input name |
| [in] | index | int Data index |
|
extern |
Get the number of analysis types available in the Analysis Manager
|
extern |
Get the documentation string for the particular analysis and input
| [in] | analysis | string Analysis name |
| [in] | name | string Input name |
|
extern |
Get the number of azimuth and elevation pairs in a Geometry Analysis case
| [in] | geom_analysis_id | string Geometry Analysis case ID |
|
extern |
Get the current string values for the particular analysis, input, and data index
| [in] | analysis | string Analysis name |
| [in] | name | string Input name |
| [in] | index | int Data index |
|
extern |
Get the current vec3d values for the particular analysis, input, and data index
| [in] | analysis | string Analysis name |
| [in] | name | string Input name |
| [in] | index | int Data index |
|
extern |
Get the IDs of the subsurfaces the Wave Drag analysis treats as flow through, kept with the model. The SSFlow_vec analysis input overrides them for one run.
|
extern |
Get the Wave Drag mode the analysis uses, kept with the model.
|
extern |
Get the Wave Drag reference wing the analysis uses, kept with the model.
|
extern |
Get the name of every available analysis in the Analysis Manager
|
extern |
Create a MeshGeom from the results of the specified Geometry Analysis case and return the new Geom's ID. The case must have been evaluated first (run the "GeometryAnalysis" analysis for the case) so that its result meshes exist. The resulting MeshGeom is added to the model and made the active Geom.
| [in] | ga_id | string Geometry Analysis case ID |
|
extern |
Print to stdout all current input documentation for a specific analysis
| [in] | analysis_name | string Name of analysis |
|
extern |
Print to stdout all current input values for a specific analysis
| [in] | analysis_name | string Name of analysis |
|
extern |
Set the active Geometry Analysis case. The active case is the one drawn in the Geometry Analysis GUI (and captured by ScreenGrab). Setting it does not require the GUI to be present.
| [in] | id | string Geometry Analysis case ID (empty string for none) |
|
extern |
Set the FEA Structure or FEA Assembly the aero-structural analysis loads. The model keeps it as a position in the list of Structures and Assemblies, so deleting an earlier one moves it to the next.
| [in] | id | string FEA Structure or FEA Assembly ID |
|
extern |
Set all input values to their defaults for a specific analysis
| [in] | analysis | string Analysis name |
|
extern |
Set the value of a particular analysis input of double type
| [in] | analysis | string Analysis name |
| [in] | name | string Input name |
| [in] | indata | vector<double> Array of double values to set the input to |
| [in] | index | int Data index |
|
extern |
Set the Geom a Geometry Analysis uses for its direction when that is a Geom, or an empty string for none.
| [in] | geom_analysis_id | string Geometry Analysis case ID |
| [in] | geom_id | string Geom ID, or an empty string |
|
extern |
Set the Geom a Geometry Analysis uses for its primary target when that is a Geom, or an empty string for none.
| [in] | geom_analysis_id | string Geometry Analysis case ID |
| [in] | geom_id | string Geom ID, or an empty string |
|
extern |
Set the mode a Geometry Analysis uses for its primary target when that target is a mode, or an empty string for none.
| [in] | geom_analysis_id | string Geometry Analysis case ID |
| [in] | mode_id | string Mode ID, or an empty string |
|
extern |
Set the Geom a Geometry Analysis uses for its secondary target when that is a Geom, or an empty string for none.
| [in] | geom_analysis_id | string Geometry Analysis case ID |
| [in] | geom_id | string Geom ID, or an empty string |
|
extern |
Set the value of a particular analysis input of integer type
| [in] | analysis | string Analysis name |
| [in] | name | string Input name |
| [in] | indata | vector<int> Array of integer values to set the input to |
| [in] | index | int Data index |
|
extern |
Set the value of a particular analysis input of string type
| [in] | analysis | string Analysis name |
| [in] | name | string Input name |
| [in] | indata | vector<string> Array of string values to set the input to |
| [in] | index | int Data index |
|
extern |
Set the value of a particular analysis input of vec3d type
| [in] | analysis | string Analysis name |
| [in] | name | string Input name |
| [in] | indata | vector<vec3d> Array of vec3d values to set the input to |
| [in] | index | int Data index |
|
extern |
Set the Wave Drag mode the analysis uses when its use-mode flag is on, kept with the model. The ModeID analysis input overrides it for one run. The flag is the "UseMode" Parm, group "WaveDrag", of the "WaveDragSettings" container.
| [in] | mode_id | string Mode ID, or an empty string |
|
extern |
Set the Wave Drag reference wing, kept with the model, and use it for the reference quantities, as SetVSPAERORefWingID does. An empty string goes back to manual reference quantities. The WingID analysis input overrides the wing for one run.
| [in] | geom_id | string Wing Geom ID, or an empty string |