www.mooseframework.org
TwoPhaseAverageDensityAux.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "AuxKernel.h"
13 
16 
25 {
26 public:
28 
30 
31 protected:
32  virtual Real computeValue() override;
33 
35  const VariableValue & _p;
37  const VariableValue & _T;
38 
45 };
virtual Real computeValue() override
TwoPhaseAverageDensityAux(const InputParameters &parameters)
Base class for fluid properties used with two-phase flow.
const VariableValue & _T
Temperature.
const SinglePhaseFluidProperties & _fp_vapor
Vapor 1-phase fluid properties object.
Common class for single phase fluid properties.
static InputParameters validParams()
Computes the average of the densities of the phases corresponding to a 2-phase fluid properties objec...
OutputTools< Real >::VariableValue VariableValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const VariableValue & _p
Pressure.
const InputParameters & parameters() const
const TwoPhaseFluidProperties & _fp_2phase
2-phase fluid properties object
const SinglePhaseFluidProperties & _fp_liquid
Liquid 1-phase fluid properties object.