www.mooseframework.org
DarcyFlux.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 DARCYFLUX
9 #define DARCYFLUX
10 
11 #include "Kernel.h"
12 
13 // Forward Declarations
14 class DarcyFlux;
15 
16 template <>
17 InputParameters validParams<DarcyFlux>();
18 
23 class DarcyFlux : public Kernel
24 {
25 public:
26  DarcyFlux(const InputParameters & parameters);
27 
28 protected:
29  virtual Real computeQpResidual();
30 
31  virtual Real computeQpJacobian();
32 
34  RealVectorValue _fluid_weight;
35 
38 
40  const MaterialProperty<RealTensorValue> & _permeability;
41 };
42 
43 #endif // DARCYFLUX
InputParameters validParams< DarcyFlux >()
Definition: DarcyFlux.C:13
Kernel = grad(permeability*(grad(pressure) - weight)) This is mass flow according to the Darcy equati...
Definition: DarcyFlux.h:23
DarcyFlux(const InputParameters &parameters)
Definition: DarcyFlux.C:28
const MaterialProperty< RealTensorValue > & _permeability
Material permeability.
Definition: DarcyFlux.h:40
virtual Real computeQpJacobian()
Definition: DarcyFlux.C:44
Real _fluid_viscosity
fluid dynamic viscosity
Definition: DarcyFlux.h:37
RealVectorValue _fluid_weight
fluid weight (gravity*density) as a vector pointing downwards, eg &#39;0 0 -10000&#39;
Definition: DarcyFlux.h:34
virtual Real computeQpResidual()
Definition: DarcyFlux.C:37