MAST
|
#include <piston_theory_boundary_condition.h>
Public Member Functions | |
PistonTheoryBoundaryCondition (unsigned int order, const RealVectorX &vel_vec) | |
Constructor for the Piston Theory boundary condition object. More... | |
virtual | ~PistonTheoryBoundaryCondition () |
unsigned int | order () const |
const RealVectorX & | vel_vec () const |
std::unique_ptr< MAST::FieldFunction< Real > > | get_pressure_function (const MAST::FieldFunction< Real > &dwdx, const MAST::FieldFunction< Real > &dwdt) const |
std::unique_ptr< MAST::FieldFunction< Real > > | get_dpdx_function (const MAST::FieldFunction< Real > &dwdx, const MAST::FieldFunction< Real > &dwdt) const |
std::unique_ptr< MAST::FieldFunction< Real > > | get_dpdxdot_function (const MAST::FieldFunction< Real > &dwdx, const MAST::FieldFunction< Real > &dwdt) const |
Public Member Functions inherited from MAST::BoundaryConditionBase | |
BoundaryConditionBase (MAST::BoundaryConditionType t) | |
virtual | ~BoundaryConditionBase () |
MAST::BoundaryConditionType | type () const |
Public Member Functions inherited from MAST::FunctionSetBase | |
FunctionSetBase () | |
virtual | ~FunctionSetBase () |
destructor deletes the function pointers More... | |
bool | contains (const std::string &nm) const |
checks if the card contains the specified property value More... | |
void | add (MAST::FunctionBase &f) |
adds the function to this card and returns a reference to it. More... | |
template<typename ValType > | |
const ValType & | get (const std::string &nm) const |
returns a constant reference to the specified function More... | |
template<typename ValType > | |
ValType & | get (const std::string &nm) |
returns a writable reference to the specified function More... | |
virtual bool | depends_on (const MAST::FunctionBase &f) const |
returns true if the property card depends on the function f More... | |
Protected Attributes | |
unsigned int | _order |
Order of the boundary condition. More... | |
RealVectorX | _vel_vec |
Ambient flow velocity vector. More... | |
Protected Attributes inherited from MAST::BoundaryConditionBase | |
MAST::BoundaryConditionType | _bc_type |
Protected Attributes inherited from MAST::FunctionSetBase | |
std::map< std::string, MAST::FunctionBase * > | _properties |
map of the functions in this card More... | |
Definition at line 167 of file piston_theory_boundary_condition.h.
MAST::PistonTheoryBoundaryCondition::PistonTheoryBoundaryCondition | ( | unsigned int | order, |
const RealVectorX & | vel_vec | ||
) |
Constructor for the Piston Theory boundary condition object.
The arguments needed for initialization are order:
order of piston theory, mach:
mach number a_inf:
ambient speed of sound, gamma:
ratio of specific heats at constant pressure and constant volume, rho:
ambient density for calculation of dynamic pressure, vel_vec:
velocity unit vector
Definition at line 499 of file piston_theory_boundary_condition.cpp.
|
virtual |
Definition at line 513 of file piston_theory_boundary_condition.cpp.
std::unique_ptr< MAST::FieldFunction< Real > > MAST::PistonTheoryBoundaryCondition::get_dpdx_function | ( | const MAST::FieldFunction< Real > & | dwdx, |
const MAST::FieldFunction< Real > & | dwdt | ||
) | const |
Definition at line 558 of file piston_theory_boundary_condition.cpp.
std::unique_ptr< MAST::FieldFunction< Real > > MAST::PistonTheoryBoundaryCondition::get_dpdxdot_function | ( | const MAST::FieldFunction< Real > & | dwdx, |
const MAST::FieldFunction< Real > & | dwdt | ||
) | const |
Definition at line 579 of file piston_theory_boundary_condition.cpp.
std::unique_ptr< MAST::FieldFunction< Real > > MAST::PistonTheoryBoundaryCondition::get_pressure_function | ( | const MAST::FieldFunction< Real > & | dwdx, |
const MAST::FieldFunction< Real > & | dwdt | ||
) | const |
Definition at line 537 of file piston_theory_boundary_condition.cpp.
unsigned int MAST::PistonTheoryBoundaryCondition::order | ( | ) | const |
Definition at line 520 of file piston_theory_boundary_condition.cpp.
const RealVectorX & MAST::PistonTheoryBoundaryCondition::vel_vec | ( | ) | const |
Definition at line 527 of file piston_theory_boundary_condition.cpp.
|
protected |
Order of the boundary condition.
Definition at line 231 of file piston_theory_boundary_condition.h.
|
protected |
Ambient flow velocity vector.
Definition at line 237 of file piston_theory_boundary_condition.h.