Variable Naming Conventions¶
While it is possible to set up the same OpenMDAO multiphysics problem with different sets of variable names, it is preferable for codes solving the same physics to use the same variable names to be more easily interchangeable. This table provides the required names for coupling variables associated with a particular physics in MPhys.
Variable |
Associated Solver |
MPhys tag |
Variable description |
---|---|---|---|
|
Aerodynamic |
mphys_coordinates |
Aerodynamic surface coordinates (jig shape) |
|
Aerodynamic |
mphys_coupling |
Aerodynamic surface coordinates (deformed) |
|
Aerodynamic |
mphys_coupling |
Aerodynamic surface displacements |
|
Aerodynamic |
mphys_coupling |
Aerodynamic surface forces |
|
Aerodynamic |
mphys_coupling |
Temperature for convective solver at interface |
|
Aerodynamic |
mphys_coupling |
Convective heat flow at interface |
|
Structural |
mphys_coordinates |
Structural coordinates (jig shape) |
|
Structural |
mphys_coupling |
Structural state vector (displacements) |
|
Structural |
mphys_coupling |
Structural forces |
|
Thermal |
mphys_coupling |
Temperature at interface (structural side) |
|
Thermal |
mphys_coupling |
Conductive heat flow at interface (structural side) |
To make swapping solvers easier, it is also helpful to share noncoupling variable names if possible:
Variable |
Associated Solver |
MPhys tag |
Variable description |
---|---|---|---|
|
Aerodynamic |
mphys_input |
Angle of attack (please include units=’deg’ or ‘rad’ when declared) |
|
Aerodynamic |
mphys_input |
Yaw angle (please include units=’deg’ or ‘rad’ when declared) |
|
Aerodynamic |
mphys_input |
Reference Mach number |
|
Aerodynamic |
mphys_input |
Reference Reynolds number |
|
Aerodynamic |
mphys_input |
Dynamic pressure |