www.mooseframework.org
Classes | Functions
PorousFlowDarcyVelocityComponent.h File Reference

Go to the source code of this file.

Classes

class  PorousFlowDarcyVelocityComponent
 Computes a component of the Darcy velocity: -k_ij * krel /mu (nabla_j P - w_j) where k_ij is the permeability tensor, krel is the relative permeaility, mu is the fluid viscosity, P is the fluid pressure and w_j is the fluid weight This is measured in m^3 . More...
 

Functions

template<>
InputParameters validParams< PorousFlowDarcyVelocityComponent > ()
 

Function Documentation

◆ validParams< PorousFlowDarcyVelocityComponent >()

template<>
InputParameters validParams< PorousFlowDarcyVelocityComponent > ( )

Definition at line 16 of file PorousFlowDarcyVelocityComponent.C.

17 {
18  InputParameters params = validParams<AuxKernel>();
19  params.addRequiredParam<RealVectorValue>("gravity",
20  "Gravitational acceleration vector downwards (m/s^2)");
21  params.addRequiredParam<UserObjectName>(
22  "PorousFlowDictator", "The UserObject that holds the list of PorousFlow variable names");
23  params.addParam<unsigned int>("fluid_phase", 0, "The index corresponding to the fluid phase");
24  MooseEnum component("x=0 y=1 z=2");
25  params.addRequiredParam<MooseEnum>(
26  "component", component, "The spatial component of the Darcy flux to return");
27  params.addClassDescription("Darcy velocity (in m^3.s^-1.m^-2, or m.s^-1) -(k_ij * krel /mu "
28  "(nabla_j P - w_j)), where k_ij is the permeability tensor, krel is "
29  "the relative permeability, mu is the fluid viscosity, P is the fluid "
30  "pressure, and w_j is the fluid weight.");
31  return params;
32 }

Referenced by validParams< PorousFlowDarcyVelocityComponentLowerDimensional >().

MaterialTensorCalculatorTools::component
Real component(const SymmTensor &symm_tensor, unsigned int index)
Definition: MaterialTensorCalculatorTools.C:16