GRINS-0.6.0
|
#include <reacting_low_mach_navier_stokes_bc_handling.h>
Public Member Functions | |
ReactingLowMachNavierStokesBCHandling (const std::string &physics_name, const GetPot &input, const Chemistry &chem_mixture) | |
virtual | ~ReactingLowMachNavierStokesBCHandling () |
virtual int | string_to_int (const std::string &bc_type_in) const |
virtual void | init_bc_data (const libMesh::FEMSystem &system) |
Override this method to initialize any system-dependent data. More... | |
virtual void | init_bc_types (const GRINS::BoundaryID bc_id, const std::string &bc_id_string, const int bc_type, const std::string &bc_vars, const std::string &bc_value, const GetPot &input) |
virtual void | user_init_dirichlet_bcs (libMesh::FEMSystem *system, libMesh::DofMap &dof_map, GRINS::BoundaryID bc_id, GRINS::BCType bc_type) const |
virtual void | init_dirichlet_bcs (libMesh::FEMSystem *system) const |
virtual void | user_apply_neumann_bcs (AssemblyContext &context, const GRINS::CachedValues &cache, const bool request_jacobian, const GRINS::BoundaryID bc_id, const GRINS::BCType bc_type) const |
void | set_species_bc_type (GRINS::BoundaryID bc_id, int bc_type) |
void | set_species_bc_values (GRINS::BoundaryID bc_id, const std::vector< libMesh::Real > &species_values) |
libMesh::Real | get_species_bc_value (GRINS::BoundaryID bc_id, unsigned int species) const |
CatalyticWallBase< Chemistry > * | get_catalytic_wall (const BoundaryID bc_id) |
void | set_temp_bc_type (GRINS::BoundaryID bc_id, int bc_type) |
void | set_temp_bc_value (GRINS::BoundaryID bc_id, libMesh::Real value) |
libMesh::Real | get_temp_bc_value (GRINS::BoundaryID bc_id) const |
void | attach_neumann_bound_func (GRINS::NBCContainer &neumann_bcs) |
void | attach_dirichlet_bound_func (const GRINS::DBCContainer &dirichlet_bc) |
virtual void | read_bc_data (const GetPot &input, const std::string &id_str, const std::string &bc_str, const std::string &var_str, const std::string &val_str) |
virtual void | apply_neumann_bcs (AssemblyContext &context, const GRINS::CachedValues &cache, const bool request_jacobian, const GRINS::BoundaryID bc_id) const |
virtual void | init_dirichlet_bc_func_objs (libMesh::FEMSystem *system) const |
virtual void | init_periodic_bcs (libMesh::FEMSystem *system) const |
void | set_dirichlet_bc_type (GRINS::BoundaryID bc_id, int bc_type) |
void | set_neumann_bc_type (GRINS::BoundaryID bc_id, int bc_type) |
void | set_dirichlet_bc_value (GRINS::BoundaryID bc_id, libMesh::Real value, int component=0) |
void | set_neumann_bc_value (GRINS::BoundaryID bc_id, const libMesh::Point &q_in) |
libMesh::Real | get_dirichlet_bc_value (GRINS::BoundaryID bc_id, int component=0) const |
const libMesh::Point & | get_neumann_bc_value (GRINS::BoundaryID bc_id) const |
std::tr1::shared_ptr< GRINS::NeumannFuncObj > | get_neumann_bound_func (GRINS::BoundaryID bc_id, GRINS::VariableIndex var_id) const |
std::tr1::shared_ptr< GRINS::NeumannFuncObj > | get_neumann_bound_func (GRINS::BoundaryID bc_id, GRINS::VariableIndex var_id) |
GRINS::BCType | get_dirichlet_bc_type (const GRINS::BoundaryID bc_id) const |
bool | is_axisymmetric () const |
Protected Types | |
enum | BC_BASE { PERIODIC = -5, CONSTANT_DIRICHLET, PARSED_DIRICHLET, PARSED_FEM_DIRICHLET, AXISYMMETRIC } |
Protected Member Functions | |
void | build_catalycities (const GetPot &input, const std::string &reactant, const std::string &bc_id_string, const BoundaryID bc_id, boost::scoped_ptr< CatalycityBase > &gamma_r) |
Protected Attributes | |
std::map< GRINS::BoundaryID, std::vector< libMesh::Real > > | _species_bc_values |
std::vector< std::pair< BoundaryID, BCType > > | _species_bc_map |
unsigned int | _n_species |
std::vector< std::string > | _species_var_names |
std::vector< GRINS::VariableIndex > | _species_vars |
std::multimap< BoundaryID, std::tr1::shared_ptr< CatalyticWallBase< Chemistry > > > | _catalytic_walls |
const Chemistry & | _chemistry |
std::string | _u_var_name |
std::string | _v_var_name |
std::string | _w_var_name |
std::string | _T_var_name |
GRINS::VariableIndex | _T_var |
std::map< GRINS::BoundaryID, libMesh::Real > | _T_values |
std::vector< std::pair< BoundaryID, BCType > > | _temp_bc_map |
std::vector< std::pair< BoundaryID, BCType > > | _dirichlet_bc_map |
Map between boundary id and Dirichlet boundary condition type. More... | |
std::map< GRINS::BoundaryID, GRINS::BCType > | _neumann_bc_map |
Map between boundary id and Neumann boundary condition type. More... | |
std::map< GRINS::BoundaryID, libMesh::Point > | _dirichlet_values |
Stash prescribed Dirichlet boundary values. More... | |
std::map< GRINS::BoundaryID, libMesh::Point > | _q_values |
Stash prescribed boundary fluxes. More... | |
std::map< GRINS::BoundaryID, GRINS::NBCContainer > | _neumann_bound_funcs |
std::vector< GRINS::DBCContainer > | _dirichlet_bound_funcs |
GRINS::BoundaryConditions | _bound_conds |
Object that stashes generic boundary condition types. More... | |
std::vector< GRINS::PBCContainer > | _periodic_bcs |
unsigned int | _num_periodic_bcs |
std::string | _physics_name |
Static Protected Attributes | |
static bool | _axisymmetric = false |
Flag to cache whether or not there is an axisymmetric boundary present. More... | |
Private Types | |
enum | RLMNS_BC_TYPES { ZERO_SPECIES_FLUX =20, PRESCRIBED_SPECIES, PRESCRIBED_MOLE_FRACTIONS, GAS_RECOMBINATION_CATALYTIC_WALL, GAS_SOLID_CATALYTIC_WALL, GENERAL_SPECIES } |
Private Member Functions | |
ReactingLowMachNavierStokesBCHandling () | |
Definition at line 38 of file reacting_low_mach_navier_stokes_bc_handling.h.
|
protectedinherited |
Enumerator | |
---|---|
PERIODIC | |
CONSTANT_DIRICHLET | |
PARSED_DIRICHLET | |
PARSED_FEM_DIRICHLET | |
AXISYMMETRIC |
Definition at line 163 of file bc_handling_base.h.
|
private |
Enumerator | |
---|---|
ZERO_SPECIES_FLUX | |
PRESCRIBED_SPECIES | |
PRESCRIBED_MOLE_FRACTIONS | |
GAS_RECOMBINATION_CATALYTIC_WALL | |
GAS_SOLID_CATALYTIC_WALL | |
GENERAL_SPECIES |
Definition at line 107 of file reacting_low_mach_navier_stokes_bc_handling.h.
GRINS::ReactingLowMachNavierStokesBCHandling< Chemistry >::ReactingLowMachNavierStokesBCHandling | ( | const std::string & | physics_name, |
const GetPot & | input, | ||
const Chemistry & | chem_mixture | ||
) |
Definition at line 49 of file reacting_low_mach_navier_stokes_bc_handling.C.
References GRINS::ReactingLowMachNavierStokesBCHandling< Chemistry >::_n_species, GRINS::BCHandlingBase::_physics_name, GRINS::ReactingLowMachNavierStokesBCHandling< Chemistry >::_species_var_names, and GRINS::BCHandlingBase::read_bc_data().
|
virtual |
Definition at line 77 of file reacting_low_mach_navier_stokes_bc_handling.C.
|
private |
|
virtualinherited |
Definition at line 234 of file bc_handling_base.C.
References GRINS::BCHandlingBase::_neumann_bc_map, and GRINS::BCHandlingBase::user_apply_neumann_bcs().
|
inherited |
Definition at line 67 of file bc_handling_base.C.
References GRINS::BCHandlingBase::_dirichlet_bound_funcs.
Referenced by GRINS::Physics::attach_dirichlet_bound_func(), GRINS::LowMachNavierStokesBCHandling::init_bc_types(), GRINS::IncompressibleNavierStokesBCHandling::init_bc_types(), and GRINS::BCHandlingBase::init_bc_types().
|
inherited |
Definition at line 61 of file bc_handling_base.C.
References GRINS::BCHandlingBase::_neumann_bound_funcs, and GRINS::NBCContainer::get_bc_id().
Referenced by GRINS::Physics::attach_neumann_bound_func().
|
protected |
Definition at line 578 of file reacting_low_mach_navier_stokes_bc_handling.C.
CatalyticWallBase< Chemistry > * GRINS::ReactingLowMachNavierStokesBCHandling< Chemistry >::get_catalytic_wall | ( | const BoundaryID | bc_id | ) |
Definition at line 675 of file reacting_low_mach_navier_stokes_bc_handling.C.
|
inlineinherited |
Definition at line 207 of file bc_handling_base.h.
References GRINS::BCHandlingBase::_dirichlet_bc_map.
|
inherited |
Definition at line 273 of file bc_handling_base.C.
Referenced by GRINS::HeatTransferBCHandling::user_init_dirichlet_bcs(), GRINS::LowMachNavierStokesBCHandling::user_init_dirichlet_bcs(), GRINS::IncompressibleNavierStokesBCHandling::user_init_dirichlet_bcs(), GRINS::SolidMechanicsBCHandling::user_init_dirichlet_bcs(), and GRINS::AxisymmetricHeatTransferBCHandling::user_init_dirichlet_bcs().
|
inlineinherited |
Definition at line 185 of file bc_handling_base.h.
References GRINS::BCHandlingBase::_q_values.
Referenced by GRINS::AxisymmetricHeatTransferBCHandling::user_apply_neumann_bcs(), GRINS::HeatTransferBCHandling::user_apply_neumann_bcs(), and GRINS::SolidMechanicsBCHandling::user_apply_neumann_bcs().
|
inlineinherited |
Definition at line 192 of file bc_handling_base.h.
References GRINS::BCHandlingBase::_neumann_bound_funcs.
Referenced by GRINS::AxisymmetricHeatTransferBCHandling::user_apply_neumann_bcs(), and GRINS::HeatTransferBCHandling::user_apply_neumann_bcs().
|
inlineinherited |
Definition at line 200 of file bc_handling_base.h.
References GRINS::BCHandlingBase::_neumann_bound_funcs.
libMesh::Real GRINS::ReactingLowMachNavierStokesBCHandling< Chemistry >::get_species_bc_value | ( | GRINS::BoundaryID | bc_id, |
unsigned int | species | ||
) | const |
Definition at line 498 of file reacting_low_mach_navier_stokes_bc_handling.C.
|
inherited |
Definition at line 489 of file low_mach_navier_stokes_bc_handling.C.
References GRINS::LowMachNavierStokesBCHandling::_T_values.
Referenced by GRINS::LowMachNavierStokesBCHandling::user_init_dirichlet_bcs().
|
virtual |
Override this method to initialize any system-dependent data.
Override this method to, for example, cache a System variable number. This is called before any of the other init methods in this class. By default, does nothing.
Reimplemented from GRINS::LowMachNavierStokesBCHandling.
Definition at line 398 of file reacting_low_mach_navier_stokes_bc_handling.C.
References GRINS::LowMachNavierStokesBCHandling::init_bc_data().
|
virtual |
Reimplemented from GRINS::LowMachNavierStokesBCHandling.
Definition at line 120 of file reacting_low_mach_navier_stokes_bc_handling.C.
References GRINS::LowMachNavierStokesBCHandling::init_bc_types(), and GRINS::StringUtilities::split_string().
|
virtualinherited |
Definition at line 116 of file bc_handling_base.C.
References GRINS::BCHandlingBase::_dirichlet_bound_funcs.
Referenced by GRINS::Physics::init_bcs().
|
virtual |
Reimplemented from GRINS::LowMachNavierStokesBCHandling.
Definition at line 505 of file reacting_low_mach_navier_stokes_bc_handling.C.
References GRINS::LowMachNavierStokesBCHandling::init_dirichlet_bcs().
|
virtualinherited |
Definition at line 203 of file bc_handling_base.C.
References GRINS::BCHandlingBase::_num_periodic_bcs, and GRINS::BCHandlingBase::_periodic_bcs.
Referenced by GRINS::Physics::init_bcs().
|
inlineinherited |
Definition at line 179 of file bc_handling_base.h.
References GRINS::BCHandlingBase::_axisymmetric.
Referenced by GRINS::HeatTransfer< Conductivity >::HeatTransfer(), GRINS::IncompressibleNavierStokes< Viscosity >::IncompressibleNavierStokes(), GRINS::ReactingLowMachNavierStokes< Mixture, Evaluator >::ReactingLowMachNavierStokes(), and GRINS::HeatTransferBCHandling::user_apply_neumann_bcs().
|
virtualinherited |
Definition at line 73 of file bc_handling_base.C.
References GRINS::BCHandlingBase::init_bc_types(), and GRINS::BCHandlingBase::string_to_int().
Referenced by GRINS::AxisymmetricHeatTransferBCHandling::AxisymmetricHeatTransferBCHandling(), GRINS::HeatTransferBCHandling::HeatTransferBCHandling(), GRINS::IncompressibleNavierStokesBCHandling::IncompressibleNavierStokesBCHandling(), GRINS::LowMachNavierStokesBCHandling::LowMachNavierStokesBCHandling(), GRINS::ReactingLowMachNavierStokesBCHandling< Chemistry >::ReactingLowMachNavierStokesBCHandling(), GRINS::SolidMechanicsBCHandling::SolidMechanicsBCHandling(), and GRINS::SpalartAllmarasBCHandling::SpalartAllmarasBCHandling().
|
inherited |
Definition at line 252 of file bc_handling_base.C.
References GRINS::BCHandlingBase::_dirichlet_bc_map.
Referenced by GRINS::AxisymmetricHeatTransferBCHandling::init_bc_types(), GRINS::HeatTransferBCHandling::init_bc_types(), GRINS::SpalartAllmarasBCHandling::init_bc_types(), GRINS::LowMachNavierStokesBCHandling::init_bc_types(), GRINS::SolidMechanicsBCHandling::init_bc_types(), and GRINS::IncompressibleNavierStokesBCHandling::init_bc_types().
|
inherited |
Definition at line 264 of file bc_handling_base.C.
References GRINS::BCHandlingBase::_dirichlet_values.
Referenced by GRINS::AxisymmetricHeatTransferBCHandling::init_bc_types(), GRINS::HeatTransferBCHandling::init_bc_types(), GRINS::LowMachNavierStokesBCHandling::init_bc_types(), GRINS::IncompressibleNavierStokesBCHandling::init_bc_types(), and GRINS::SolidMechanicsBCHandling::init_bc_types().
|
inherited |
Definition at line 258 of file bc_handling_base.C.
References GRINS::BCHandlingBase::_neumann_bc_map.
Referenced by GRINS::AxisymmetricHeatTransferBCHandling::init_bc_types(), GRINS::HeatTransferBCHandling::init_bc_types(), GRINS::LowMachNavierStokesBCHandling::init_bc_types(), and GRINS::SolidMechanicsBCHandling::init_bc_types().
|
inherited |
Definition at line 278 of file bc_handling_base.C.
References GRINS::BCHandlingBase::_q_values.
Referenced by GRINS::AxisymmetricHeatTransferBCHandling::init_bc_types(), GRINS::HeatTransferBCHandling::init_bc_types(), GRINS::LowMachNavierStokesBCHandling::init_bc_types(), and GRINS::SolidMechanicsBCHandling::init_bc_types().
void GRINS::ReactingLowMachNavierStokesBCHandling< Chemistry >::set_species_bc_type | ( | GRINS::BoundaryID | bc_id, |
int | bc_type | ||
) |
Definition at line 483 of file reacting_low_mach_navier_stokes_bc_handling.C.
void GRINS::ReactingLowMachNavierStokesBCHandling< Chemistry >::set_species_bc_values | ( | GRINS::BoundaryID | bc_id, |
const std::vector< libMesh::Real > & | species_values | ||
) |
Definition at line 490 of file reacting_low_mach_navier_stokes_bc_handling.C.
|
inherited |
Definition at line 476 of file low_mach_navier_stokes_bc_handling.C.
References GRINS::LowMachNavierStokesBCHandling::_temp_bc_map.
Referenced by GRINS::LowMachNavierStokesBCHandling::init_bc_types().
|
inherited |
Definition at line 482 of file low_mach_navier_stokes_bc_handling.C.
References GRINS::LowMachNavierStokesBCHandling::_T_values.
Referenced by GRINS::LowMachNavierStokesBCHandling::init_bc_types().
|
virtual |
Reimplemented from GRINS::LowMachNavierStokesBCHandling.
Definition at line 83 of file reacting_low_mach_navier_stokes_bc_handling.C.
References GRINS::LowMachNavierStokesBCHandling::string_to_int().
|
virtual |
Reimplemented from GRINS::BCHandlingBase.
Definition at line 522 of file reacting_low_mach_navier_stokes_bc_handling.C.
|
virtual |
Reimplemented from GRINS::LowMachNavierStokesBCHandling.
Definition at line 439 of file reacting_low_mach_navier_stokes_bc_handling.C.
References GRINS::LowMachNavierStokesBCHandling::user_init_dirichlet_bcs().
|
staticprotectedinherited |
Flag to cache whether or not there is an axisymmetric boundary present.
Definition at line 170 of file bc_handling_base.h.
Referenced by GRINS::BCHandlingBase::is_axisymmetric(), and GRINS::BCHandlingBase::string_to_int().
|
protectedinherited |
Object that stashes generic boundary condition types.
Definition at line 156 of file bc_handling_base.h.
Referenced by GRINS::AxisymmetricHeatTransferBCHandling::user_apply_neumann_bcs(), GRINS::HeatTransferBCHandling::user_apply_neumann_bcs(), and GRINS::SolidMechanicsBCHandling::user_apply_neumann_bcs().
|
protected |
Definition at line 98 of file reacting_low_mach_navier_stokes_bc_handling.h.
|
protected |
Definition at line 100 of file reacting_low_mach_navier_stokes_bc_handling.h.
|
protectedinherited |
Map between boundary id and Dirichlet boundary condition type.
We need to keep this around because the libMesh::DirichletBoundary objects can't be created until we init the variables. We use a vector of pairs so that the boundary condition functors get added to the libMesh::DofMap in the same order as in the input file.
Definition at line 137 of file bc_handling_base.h.
Referenced by GRINS::BCHandlingBase::get_dirichlet_bc_type(), GRINS::LowMachNavierStokesBCHandling::init_dirichlet_bcs(), GRINS::BCHandlingBase::init_dirichlet_bcs(), and GRINS::BCHandlingBase::set_dirichlet_bc_type().
|
protectedinherited |
Definition at line 151 of file bc_handling_base.h.
Referenced by GRINS::BCHandlingBase::attach_dirichlet_bound_func(), and GRINS::BCHandlingBase::init_dirichlet_bc_func_objs().
|
protectedinherited |
Stash prescribed Dirichlet boundary values.
Definition at line 143 of file bc_handling_base.h.
Referenced by GRINS::BCHandlingBase::set_dirichlet_bc_value().
|
protected |
Definition at line 94 of file reacting_low_mach_navier_stokes_bc_handling.h.
Referenced by GRINS::ReactingLowMachNavierStokesBCHandling< Chemistry >::ReactingLowMachNavierStokesBCHandling().
|
protectedinherited |
Map between boundary id and Neumann boundary condition type.
Definition at line 140 of file bc_handling_base.h.
Referenced by GRINS::BCHandlingBase::apply_neumann_bcs(), and GRINS::BCHandlingBase::set_neumann_bc_type().
|
protectedinherited |
Definition at line 149 of file bc_handling_base.h.
Referenced by GRINS::BCHandlingBase::attach_neumann_bound_func(), and GRINS::BCHandlingBase::get_neumann_bound_func().
|
protectedinherited |
Definition at line 159 of file bc_handling_base.h.
Referenced by GRINS::BCHandlingBase::init_bc_types(), and GRINS::BCHandlingBase::init_periodic_bcs().
|
protectedinherited |
Definition at line 158 of file bc_handling_base.h.
Referenced by GRINS::BCHandlingBase::init_bc_types(), and GRINS::BCHandlingBase::init_periodic_bcs().
|
protectedinherited |
Definition at line 161 of file bc_handling_base.h.
Referenced by GRINS::AxisymmetricHeatTransferBCHandling::AxisymmetricHeatTransferBCHandling(), GRINS::HeatTransferBCHandling::HeatTransferBCHandling(), GRINS::IncompressibleNavierStokesBCHandling::IncompressibleNavierStokesBCHandling(), GRINS::AxisymmetricHeatTransferBCHandling::init_bc_types(), GRINS::HeatTransferBCHandling::init_bc_types(), GRINS::LowMachNavierStokesBCHandling::init_bc_types(), GRINS::IncompressibleNavierStokesBCHandling::init_bc_types(), GRINS::SolidMechanicsBCHandling::init_bc_types(), GRINS::BCHandlingBase::init_bc_types(), GRINS::LowMachNavierStokesBCHandling::LowMachNavierStokesBCHandling(), GRINS::ReactingLowMachNavierStokesBCHandling< Chemistry >::ReactingLowMachNavierStokesBCHandling(), GRINS::SolidMechanicsBCHandling::SolidMechanicsBCHandling(), GRINS::SpalartAllmarasBCHandling::SpalartAllmarasBCHandling(), GRINS::AxisymmetricHeatTransferBCHandling::string_to_int(), GRINS::BCHandlingBase::string_to_int(), GRINS::AxisymmetricHeatTransferBCHandling::user_apply_neumann_bcs(), GRINS::HeatTransferBCHandling::user_apply_neumann_bcs(), GRINS::SolidMechanicsBCHandling::user_apply_neumann_bcs(), GRINS::HeatTransferBCHandling::user_init_dirichlet_bcs(), and GRINS::AxisymmetricHeatTransferBCHandling::user_init_dirichlet_bcs().
|
protectedinherited |
Stash prescribed boundary fluxes.
Definition at line 146 of file bc_handling_base.h.
Referenced by GRINS::BCHandlingBase::get_neumann_bc_value(), and GRINS::BCHandlingBase::set_neumann_bc_value().
|
protected |
Definition at line 92 of file reacting_low_mach_navier_stokes_bc_handling.h.
|
protected |
Definition at line 89 of file reacting_low_mach_navier_stokes_bc_handling.h.
|
protected |
Definition at line 95 of file reacting_low_mach_navier_stokes_bc_handling.h.
Referenced by GRINS::ReactingLowMachNavierStokesBCHandling< Chemistry >::ReactingLowMachNavierStokesBCHandling().
|
protected |
Definition at line 96 of file reacting_low_mach_navier_stokes_bc_handling.h.
|
protectedinherited |
Definition at line 70 of file low_mach_navier_stokes_bc_handling.h.
Referenced by GRINS::LowMachNavierStokesBCHandling::get_temp_bc_value(), and GRINS::LowMachNavierStokesBCHandling::set_temp_bc_value().
|
protectedinherited |
Definition at line 67 of file low_mach_navier_stokes_bc_handling.h.
Referenced by GRINS::LowMachNavierStokesBCHandling::init_bc_data().
|
protectedinherited |
Definition at line 65 of file low_mach_navier_stokes_bc_handling.h.
Referenced by GRINS::LowMachNavierStokesBCHandling::init_bc_data(), and GRINS::LowMachNavierStokesBCHandling::user_init_dirichlet_bcs().
|
protectedinherited |
Definition at line 73 of file low_mach_navier_stokes_bc_handling.h.
Referenced by GRINS::LowMachNavierStokesBCHandling::init_dirichlet_bcs(), and GRINS::LowMachNavierStokesBCHandling::set_temp_bc_type().
|
protectedinherited |
Definition at line 65 of file low_mach_navier_stokes_bc_handling.h.
Referenced by GRINS::LowMachNavierStokesBCHandling::user_init_dirichlet_bcs().
|
protectedinherited |
Definition at line 65 of file low_mach_navier_stokes_bc_handling.h.
Referenced by GRINS::LowMachNavierStokesBCHandling::user_init_dirichlet_bcs().
|
protectedinherited |
Definition at line 65 of file low_mach_navier_stokes_bc_handling.h.
Referenced by GRINS::LowMachNavierStokesBCHandling::user_init_dirichlet_bcs().