30 #include "grins_config.h"
39 #include "libmesh/utility.h"
40 #include "libmesh/string_to_enum.h"
41 #include "libmesh/getpot.h"
42 #include "libmesh/fem_system.h"
48 const std::string& core_physics_name,
71 system->time_evolving(_temp_vars.T(), 1);
80 context.get_element_fe(_temp_vars.T())->get_JxW();
81 context.get_element_fe(_temp_vars.T())->get_phi();
82 context.get_element_fe(_temp_vars.T())->get_dphi();
83 context.get_element_fe(_temp_vars.T())->get_xyz();
85 context.get_side_fe(_temp_vars.T())->get_JxW();
86 context.get_side_fe(_temp_vars.T())->get_phi();
87 context.get_side_fe(_temp_vars.T())->get_dphi();
88 context.get_side_fe(_temp_vars.T())->get_xyz();
93 (
const std::string & param_name,
98 _k.register_parameter(param_name, param_pointer);
virtual void init_context(AssemblyContext &context)
Initialize context for added physics variables.
Physics abstract base class. Defines API for physics to be added to MultiphysicsSystem.
VelocityVariable & _flow_vars
void check_var_subdomain_consistency(const FEVariablesBase &var) const
Check that var is enabled on at least the subdomains this Physics is.
libMesh::Number _rho
Material parameters, read from input.
static void read_density(const std::string &core_physics_name, const GetPot &input, ParameterUser ¶ms, libMesh::Real &rho)
Helper function to reading density from input.
static void read_specific_heat(const std::string &core_physics_name, const GetPot &input, ParameterUser ¶ms, libMesh::Real &cp)
Helper function to reading scalar specific heat from input.
Helper functions for parsing material properties.
virtual void set_time_evolving_vars(libMesh::FEMSystem *system)
Sets velocity variables to be time-evolving.
PressureFEVariable & _press_var
INSTANTIATE_HEAT_TRANSFER_SUBCLASS(HeatTransferBase)
PrimitiveTempFEVariables & _temp_vars
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.
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.