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 26 of file RichardsDensityPrimeAux.h.

Constructor & Destructor Documentation

◆ RichardsDensityPrimeAux()

RichardsDensityPrimeAux::RichardsDensityPrimeAux ( const InputParameters &  parameters)

Definition at line 28 of file RichardsDensityPrimeAux.C.

29  : AuxKernel(parameters),
30  _pressure_var(coupledValue("pressure_var")),
31  _density_UO(getUserObject<RichardsDensity>("density_UO"))
32 {
33 }
const RichardsDensity & _density_UO
userobject that defines density as a fcn of porepressure
const VariableValue & _pressure_var
porepressure

Member Function Documentation

◆ computeValue()

Real RichardsDensityPrimeAux::computeValue ( )
protectedvirtual

Definition at line 36 of file RichardsDensityPrimeAux.C.

37 {
38  return _density_UO.ddensity(_pressure_var[_qp]);
39 }
const RichardsDensity & _density_UO
userobject that defines density as a fcn of 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...
const VariableValue & _pressure_var
porepressure

Member Data Documentation

◆ _density_UO

const RichardsDensity& RichardsDensityPrimeAux::_density_UO
protected

userobject that defines density as a fcn of porepressure

Definition at line 38 of file RichardsDensityPrimeAux.h.

Referenced by computeValue().

◆ _pressure_var

const VariableValue& RichardsDensityPrimeAux::_pressure_var
protected

porepressure

Definition at line 35 of file RichardsDensityPrimeAux.h.

Referenced by computeValue().


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