26 #ifndef GRINS_SPALART_ALLMARAS_VISCOSITY_H
27 #define GRINS_SPALART_ALLMARAS_VISCOSITY_H
34 #include "libmesh/libmesh_common.h"
35 #include "libmesh/point.h"
47 class AssemblyContext;
48 class TurbulenceFEVariables;
50 template<
class Viscosity>
64 libMesh::Real
operator()(
const libMesh::Point& p,
const libMesh::Real time=0 )
65 {
return _mu(p,time); }
70 (
const std::string & param_name,
92 #endif // GRINS_SPALART_ALLMARAS_VISCOSITY_H
libMesh::Real operator()(AssemblyContext &context, unsigned int qp) const
~SpalartAllmarasViscosity()
TurbulenceFEVariables & _turbulence_vars
ParameterUser base class. Utility methods for subclasses.
SpalartAllmarasViscosity()
libMesh::Real operator()(const libMesh::Point &p, const libMesh::Real time=0)
Viscosity _mu
Viscosity object (so we have access to the physical viscosity)
SpalartAllmarasParameters _sa_params
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.
Encapsulate Spalart-Allmaras model parameters.