GRINS-0.8.0
|
#include <inc_navier_stokes_stab_helper.h>
Public Member Functions | |
IncompressibleNavierStokesStabilizationHelper (const std::string &helper_name, const GetPot &input) | |
~IncompressibleNavierStokesStabilizationHelper () | |
libMesh::Real | compute_tau_continuity (libMesh::Real tau_C, libMesh::RealGradient &g) const |
void | compute_tau_continuity_and_derivs (libMesh::Real tau_M, libMesh::Real d_tau_M_d_rho, libMesh::Gradient d_tau_M_d_U, libMesh::RealGradient &g, libMesh::Real &tau_C, libMesh::Real &d_tau_C_d_rho, libMesh::Gradient &d_tau_C_d_U) const |
libMesh::Real | compute_tau_momentum (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_momentum_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_continuity (AssemblyContext &context, unsigned int qp) const |
void | compute_res_continuity_and_derivs (AssemblyContext &context, unsigned int qp, libMesh::Real &res_C, libMesh::Tensor &d_res_C_dgradU) const |
libMesh::RealGradient | compute_res_momentum_steady (AssemblyContext &context, unsigned int qp, const libMesh::Real rho, const libMesh::Real mu) const |
void | compute_res_momentum_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::RealGradient | compute_res_momentum_transient (AssemblyContext &context, unsigned int qp, const libMesh::Real rho) const |
void | compute_res_momentum_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 | UdotGradU (libMesh::Gradient &U, libMesh::Gradient &grad_u) const |
libMesh::RealGradient | UdotGradU (libMesh::Gradient &U, libMesh::Gradient &grad_u, libMesh::Gradient &grad_v) const |
libMesh::RealGradient | UdotGradU (libMesh::Gradient &U, libMesh::Gradient &grad_u, libMesh::Gradient &grad_v, libMesh::Gradient &grad_w) const |
libMesh::RealGradient | div_GradU (libMesh::RealTensor &hess_u) const |
libMesh::RealGradient | div_GradU (libMesh::RealTensor &hess_u, libMesh::RealTensor &hess_v) const |
libMesh::RealGradient | div_GradU_axi (libMesh::Real r, const libMesh::Gradient &U, const libMesh::Gradient &grad_u, const libMesh::Gradient &grad_v, const libMesh::RealTensor &hess_u, const libMesh::RealTensor &hess_v) const |
libMesh::RealGradient | div_GradU (libMesh::RealTensor &hess_u, libMesh::RealTensor &hess_v, libMesh::RealTensor &hess_w) const |
libMesh::RealGradient | div_GradU_T (libMesh::RealTensor &hess_u) const |
libMesh::RealGradient | div_GradU_T (libMesh::RealTensor &hess_u, libMesh::RealTensor &hess_v) const |
libMesh::RealGradient | div_GradU_T_axi (libMesh::Real r, const libMesh::Gradient &U, const libMesh::Gradient &grad_u, const libMesh::RealTensor &hess_u, const libMesh::RealTensor &hess_v) const |
libMesh::RealGradient | div_GradU_T (libMesh::RealTensor &hess_u, libMesh::RealTensor &hess_v, libMesh::RealTensor &hess_w) const |
libMesh::RealGradient | div_divU_I (libMesh::RealTensor &hess_u) const |
libMesh::RealGradient | div_divU_I (libMesh::RealTensor &hess_u, libMesh::RealTensor &hess_v) const |
libMesh::RealGradient | div_divU_I_axi (libMesh::Real r, const libMesh::Gradient &U, const libMesh::Gradient &grad_u, const libMesh::RealTensor &hess_u, const libMesh::RealTensor &hess_v) const |
libMesh::RealGradient | div_divU_I (libMesh::RealTensor &hess_u, libMesh::RealTensor &hess_v, libMesh::RealTensor &hess_w) const |
Public Member Functions inherited from GRINS::StabilizationHelper | |
StabilizationHelper (const std::string &helper_name) | |
~StabilizationHelper () | |
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 |
Public Member Functions inherited from GRINS::ParameterUser | |
ParameterUser (const std::string &user_name) | |
virtual | ~ParameterUser () |
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 | set_parameter (libMesh::ParsedFunction< libMesh::Number, libMesh::Gradient > &func, const GetPot &input, const std::string &func_param_name, const std::string ¶m_default) |
Each subclass can simultaneously read a parsed function from. More... | |
virtual void | set_parameter (libMesh::ParsedFEMFunction< libMesh::Number > &func, const GetPot &input, const std::string &func_param_name, const std::string ¶m_default) |
Each subclass can simultaneously read a parsed function from. More... | |
virtual void | move_parameter (const libMesh::Number &old_parameter, libMesh::Number &new_parameter) |
When cloning an object, we need to update parameter pointers. More... | |
virtual void | move_parameter (const libMesh::ParsedFunction< libMesh::Number, libMesh::Gradient > &old_func, libMesh::ParsedFunction< libMesh::Number, libMesh::Gradient > &new_func) |
When cloning an object, we need to update parameter pointers. More... | |
virtual void | move_parameter (const libMesh::ParsedFEMFunction< libMesh::Number > &old_func, libMesh::ParsedFEMFunction< libMesh::Number > &new_func) |
When cloning an object, we need to update parameter pointers. More... | |
virtual void | register_parameter (const std::string ¶m_name, libMesh::ParameterMultiAccessor< libMesh::Number > ¶m_pointer) const |
Each subclass will register its copy of an independent. More... | |
Protected Attributes | |
libMesh::Real | _C |
libMesh::Real | _tau_factor |
const VelocityVariable & | _flow_vars |
const PressureFEVariable & | _press_var |
Additional Inherited Members | |
Static Public Attributes inherited from GRINS::ParameterUser | |
static std::string | zero_vector_function = std::string("{0}") |
A parseable function string with LIBMESH_DIM components, all 0. More... | |
Definition at line 41 of file inc_navier_stokes_stab_helper.h.
GRINS::IncompressibleNavierStokesStabilizationHelper::IncompressibleNavierStokesStabilizationHelper | ( | const std::string & | helper_name, |
const GetPot & | input | ||
) |
Definition at line 45 of file inc_navier_stokes_stab_helper.C.
GRINS::IncompressibleNavierStokesStabilizationHelper::~IncompressibleNavierStokesStabilizationHelper | ( | ) |
Definition at line 70 of file inc_navier_stokes_stab_helper.C.
libMesh::Real GRINS::IncompressibleNavierStokesStabilizationHelper::compute_res_continuity | ( | AssemblyContext & | context, |
unsigned int | qp | ||
) | const |
Definition at line 190 of file inc_navier_stokes_stab_helper.C.
References _flow_vars, GRINS::MultcomponentVectorVariable::dim(), GRINS::MultcomponentVectorVariable::u(), GRINS::MultcomponentVectorVariable::v(), and GRINS::MultcomponentVectorVariable::w().
void GRINS::IncompressibleNavierStokesStabilizationHelper::compute_res_continuity_and_derivs | ( | AssemblyContext & | context, |
unsigned int | qp, | ||
libMesh::Real & | res_C, | ||
libMesh::Tensor & | d_res_C_dgradU | ||
) | const |
Definition at line 213 of file inc_navier_stokes_stab_helper.C.
libMesh::RealGradient GRINS::IncompressibleNavierStokesStabilizationHelper::compute_res_momentum_steady | ( | AssemblyContext & | context, |
unsigned int | qp, | ||
const libMesh::Real | rho, | ||
const libMesh::Real | mu | ||
) | const |
Definition at line 241 of file inc_navier_stokes_stab_helper.C.
References _flow_vars, _press_var, GRINS::MultcomponentVectorVariable::dim(), div_GradU(), GRINS::PressureFEVariable::p(), GRINS::MultcomponentVectorVariable::u(), UdotGradU(), GRINS::MultcomponentVectorVariable::v(), and GRINS::MultcomponentVectorVariable::w().
void GRINS::IncompressibleNavierStokesStabilizationHelper::compute_res_momentum_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 289 of file inc_navier_stokes_stab_helper.C.
libMesh::RealGradient GRINS::IncompressibleNavierStokesStabilizationHelper::compute_res_momentum_transient | ( | AssemblyContext & | context, |
unsigned int | qp, | ||
const libMesh::Real | rho | ||
) | const |
Definition at line 369 of file inc_navier_stokes_stab_helper.C.
References _flow_vars, GRINS::MultcomponentVectorVariable::dim(), and GRINS::MultcomponentVectorVariable::u().
void GRINS::IncompressibleNavierStokesStabilizationHelper::compute_res_momentum_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 383 of file inc_navier_stokes_stab_helper.C.
|
inline |
Definition at line 259 of file inc_navier_stokes_stab_helper.h.
References _C, and _tau_factor.
Referenced by GRINS::LowMachNavierStokesStabilizationHelper::compute_tau_energy(), compute_tau_momentum(), and GRINS::ReactingLowMachNavierStokesStabilizationHelper::compute_tau_species().
|
inline |
Definition at line 279 of file inc_navier_stokes_stab_helper.h.
|
inline |
Definition at line 202 of file inc_navier_stokes_stab_helper.h.
References _tau_factor.
|
inline |
Definition at line 210 of file inc_navier_stokes_stab_helper.h.
|
inline |
Definition at line 226 of file inc_navier_stokes_stab_helper.h.
References compute_tau().
|
inline |
Definition at line 240 of file inc_navier_stokes_stab_helper.h.
libMesh::RealGradient GRINS::IncompressibleNavierStokesStabilizationHelper::div_divU_I | ( | libMesh::RealTensor & | hess_u | ) | const |
Definition at line 159 of file inc_navier_stokes_stab_helper.C.
libMesh::RealGradient GRINS::IncompressibleNavierStokesStabilizationHelper::div_divU_I | ( | libMesh::RealTensor & | hess_u, |
libMesh::RealTensor & | hess_v | ||
) | const |
Definition at line 164 of file inc_navier_stokes_stab_helper.C.
libMesh::RealGradient GRINS::IncompressibleNavierStokesStabilizationHelper::div_divU_I | ( | libMesh::RealTensor & | hess_u, |
libMesh::RealTensor & | hess_v, | ||
libMesh::RealTensor & | hess_w | ||
) | const |
Definition at line 181 of file inc_navier_stokes_stab_helper.C.
libMesh::RealGradient GRINS::IncompressibleNavierStokesStabilizationHelper::div_divU_I_axi | ( | libMesh::Real | r, |
const libMesh::Gradient & | U, | ||
const libMesh::Gradient & | grad_u, | ||
const libMesh::RealTensor & | hess_u, | ||
const libMesh::RealTensor & | hess_v | ||
) | const |
Definition at line 171 of file inc_navier_stokes_stab_helper.C.
libMesh::RealGradient GRINS::IncompressibleNavierStokesStabilizationHelper::div_GradU | ( | libMesh::RealTensor & | hess_u | ) | const |
Definition at line 96 of file inc_navier_stokes_stab_helper.C.
Referenced by compute_res_momentum_steady().
libMesh::RealGradient GRINS::IncompressibleNavierStokesStabilizationHelper::div_GradU | ( | libMesh::RealTensor & | hess_u, |
libMesh::RealTensor & | hess_v | ||
) | const |
Definition at line 101 of file inc_navier_stokes_stab_helper.C.
libMesh::RealGradient GRINS::IncompressibleNavierStokesStabilizationHelper::div_GradU | ( | libMesh::RealTensor & | hess_u, |
libMesh::RealTensor & | hess_v, | ||
libMesh::RealTensor & | hess_w | ||
) | const |
Definition at line 119 of file inc_navier_stokes_stab_helper.C.
libMesh::RealGradient GRINS::IncompressibleNavierStokesStabilizationHelper::div_GradU_axi | ( | libMesh::Real | r, |
const libMesh::Gradient & | U, | ||
const libMesh::Gradient & | grad_u, | ||
const libMesh::Gradient & | grad_v, | ||
const libMesh::RealTensor & | hess_u, | ||
const libMesh::RealTensor & | hess_v | ||
) | const |
Definition at line 108 of file inc_navier_stokes_stab_helper.C.
libMesh::RealGradient GRINS::IncompressibleNavierStokesStabilizationHelper::div_GradU_T | ( | libMesh::RealTensor & | hess_u | ) | const |
Definition at line 128 of file inc_navier_stokes_stab_helper.C.
libMesh::RealGradient GRINS::IncompressibleNavierStokesStabilizationHelper::div_GradU_T | ( | libMesh::RealTensor & | hess_u, |
libMesh::RealTensor & | hess_v | ||
) | const |
Definition at line 133 of file inc_navier_stokes_stab_helper.C.
libMesh::RealGradient GRINS::IncompressibleNavierStokesStabilizationHelper::div_GradU_T | ( | libMesh::RealTensor & | hess_u, |
libMesh::RealTensor & | hess_v, | ||
libMesh::RealTensor & | hess_w | ||
) | const |
Definition at line 150 of file inc_navier_stokes_stab_helper.C.
libMesh::RealGradient GRINS::IncompressibleNavierStokesStabilizationHelper::div_GradU_T_axi | ( | libMesh::Real | r, |
const libMesh::Gradient & | U, | ||
const libMesh::Gradient & | grad_u, | ||
const libMesh::RealTensor & | hess_u, | ||
const libMesh::RealTensor & | hess_v | ||
) | const |
Definition at line 140 of file inc_navier_stokes_stab_helper.C.
libMesh::RealGradient GRINS::IncompressibleNavierStokesStabilizationHelper::UdotGradU | ( | libMesh::Gradient & | U, |
libMesh::Gradient & | grad_u | ||
) | const |
Definition at line 75 of file inc_navier_stokes_stab_helper.C.
Referenced by compute_res_momentum_steady().
libMesh::RealGradient GRINS::IncompressibleNavierStokesStabilizationHelper::UdotGradU | ( | libMesh::Gradient & | U, |
libMesh::Gradient & | grad_u, | ||
libMesh::Gradient & | grad_v | ||
) | const |
Definition at line 81 of file inc_navier_stokes_stab_helper.C.
libMesh::RealGradient GRINS::IncompressibleNavierStokesStabilizationHelper::UdotGradU | ( | libMesh::Gradient & | U, |
libMesh::Gradient & | grad_u, | ||
libMesh::Gradient & | grad_v, | ||
libMesh::Gradient & | grad_w | ||
) | const |
Definition at line 88 of file inc_navier_stokes_stab_helper.C.
|
protected |
Definition at line 192 of file inc_navier_stokes_stab_helper.h.
Referenced by compute_tau().
|
protected |
Definition at line 194 of file inc_navier_stokes_stab_helper.h.
Referenced by compute_res_continuity(), compute_res_momentum_steady(), and compute_res_momentum_transient().
|
protected |
Definition at line 195 of file inc_navier_stokes_stab_helper.h.
Referenced by compute_res_momentum_steady().
|
protected |
Definition at line 192 of file inc_navier_stokes_stab_helper.h.
Referenced by compute_tau(), and compute_tau_continuity().