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

Derivative of fluid density wrt porepressure. More...

#include <RichardsDensityPrimeAux.h>

Inheritance diagram for RichardsDensityPrimeAux:
[legend]

Public Member Functions

 RichardsDensityPrimeAux (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

Derivative of fluid density wrt porepressure.

Definition at line 24 of file RichardsDensityPrimeAux.h.

Constructor & Destructor Documentation

RichardsDensityPrimeAux::RichardsDensityPrimeAux ( const InputParameters &  parameters)

Definition at line 24 of file RichardsDensityPrimeAux.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 RichardsDensityPrimeAux::computeValue ( )
protectedvirtual

Definition at line 32 of file RichardsDensityPrimeAux.C.

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

Member Data Documentation

const RichardsDensity& RichardsDensityPrimeAux::_density_UO
protected

userobject that defines density as a fcn of porepressure

Definition at line 36 of file RichardsDensityPrimeAux.h.

Referenced by computeValue().

const VariableValue& RichardsDensityPrimeAux::_pressure_var
protected

porepressure

Definition at line 33 of file RichardsDensityPrimeAux.h.

Referenced by computeValue().


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