7 #ifndef cf3_UFEM_NavierStokes_hpp
8 #define cf3_UFEM_NavierStokes_hpp
10 #include <boost/accumulators/accumulators.hpp>
11 #include <boost/accumulators/statistics/stats.hpp>
12 #include <boost/accumulators/statistics/max.hpp>
14 #define BOOST_PROTO_MAX_ARITY 11
15 #ifdef BOOST_MPL_LIMIT_METAFUNCTION_ARITY
16 #undef BOOST_MPL_LIMIT_METAFUNCTION_ARITY
18 #define BOOST_MPL_LIMIT_METAFUNCTION_ARITY 11
20 #include <boost/scoped_ptr.hpp>
29 namespace solver {
class ActionDirector; }
45 static std::string
type_name () {
return "NavierStokes"; }
49 void trigger_assembly();
56 template<
typename GenericElementsT,
typename SpecializedElementsT>
57 void set_assembly_expression(
const std::string& action_name);
60 void set_triag_assembly(
const bool use_specialization);
61 void set_quad_assembly();
62 void set_tetra_assembly(
const bool use_specialization);
63 void set_hexa_assembly();
64 void set_prism_assembly();
109 #endif // cf3_UFEM_NavierStokes_hpp
Handle< solver::ActionDirector > m_assembly
std::string name(ComponentWrapper &self)
Safe pointer to an object. This is the supported method for referring to components.
FieldVariable< 8, VectorField > g
FieldVariable< 3, VectorField > u1
Velocity at time n-1.
PhysicsConstant rho
Access to the physics.
static std::string type_name()
Get the class name.
FieldVariable< 4, VectorField > u2
Velocity at time n-2.
Refers to a value from the physical model.
InitialConditions for UFEM problems.
solver for the unsteady incompressible Navier-Stokes equations
Top-level namespace for coolfluid.
FieldVariable< 5, VectorField > u3
Velocity at time n-3.
FieldVariable< 7, ScalarField > T
Temperature field.
FieldVariable< 2, VectorField > u_adv
The linearized advection velocity.
FieldVariable< 1, ScalarField > p
The pressure solution field.
Convenience type for a compute_tau operation, grouping the stored operator and its proto counterpart...
FieldVariable< 0, VectorField > u
The velocity solution field.
FieldVariable< 6, ScalarField > nu_eff
Effective viscosity field.
Handle< common::Action > m_initial_conditions
Handle< solver::ActionDirector > m_update