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

Second derivative of fluid density wrt porepressure. More...

#include <RichardsDensityPrimePrimeAux.h>

Inheritance diagram for RichardsDensityPrimePrimeAux:
[legend]

Public Member Functions

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

Second derivative of fluid density wrt porepressure.

Definition at line 26 of file RichardsDensityPrimePrimeAux.h.

Constructor & Destructor Documentation

◆ RichardsDensityPrimePrimeAux()

RichardsDensityPrimePrimeAux::RichardsDensityPrimePrimeAux ( const InputParameters &  parameters)

Definition at line 28 of file RichardsDensityPrimePrimeAux.C.

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

Member Function Documentation

◆ computeValue()

Real RichardsDensityPrimePrimeAux::computeValue ( )
protectedvirtual

Definition at line 36 of file RichardsDensityPrimePrimeAux.C.

37 {
38  return _density_UO.d2density(_pressure_var[_qp]);
39 }
const VariableValue & _pressure_var
porepressure
virtual Real d2density(Real p) const =0
second derivative of fluid density wrt porepressure This must be over-ridden in derived classes to pr...
const RichardsDensity & _density_UO
userobject that defines density as a fcn of porepressure

Member Data Documentation

◆ _density_UO

const RichardsDensity& RichardsDensityPrimePrimeAux::_density_UO
protected

userobject that defines density as a fcn of porepressure

Definition at line 38 of file RichardsDensityPrimePrimeAux.h.

Referenced by computeValue().

◆ _pressure_var

const VariableValue& RichardsDensityPrimePrimeAux::_pressure_var
protected

porepressure

Definition at line 35 of file RichardsDensityPrimePrimeAux.h.

Referenced by computeValue().


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