37 const std::string class_name =
"ADJunctionParallelChannels1PhaseUserObject";
39 params.
set<
bool>(
"use_scalar_variables") =
false;
42 params.
set<std::vector<Real>>(
"normals") =
_normals;
46 params.
set<std::string>(
"component_name") =
name();
60 params.
set<
bool>(
"apply_velocity_scaling") = getParam<bool>(
"apply_velocity_scaling");
registerMooseObject("ThermalHydraulicsApp", JunctionParallelChannels1Phase)
const VariableName _rhoV_var_name
rho*V variable name for junction
const std::vector< processor_id_type > & getConnectedProcessorIDs()
Gets the processor IDs of the connected 1D components.
static InputParameters validParams()
static const std::string AREA
THMProblem & getTHMProblem() const
Gets the THM problem.
const VariableName _rhovV_var_name
rho*v*V variable name for junction
InputParameters getValidParams(const std::string &name) const
const VariableName _rhowV_var_name
rho*w*V variable name for junction
Junction between 1-phase flow channels that are parallel.
JunctionParallelChannels1Phase(const InputParameters ¶ms)
std::vector< BoundaryName > _boundary_names
Boundary names of connected components.
virtual const std::string & name() const
ExecFlagEnum getDefaultExecFlagEnum()
static const std::string RHOUA
std::vector< UserObjectName > _numerical_flux_names
static const std::string RHOA
const Real _volume
Volume of the junction.
const ExecFlagType EXEC_LINEAR
Junction between 1-phase flow channels that has a non-zero volume.
static InputParameters validParams()
const Real & _A_ref
Reference area.
const ExecFlagType EXEC_NONLINEAR
const std::string _junction_uo_name
Name of junction user object name, if any.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Factory & _factory
The Factory associated with the MooseApp.
void connectObject(const InputParameters ¶ms, const std::string &mooseName, const std::string &name) const
Connect with control logic.
UserObjectName _fp_name
Fluid property user object name.
virtual std::vector< std::shared_ptr< UserObject > > addUserObject(const std::string &user_object_name, const std::string &name, InputParameters ¶meters)
const Real & _K
Form loss coefficient.
static const std::string RHOEA
const VariableName _rhouV_var_name
rho*u*V variable name for junction
std::vector< Real > _normals
Outward normals associated with connected components.
std::vector< RealVectorValue > _directions
Directions of connected components.
const VariableName _rhoEV_var_name
rho*E*V variable name for junction
subdomain_id_type _junction_subdomain_id
Junction subdomain ID.
virtual void buildVolumeJunctionUserObject() override
Builds user object for computing and storing the fluxes.
const ExecFlagType EXEC_INITIAL