GRINS-0.6.0
|
#include <spalart_allmaras_stab_helper.h>
Public Member Functions | |
SpalartAllmarasStabilizationHelper (const std::string &helper_name, const GetPot &input) | |
~SpalartAllmarasStabilizationHelper () | |
void | init (libMesh::FEMSystem &system) |
libMesh::Real | compute_tau_spalart (AssemblyContext &c, unsigned int qp, libMesh::RealGradient &g, libMesh::RealTensor &G, libMesh::Real rho, libMesh::Gradient U, libMesh::Real mu, bool is_steady) const |
void | compute_tau_spalart_and_derivs (AssemblyContext &c, unsigned int qp, libMesh::RealGradient &g, libMesh::RealTensor &G, libMesh::Real rho, libMesh::Gradient U, libMesh::Real T, libMesh::Real &tau_M, libMesh::Real &d_tau_M_d_rho, libMesh::Gradient &d_tau_M_d_U, bool is_steady) const |
libMesh::Real | compute_tau (AssemblyContext &c, unsigned int qp, libMesh::Real mat_prop_sq, libMesh::RealGradient &g, libMesh::RealTensor &G, libMesh::Real rho, libMesh::Gradient U, bool is_steady) const |
void | compute_tau_and_derivs (AssemblyContext &c, unsigned int qp, libMesh::Real mat_prop_sq, libMesh::RealGradient &g, libMesh::RealTensor &G, libMesh::Real rho, libMesh::Gradient U, libMesh::Real &tau, libMesh::Real &d_tau_d_rho, libMesh::Gradient &d_tau_d_U, bool is_steady) const |
libMesh::Real | compute_res_spalart_steady (AssemblyContext &context, unsigned int qp, const libMesh::Real rho, const libMesh::Real mu, const libMesh::Real distance_qp) const |
void | compute_res_spalart_steady_and_derivs (AssemblyContext &context, unsigned int qp, const libMesh::Real rho, const libMesh::Real mu, libMesh::Gradient &res_M, libMesh::Tensor &d_res_M_dgradp, libMesh::Tensor &d_res_M_dU, libMesh::Gradient &d_res_Muvw_dgraduvw, libMesh::Tensor &d_res_Muvw_dhessuvw) const |
libMesh::Real | compute_res_spalart_transient (AssemblyContext &context, unsigned int qp, const libMesh::Real rho) const |
void | compute_res_spalart_transient_and_derivs (AssemblyContext &context, unsigned int qp, const libMesh::Real rho, libMesh::RealGradient &res_M, libMesh::Real &d_res_Muvw_duvw) const |
libMesh::RealGradient | compute_g (libMesh::FEBase *fe, AssemblyContext &c, unsigned int qp) const |
libMesh::RealTensor | compute_G (libMesh::FEBase *fe, AssemblyContext &c, unsigned int qp) const |
virtual void | set_parameter (libMesh::Number ¶m_variable, const GetPot &input, const std::string ¶m_name, libMesh::Number param_default) |
Each subclass can simultaneously read a parameter value from. More... | |
virtual void | register_parameter (const std::string ¶m_name, libMesh::ParameterMultiPointer< libMesh::Number > ¶m_pointer) const |
Each subclass will register its copy of an independent. More... | |
Protected Attributes | |
unsigned int | _dim |
Physical dimension of problem. More... | |
libMesh::Real | _C |
libMesh::Real | _tau_factor |
PrimitiveFlowVariables | _flow_vars |
TurbulenceVariables | _turbulence_vars |
SpalartAllmarasHelper | _spalart_allmaras_helper |
SpalartAllmarasParameters | _sa_params |
Definition at line 44 of file spalart_allmaras_stab_helper.h.
GRINS::SpalartAllmarasStabilizationHelper::SpalartAllmarasStabilizationHelper | ( | const std::string & | helper_name, |
const GetPot & | input | ||
) |
Definition at line 37 of file spalart_allmaras_stab_helper.C.
GRINS::SpalartAllmarasStabilizationHelper::~SpalartAllmarasStabilizationHelper | ( | ) |
Definition at line 50 of file spalart_allmaras_stab_helper.C.
|
inherited |
|
inherited |
libMesh::Real GRINS::SpalartAllmarasStabilizationHelper::compute_res_spalart_steady | ( | AssemblyContext & | context, |
unsigned int | qp, | ||
const libMesh::Real | rho, | ||
const libMesh::Real | mu, | ||
const libMesh::Real | distance_qp | ||
) | const |
Definition at line 68 of file spalart_allmaras_stab_helper.C.
References _dim, _flow_vars, _sa_params, _spalart_allmaras_helper, _turbulence_vars, GRINS::SpalartAllmarasParameters::destruction_fn(), GRINS::SpalartAllmarasParameters::get_cb1(), GRINS::SpalartAllmarasParameters::get_cb2(), GRINS::SpalartAllmarasParameters::get_cw1(), GRINS::SpalartAllmarasParameters::get_sigma(), GRINS::TurbulenceVariables::nu_var(), GRINS::SpalartAllmarasParameters::source_fn(), GRINS::PrimitiveFlowVariables::u_var(), GRINS::PrimitiveFlowVariables::v_var(), GRINS::SpalartAllmarasHelper::vorticity(), and GRINS::PrimitiveFlowVariables::w_var().
void GRINS::SpalartAllmarasStabilizationHelper::compute_res_spalart_steady_and_derivs | ( | AssemblyContext & | context, |
unsigned int | qp, | ||
const libMesh::Real | rho, | ||
const libMesh::Real | mu, | ||
libMesh::Gradient & | res_M, | ||
libMesh::Tensor & | d_res_M_dgradp, | ||
libMesh::Tensor & | d_res_M_dU, | ||
libMesh::Gradient & | d_res_Muvw_dgraduvw, | ||
libMesh::Tensor & | d_res_Muvw_dhessuvw | ||
) | const |
Definition at line 108 of file spalart_allmaras_stab_helper.C.
libMesh::Real GRINS::SpalartAllmarasStabilizationHelper::compute_res_spalart_transient | ( | AssemblyContext & | context, |
unsigned int | qp, | ||
const libMesh::Real | rho | ||
) | const |
Definition at line 122 of file spalart_allmaras_stab_helper.C.
References _turbulence_vars, and GRINS::TurbulenceVariables::nu_var().
void GRINS::SpalartAllmarasStabilizationHelper::compute_res_spalart_transient_and_derivs | ( | AssemblyContext & | context, |
unsigned int | qp, | ||
const libMesh::Real | rho, | ||
libMesh::RealGradient & | res_M, | ||
libMesh::Real & | d_res_Muvw_duvw | ||
) | const |
Definition at line 131 of file spalart_allmaras_stab_helper.C.
|
inline |
Definition at line 180 of file spalart_allmaras_stab_helper.h.
References _C, and _tau_factor.
Referenced by compute_tau_spalart().
|
inline |
Definition at line 200 of file spalart_allmaras_stab_helper.h.
|
inline |
Definition at line 147 of file spalart_allmaras_stab_helper.h.
References compute_tau().
|
inline |
Definition at line 161 of file spalart_allmaras_stab_helper.h.
void GRINS::SpalartAllmarasStabilizationHelper::init | ( | libMesh::FEMSystem & | system | ) |
Definition at line 55 of file spalart_allmaras_stab_helper.C.
References _dim, _flow_vars, _spalart_allmaras_helper, _turbulence_vars, GRINS::TurbulenceVariables::init(), GRINS::PrimitiveFlowVariables::init(), and GRINS::SpalartAllmarasHelper::init_variables().
|
virtualinherited |
Each subclass will register its copy of an independent.
Reimplemented in GRINS::AxisymmetricHeatTransfer< Conductivity >, GRINS::LowMachNavierStokesBase< Viscosity, SpecificHeat, ThermalConductivity >, GRINS::IncompressibleNavierStokesBase< Viscosity >, GRINS::BoussinesqBuoyancySPGSMStabilization< Viscosity >, GRINS::HeatConduction< Conductivity >, GRINS::HeatTransferBase< Conductivity >, and GRINS::BoussinesqBuoyancyAdjointStabilization< Viscosity >.
Definition at line 50 of file parameter_user.C.
Referenced by GRINS::BoussinesqBuoyancyAdjointStabilization< Viscosity >::register_parameter(), GRINS::HeatTransferBase< Conductivity >::register_parameter(), GRINS::HeatConduction< Conductivity >::register_parameter(), GRINS::BoussinesqBuoyancySPGSMStabilization< Viscosity >::register_parameter(), GRINS::IncompressibleNavierStokesBase< Viscosity >::register_parameter(), GRINS::LowMachNavierStokesBase< Viscosity, SpecificHeat, ThermalConductivity >::register_parameter(), and GRINS::AxisymmetricHeatTransfer< Conductivity >::register_parameter().
|
virtualinherited |
Each subclass can simultaneously read a parameter value from.
Definition at line 35 of file parameter_user.C.
References GRINS::ParameterUser::_my_name, and GRINS::ParameterUser::_my_parameters.
Referenced by GRINS::AveragedFanAdjointStabilization< Viscosity >::AveragedFanAdjointStabilization(), GRINS::AveragedTurbineAdjointStabilization< Viscosity >::AveragedTurbineAdjointStabilization(), GRINS::BoussinesqBuoyancyAdjointStabilization< Viscosity >::BoussinesqBuoyancyAdjointStabilization(), GRINS::BoussinesqBuoyancyBase::BoussinesqBuoyancyBase(), GRINS::BoussinesqBuoyancySPGSMStabilization< Viscosity >::BoussinesqBuoyancySPGSMStabilization(), GRINS::ConstantConductivity::ConstantConductivity(), GRINS::ConstantPrandtlConductivity::ConstantPrandtlConductivity(), GRINS::ConstantSourceFunction::ConstantSourceFunction(), GRINS::ConstantSourceTerm::ConstantSourceTerm(), GRINS::ConstantSpecificHeat::ConstantSpecificHeat(), GRINS::ConstantViscosity::ConstantViscosity(), GRINS::ElasticCable< StressStrainLaw >::ElasticCable(), GRINS::ElasticCableConstantGravity::ElasticCableConstantGravity(), GRINS::ElasticMembrane< StressStrainLaw >::ElasticMembrane(), GRINS::ElasticMembraneConstantPressure::ElasticMembraneConstantPressure(), GRINS::HeatConduction< Conductivity >::HeatConduction(), GRINS::HeatTransferBase< Conductivity >::HeatTransferBase(), GRINS::IncompressibleNavierStokesBase< Viscosity >::IncompressibleNavierStokesBase(), GRINS::AverageNusseltNumber::init(), GRINS::MooneyRivlin::MooneyRivlin(), GRINS::ReactingLowMachNavierStokesBase< Mixture, Evaluator >::ReactingLowMachNavierStokesBase(), GRINS::HookesLaw1D::read_input_options(), GRINS::HookesLaw::read_input_options(), GRINS::AxisymmetricBoussinesqBuoyancy::read_input_options(), and GRINS::VelocityDragAdjointStabilization< Viscosity >::VelocityDragAdjointStabilization().
|
protected |
Definition at line 132 of file spalart_allmaras_stab_helper.h.
Referenced by compute_tau().
|
protected |
Physical dimension of problem.
Definition at line 130 of file spalart_allmaras_stab_helper.h.
Referenced by compute_res_spalart_steady(), and init().
|
protected |
Definition at line 134 of file spalart_allmaras_stab_helper.h.
Referenced by compute_res_spalart_steady(), and init().
|
protected |
Definition at line 140 of file spalart_allmaras_stab_helper.h.
Referenced by compute_res_spalart_steady().
|
protected |
Definition at line 138 of file spalart_allmaras_stab_helper.h.
Referenced by compute_res_spalart_steady(), and init().
|
protected |
Definition at line 132 of file spalart_allmaras_stab_helper.h.
Referenced by compute_tau().
|
protected |
Definition at line 136 of file spalart_allmaras_stab_helper.h.
Referenced by compute_res_spalart_steady(), compute_res_spalart_transient(), and init().