https://mooseframework.inl.gov
PorousFlowMultiComponentFluid.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 
15 
21 template <bool is_ad>
23 {
24 public:
26 
28 
29 protected:
30  virtual void initQpStatefulProperties() override;
31  virtual void computeQpProperties() override;
32 
35 
38 
41 
44 
47 
49  const bool _is_X_nodal;
50 
53 
55 };
56 
const bool _is_X_nodal
Flag for nodal mass fraction.
MaterialProperty< Real > *const _dviscosity_dX
Derivative of fluid phase viscosity wrt mass fraction at the nodes or qps.
Base class for fluid properties materials.
PorousFlowMultiComponentFluidTempl(const InputParameters &parameters)
Moose::GenericType< VariableValue, is_ad > GenericVariableValue
const GenericVariableValue< is_ad > & _X
Mass fraction variable.
MaterialProperty< Real > *const _dinternal_energy_dX
Derivative of fluid internal_energy wrt mass fraction at the qps or nodes.
Common class for multiple component fluid properties using a pressure and temperature formulation...
PorousFlowMultiComponentFluidTempl< false > PorousFlowMultiComponentFluid
const MultiComponentFluidProperties & _fp
Multicomponent fluid properties UserObject.
General multicomponent fluid material.
PorousFlowMultiComponentFluidTempl< true > ADPorousFlowMultiComponentFluid
MaterialProperty< Real > *const _ddensity_dX
Derivative of fluid density wrt mass fraction at the qps or nodes.
MaterialProperty< Real > *const _denthalpy_dX
Derivative of fluid enthalpy wrt mass fraction at the qps or nodes.