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

Darcy flux: - cond * (Grad P - rho * g) where cond is the hydraulic conductivity, P is fluid pressure, rho is flui density and g is gravity. More...

#include <DarcyFluxPressure.h>

Inheritance diagram for DarcyFluxPressure:
[legend]

Public Member Functions

 DarcyFluxPressure (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeQpResidual () override
 
virtual Real computeQpJacobian () override
 

Protected Attributes

const MaterialProperty< Real > & _cond
 Hydraulic conductivity. More...
 
const RealVectorValue _gravity
 Gravity. More...
 
const MaterialProperty< Real > & _density
 Fluid density. More...
 

Detailed Description

Darcy flux: - cond * (Grad P - rho * g) where cond is the hydraulic conductivity, P is fluid pressure, rho is flui density and g is gravity.

Definition at line 24 of file DarcyFluxPressure.h.

Constructor & Destructor Documentation

DarcyFluxPressure::DarcyFluxPressure ( const InputParameters &  parameters)

Definition at line 20 of file DarcyFluxPressure.C.

21  : DerivativeMaterialInterface<Kernel>(parameters),
22  _cond(getMaterialProperty<Real>("conductivity")),
23  _gravity(getParam<RealVectorValue>("gravity")),
24  _density(getDefaultMaterialProperty<Real>("density"))
25 {
26 }
const RealVectorValue _gravity
Gravity.
const MaterialProperty< Real > & _density
Fluid density.
const MaterialProperty< Real > & _cond
Hydraulic conductivity.

Member Function Documentation

Real DarcyFluxPressure::computeQpJacobian ( )
overrideprotectedvirtual

Definition at line 35 of file DarcyFluxPressure.C.

36 {
37  return _grad_test[_i][_qp] * _cond[_qp] * _grad_phi[_j][_qp];
38 }
const MaterialProperty< Real > & _cond
Hydraulic conductivity.
Real DarcyFluxPressure::computeQpResidual ( )
overrideprotectedvirtual

Definition at line 29 of file DarcyFluxPressure.C.

30 {
31  return _grad_test[_i][_qp] * _cond[_qp] * (_grad_u[_qp] - _density[_qp] * _gravity);
32 }
const RealVectorValue _gravity
Gravity.
const MaterialProperty< Real > & _density
Fluid density.
const MaterialProperty< Real > & _cond
Hydraulic conductivity.

Member Data Documentation

const MaterialProperty<Real>& DarcyFluxPressure::_cond
protected

Hydraulic conductivity.

Definition at line 34 of file DarcyFluxPressure.h.

Referenced by computeQpJacobian(), and computeQpResidual().

const MaterialProperty<Real>& DarcyFluxPressure::_density
protected

Fluid density.

Definition at line 40 of file DarcyFluxPressure.h.

Referenced by computeQpResidual().

const RealVectorValue DarcyFluxPressure::_gravity
protected

Gravity.

Definition at line 37 of file DarcyFluxPressure.h.

Referenced by computeQpResidual().


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