https://mooseframework.inl.gov
RhoFromPTFunctorMaterial.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 "FunctorMaterial.h"
13 
15 
20 {
21 public:
23 
25 
26 protected:
29 
32 
35 
37  const MooseFunctorName _density_name;
38 };
RhoFromPTFunctorMaterial(const InputParameters &parameters)
const SinglePhaseFluidProperties & _fluid
fluid properties user object
const Moose::Functor< ADReal > & _pressure
pressure
const Moose::Functor< ADReal > & _temperature
temperature
static InputParameters validParams()
Computes the density using the fluid properties at a specified location.
Common class for single phase fluid properties.
const MooseFunctorName _density_name
name of the density functor declared
const InputParameters & parameters() const