https://mooseframework.inl.gov
Loading...
Searching...
No Matches
RDG3EqnMaterial.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
12#include "Material.h"
14
16
25{
26public:
28
29protected:
30 virtual void computeQpProperties() override;
31 virtual std::vector<Real> computeElementPrimitiveVariables(const Elem * elem) const override;
32
37
38 // piecewise constant conserved variable values
42
43 // piecewise constant conserved variables
48
51
52 // reconstructed variable values
56
59
61 static const unsigned int _n_slopes = 3;
64 {
67 TEMPERATURE = 2
68 };
69
70public:
72};
const InputParameters & parameters() const
Reconstructed solution values for the 1-D, 1-phase, variable-area Euler equations.
const SinglePhaseFluidProperties & _fp
fluid properties user object
static InputParameters validParams()
MooseVariable * _rhoA_var
const VariableValue & _A_linear
Cross-sectional area, linear.
const VariableValue & _rhoEA_avg
const VariableValue & _A_avg
Cross-sectional area, piecewise constant.
MaterialProperty< Real > & _rhoEA
MaterialProperty< Real > & _rhouA
MooseVariable * _A_var
static const unsigned int _n_slopes
Number of slopes.
const MaterialProperty< RealVectorValue > & _dir
Flow channel direction.
const VariableValue & _rhouA_avg
virtual std::vector< Real > computeElementPrimitiveVariables(const Elem *elem) const override
Computes the cell-average primitive variable values for an element.
SlopeIndex
Indices for slope array.
MooseVariable * _rhoEA_var
MaterialProperty< Real > & _rhoA
virtual void computeQpProperties() override
const VariableValue & _rhoA_avg
MooseVariable * _rhouA_var
Common class for single phase fluid properties.
Interface class for 1-D slope reconstruction.
VariableValueTempl< false > VariableValue