https://mooseframework.inl.gov
SaturationPressureMaterial.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"
13 
15 
19 template <bool is_ad>
21 {
22 public:
24 
26 
27 protected:
28  virtual void computeQpProperties() override;
29 
33  const MaterialPropertyName & _p_sat_name;
36 
39 };
40 
SaturationPressureMaterialTempl< true > ADSaturationPressureMaterial
SaturationPressureMaterialTempl(const InputParameters &parameters)
GenericMaterialProperty< Real, is_ad > & _p_sat
Saturation pressure.
Base class for fluid properties used with two-phase flow.
const TwoPhaseFluidProperties & _fp_2phase
2-phase fluid properties object
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
SaturationPressureMaterialTempl< false > SaturationPressureMaterial
const MaterialPropertyName & _p_sat_name
Saturation pressure material property name.
const InputParameters & parameters() const
const GenericMaterialProperty< Real, is_ad > & _T
Temperature.
Computes saturation pressure at some temperature.