30 #include "libmesh/const_function.h"
31 #include "libmesh/dirichlet_boundaries.h"
32 #include "libmesh/dof_map.h"
33 #include "libmesh/fem_system.h"
45 std::string var_str =
"Physics/"+
_physics_name+
"/bc_variables";
48 this->
read_bc_data( input, id_str, bc_str, var_str, val_str );
62 if( bc_type ==
"general_viscosity" )
83 const std::string& bc_id_string,
85 const std::string& bc_vars,
86 const std::string& bc_value,
101 bc_vars, bc_value, input );
120 std::cerr <<
"Invalid BCType " << bc_type << std::endl;
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)
libMesh::boundary_id_type BoundaryID
More descriptive name of the type used for boundary ids.
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_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 int string_to_int(const std::string &bc_type_in) const
virtual void init(libMesh::FEMSystem *system)
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.
Base class for reading and handling boundary conditions for physics classes.
SpalartAllmarasBCHandling()
TurbulenceVariables _turb_vars
virtual ~SpalartAllmarasBCHandling()
void set_dirichlet_bc_type(GRINS::BoundaryID bc_id, int bc_type)
std::string _physics_name
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)