35 mooseAssert(flow_model_1phase,
"Incompatible flow model");
48 logError(
"Passive transport has not been implemented for this Component type.");
54 const std::string class_name =
"ADBoundaryFlux3EqnBC";
60 params.
set<std::vector<VariableName>>(
"rhoA") = {
THM::RHOA};
61 params.
set<std::vector<VariableName>>(
"rhouA") = {
THM::RHOUA};
62 params.
set<std::vector<VariableName>>(
"rhoEA") = {
THM::RHOEA};
67 for (
const auto & var : flow_model_1phase->solutionVariableNames())
69 params.
set<NonlinearVariableName>(
"variable") = var;
71 class_name,
genName(
name(), var,
"bnd_flux_3eqn_bc"), params);
static InputParameters validParams()
std::string genName(const std::string &prefix, unsigned int id, const std::string &suffix="") const
Build a name from a prefix, number and possible suffix.
static const std::string RHOEA
THMProblem & getTHMProblem() const
Gets the THM problem.
const std::vector< BoundaryName > & getBoundaryNames() const
Gets the boundary names for this component.
Real _normal
Outward normal on this boundary.
static InputParameters validParams()
InputParameters getValidParams(const std::string &name) const
virtual void init() override
Initializes the component.
virtual void addBoundaryCondition(const std::string &bc_name, const std::string &name, InputParameters ¶meters)
void logError(Args &&... args) const
Logs an error.
std::vector< VariableName > _passives_times_area
Passive transport variables on the connected flow channel.
static const std::string AREA_LINEAR
const std::string & name() const
const UserObjectName _boundary_uo_name
Name of boundary user object name.
virtual void check() const override
Check the component integrity.
FlowBoundary1Phase(const InputParameters ¶ms)
std::string _connected_component_name
Name of the connected component.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Base class for boundary components connected to FlowChannel1PhaseBase components. ...
std::shared_ptr< const FlowModel > _flow_model
Flow model.
Factory & _factory
The Factory associated with the MooseApp.
virtual void check() const override
Check the component integrity.
const bool & getImplicitTimeIntegrationFlag()
Gets the flag indicating whether an implicit time integration scheme is being used.
virtual bool supportsPassiveTransport() const
True if the component supports passive transport variables.
Flow model for a single-component, single-phase fluid using the Euler equations.
virtual void init() override
Initializes the component.
static const std::string RHOUA
virtual void addWeakBCs()
Creates the boundary condition objects for 1-phase flow.
static const std::string RHOA