www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RichardsDensityAux Class Reference

Fluid density as a function of porepressure. More...

#include <RichardsDensityAux.h>

Inheritance diagram for RichardsDensityAux:
[legend]

Public Member Functions

 RichardsDensityAux (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeValue ()
 

Protected Attributes

const VariableValue & _pressure_var
 porepressure More...
 
const RichardsDensity_density_UO
 userobject that defines density as a fcn of porepressure More...
 

Detailed Description

Fluid density as a function of porepressure.

Definition at line 24 of file RichardsDensityAux.h.

Constructor & Destructor Documentation

RichardsDensityAux::RichardsDensityAux ( const InputParameters &  parameters)

Definition at line 24 of file RichardsDensityAux.C.

25  : AuxKernel(parameters),
26  _pressure_var(coupledValue("pressure_var")),
27  _density_UO(getUserObject<RichardsDensity>("density_UO"))
28 {
29 }
const RichardsDensity & _density_UO
userobject that defines density as a fcn of porepressure
const VariableValue & _pressure_var
porepressure

Member Function Documentation

Real RichardsDensityAux::computeValue ( )
protectedvirtual

Definition at line 32 of file RichardsDensityAux.C.

33 {
34  return _density_UO.density(_pressure_var[_qp]);
35 }
const RichardsDensity & _density_UO
userobject that defines density as a fcn of porepressure
virtual Real density(Real p) const =0
fluid density as a function of porepressure This must be over-ridden in derived classes to provide an...
const VariableValue & _pressure_var
porepressure

Member Data Documentation

const RichardsDensity& RichardsDensityAux::_density_UO
protected

userobject that defines density as a fcn of porepressure

Definition at line 36 of file RichardsDensityAux.h.

Referenced by computeValue().

const VariableValue& RichardsDensityAux::_pressure_var
protected

porepressure

Definition at line 33 of file RichardsDensityAux.h.

Referenced by computeValue().


The documentation for this class was generated from the following files: