www.mooseframework.org
DarcyFluxComponent.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 DARCYFLUXCOMPONENT_H
9 #define DARCYFLUXCOMPONENT_H
10 
11 #include "AuxKernel.h"
12 
13 // Forward Declarations
14 class DarcyFluxComponent;
15 
16 template <>
17 InputParameters validParams<DarcyFluxComponent>();
18 
34 class DarcyFluxComponent : public AuxKernel
35 {
36 public:
37  DarcyFluxComponent(const InputParameters & parameters);
38 
39 protected:
40  virtual Real computeValue();
41 
43  const VariableGradient & _grad_pp;
44 
46  RealVectorValue _fluid_weight;
47 
50 
53 
55  const MaterialProperty<RealTensorValue> & _permeability;
56 
58  unsigned int _component;
59 };
60 
61 #endif // DARCYFLUXCOMPONENT_H
virtual Real computeValue()
const VariableGradient & _grad_pp
gradient of the pressure
DarcyFluxComponent(const InputParameters &parameters)
const MaterialProperty< RealTensorValue > & _permeability
Material permeability.
unsigned int _component
Desired component.
Real _fluid_viscosity
fluid dynamic viscosity
Computes a component of the Darcy flux: -k_ij/mu (nabla_j P - w_j) where k_ij is the permeability ten...
RealVectorValue _fluid_weight
fluid weight (gravity*density) as a vector pointing downwards, eg &#39;0 0 -10000&#39;
Real _poro_recip
(1/velocity_scaling)
InputParameters validParams< DarcyFluxComponent >()