https://mooseframework.inl.gov
FluidPropertiesMaterialPT.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 
19 {
20 public:
22 
25 
26 protected:
27  virtual void computeQpProperties();
28 
47 
49  const bool _compute_s;
51  const bool _compute_c;
52 
57 
60 };
MaterialProperty< Real > & _cp
Isobaric specific heat capacity (J/kg/K)
const VariableValue & _pressure
Pressure (Pa)
MaterialProperty< Real > & _h
Specific enthalpy (J/kg)
const VariableValue & _temperature
Temperature (K)
const bool _compute_c
Whether to compute the speed of sound.
MaterialProperty< Real > & _e
Internal energy (J/kg)
Common class for single phase fluid properties.
MaterialProperty< Real > & _k
Thermal conductivity (W/m/K)
FluidPropertiesMaterialPT(const InputParameters &parameters)
const bool _compute_s
Whether to compute entropy.
MaterialProperty< Real > *const _s
Specific entropy (J/kg/K)
const SinglePhaseFluidProperties & _fp
Fluid properties UserObject.
OutputTools< Real >::VariableValue VariableValue
static InputParameters validParams()
Computes fluid properties using (pressure, temperature) formulation.
MaterialProperty< Real > *const _c
Speed of sound (m/s)
const InputParameters & parameters() const
MaterialProperty< Real > & _mu
Viscosity (Pa.s)
MaterialProperty< Real > & _rho
Density (kg/m^3)
MaterialProperty< Real > & _cv
Isochoric specific heat capacity (J/kg/K)