https://mooseframework.inl.gov
ADVolumeJunction1PhaseUserObject.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
13 
16 
25 {
26 public:
28 
29  virtual void finalize() override;
30 
31 protected:
32  virtual void computeFluxesAndResiduals(const unsigned int & c) override;
33 
42 
44  const Real & _K;
46  const Real & _A_ref;
47 
50 
53 
55  std::vector<const ADNumericalFlux3EqnBase *> _numerical_flux_uo;
56 
57 public:
59 };
const ADVariableValue & _rhoA
rho*A of the connected flow channels
const SinglePhaseFluidProperties & _fp
Single-phase fluid properties user object.
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 &params)
const ADVariableValue & _rhoEA
rho*E*A of the connected flow channels
Common class for single phase fluid properties.
Base class for computing numerical fluxes for FlowModelSinglePhase.
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.
const ADVariableValue & _A
Cross-sectional area of connected flow channels.
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