www.mooseframework.org
DarcyFluxPressure.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef DARCYFLUXPRESSURE_H
9 #define DARCYFLUXPRESSURE_H
10 
11 #include "Kernel.h"
12 #include "DerivativeMaterialInterface.h"
13 
14 class DarcyFluxPressure;
15 
16 template <>
17 InputParameters validParams<DarcyFluxPressure>();
18 
24 class DarcyFluxPressure : public DerivativeMaterialInterface<Kernel>
25 {
26 public:
27  DarcyFluxPressure(const InputParameters & parameters);
28 
29 protected:
30  virtual Real computeQpResidual() override;
31  virtual Real computeQpJacobian() override;
32 
34  const MaterialProperty<Real> & _cond;
35 
37  const RealVectorValue _gravity;
38 
40  const MaterialProperty<Real> & _density;
41 };
42 
43 #endif // DARCYFLUXPRESSURE_H
Darcy flux: - cond * (Grad P - rho * g) where cond is the hydraulic conductivity, P is fluid pressure...
const RealVectorValue _gravity
Gravity.
const MaterialProperty< Real > & _density
Fluid density.
DarcyFluxPressure(const InputParameters &parameters)
virtual Real computeQpJacobian() override
InputParameters validParams< DarcyFluxPressure >()
virtual Real computeQpResidual() override
const MaterialProperty< Real > & _cond
Hydraulic conductivity.