22 params.
addRequiredParam<UserObjectName>(
"numerical_flux",
"Name of numerical flux user object");
30 _A1(adCoupledValue(
"A_linear")),
31 _A2(adCoupledNeighborValue(
"A_linear")),
32 _rhoA1(getADMaterialProperty<
Real>(
"rhoA")),
33 _rhouA1(getADMaterialProperty<
Real>(
"rhouA")),
34 _rhoEA1(getADMaterialProperty<
Real>(
"rhoEA")),
35 _rhoA2(getNeighborADMaterialProperty<
Real>(
"rhoA")),
36 _rhouA2(getNeighborADMaterialProperty<
Real>(
"rhouA")),
37 _rhoEA2(getNeighborADMaterialProperty<
Real>(
"rhoEA")),
58 const unsigned int _qp = 0;
65 const std::vector<ADReal> & flux_elem_ad =
67 const std::vector<ADReal> & flux_neig_ad =
71 std::vector<Real> flux(flux_elem_ad.size());
const unsigned int & _current_side
const ADMaterialProperty< Real > & _rhoA1
Reconstructed rho*A values in current element.
virtual void initialize()
const ADMaterialProperty< Real > & _rhouA2
Reconstructed rho*u*A values in neighbor element.
virtual void finalize() override
virtual void execute() override
static InputParameters validParams()
const std::vector< double > y
virtual const std::vector< ADReal > & getFlux(const unsigned int iside, const dof_id_type ielem, bool res_side_is_left, const std::vector< ADReal > &UL_1d, const std::vector< ADReal > &UR_1d, Real nLR_dot_d) const
Gets the 1D flux vector for an element/side combination.
static InputParameters validParams()
virtual void threadJoin(const UserObject &y) override
const ADMaterialProperty< Real > & _rhoEA2
Reconstructed rho*E*A values in neighbor element.
void setupVariables(const std::vector< std::string > &variable_names)
virtual void initialize() override
const ADNumericalFlux3EqnBase & _numerical_flux
Numerical flux user object.
virtual void threadJoin(const SamplerBase &y)
const ADMaterialProperty< Real > & _rhoEA1
Reconstructed rho*E*A values in current element.
const ADVariableValue & _A1
Area in current element.
Base class for computing numerical fluxes for FlowModelSinglePhase.
const Elem *const & _current_elem
const ADMaterialProperty< Real > & _rhouA1
Reconstructed rho*u*A values in current element.
Computes internal fluxes for FlowChannel1Phase.
static const unsigned int N_FLUX_OUTPUTS
Number of numerical flux function outputs for 1D.
static InputParameters validParams()
virtual void addSample(const Point &p, const Real &id, const std::vector< Real > &values)
const ADMaterialProperty< Real > & _rhoA2
Reconstructed rho*A values in neighbor element.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MooseArray< Point > & _q_point
const ADVariableValue & _A2
Area in neighbor element.
auto index_range(const T &sizable)
registerMooseObject("ThermalHydraulicsApp", NumericalFlux3EqnInternalValues)
NumericalFlux3EqnInternalValues(const InputParameters ¶meters)