32 const std::vector<ADReal> & Ui,
34 std::vector<ADReal>
computeResidual(
const std::vector<ADReal> & flux_3d,
35 const std::vector<ADReal> & Ui,
37 bool is_primary_connection)
const;
const ADVariableValue & _rhoA
rho*A of the connected flow channels
std::vector< ADReal > computeResidual(const std::vector< ADReal > &flux_3d, const std::vector< ADReal > &Ui, const RealVectorValue &ni, bool is_primary_connection) const
static InputParameters validParams()
const SinglePhaseFluidProperties & _fp
Single-phase fluid properties user object.
virtual std::vector< const MooseVariableBase * > getFlowChannelVariables() const override
Gets the flow channel variables.
virtual void computeFluxesAndResiduals(const unsigned int &c) override
Computes and stores the fluxes, the scalar residuals, and their Jacobians.
std::vector< const ADNumericalFlux3EqnBase * > _numerical_flux_uo
Vector of numerical flux user objects for each connected flow channel.
ADVolumeJunction1PhaseUserObject(const InputParameters ¶ms)
const Real & _A_ref
Reference area.
const ADVariableValue & _rhoEA
rho*E*A of the connected flow channels
Common class for single phase fluid properties.
std::vector< ADReal > compute3DFlux(const ADNumericalFlux3EqnBase &numerical_flux, const std::vector< ADReal > &Ui, const RealVectorValue &ni) const
Base class for computing numerical fluxes for FlowModelSinglePhase.
VariableValueTempl< true > ADVariableValue
Base class for computing and caching flux and residual vectors for a volume junction.
Computes and caches flux and residual vectors for a 1-phase volume junction.
const Real & _K
Form loss coefficient.
virtual void finalize() override
const ADVariableValue & _A
Cross-sectional area of connected flow channels.
virtual std::vector< const MooseVariableBase * > getJunctionVariables() const override
Gets the junction variables.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const bool _apply_velocity_scaling
Apply velocity scaling?
const ADVariableValue & _rhouA
rho*u*A of the connected flow channels