https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SlopeReconstructionGasMixMaterial.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
22{
23public:
25
27
28protected:
29 virtual void computeQpProperties() override;
30 virtual std::vector<ADReal> computeElementPrimitiveVariables(const Elem * elem) const override;
31
36
37 // piecewise constant conserved variable values
42
43 // piecewise constant conserved variables
49
52
53 // reconstructed variable values
58
61
63 std::vector<MooseVariable *> _U_vars;
64};
const InputParameters & parameters() const
Interface class for 1-D slope reconstruction.
Computes reconstructed solution values for FlowModelGasMix.
const MaterialProperty< RealVectorValue > & _dir
Flow channel direction.
const ADVariableValue & _A_linear
Cross-sectional area, linear.
std::vector< MooseVariable * > _U_vars
Solution variables vector.
const ADVariableValue & _A_avg
Cross-sectional area, piecewise constant.
virtual std::vector< ADReal > computeElementPrimitiveVariables(const Elem *elem) const override
Computes the cell-average primitive variable values for an element.
const VaporMixtureFluidProperties & _fp
fluid properties user object
Base class for fluid properties of vapor mixtures.
VariableValueTempl< true > ADVariableValue