www.mooseframework.org
Functions
PorousFlowPermeabilityKozenyCarman.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< PorousFlowPermeabilityKozenyCarman > ()
 

Function Documentation

template<>
InputParameters validParams< PorousFlowPermeabilityKozenyCarman > ( )

Definition at line 12 of file PorousFlowPermeabilityKozenyCarman.C.

13 {
14  InputParameters params = validParams<PorousFlowPermeabilityBase>();
15  MooseEnum poroperm_function("kozeny_carman_fd2=0 kozeny_carman_phi0=1", "kozeny_carman_fd2");
16  params.addParam<MooseEnum>(
17  "poroperm_function",
18  poroperm_function,
19  "Function relating porosity and permeability. The options are: kozeny_carman_fd2 = f d^2 "
20  "phi^n/(1-phi)^m (where phi is porosity, f is a scalar constant with typical values "
21  "0.01-0.001, and d is grain size). kozeny_carman_phi0 = k0 (1-phi0)^m/phi0^n * "
22  "phi^n/(1-phi)^m (where phi is porosity, and k0 is the permeability at porosity phi0)");
23  params.addRangeCheckedParam<Real>("k0",
24  "k0 > 0",
25  "The permeability scalar value (usually in "
26  "m^2) at the reference porosity, required for "
27  "kozeny_carman_phi0");
28  params.addParam<RealTensorValue>("k_anisotropy",
29  "A tensor to multiply the calculated scalar "
30  "permeability, in order to obtain anisotropy if "
31  "required. Defaults to isotropic permeability "
32  "if not specified.");
33  params.addRangeCheckedParam<Real>(
34  "phi0", "phi0 > 0 & phi0 < 1", "The reference porosity, required for kozeny_carman_phi0");
35  params.addRangeCheckedParam<Real>(
36  "f", "f > 0", "The multiplying factor, required for kozeny_carman_fd2");
37  params.addRangeCheckedParam<Real>(
38  "d", "d > 0", "The grain diameter, required for kozeny_carman_fd2");
39  params.addRequiredRangeCheckedParam<Real>("n", "n >= 0", "Porosity exponent");
40  params.addRequiredRangeCheckedParam<Real>("m", "m >= 0", "(1-porosity) exponent");
41  params.addClassDescription(
42  "This Material calculates the permeability tensor from a form of the Kozeny-Carman equation, "
43  "k = k_ijk * A * phi^n / (1 - phi)^m, where k_ijk is a tensor providing the anisotropy, phi "
44  "is porosity, n and m are positive scalar constants and A is given in one of the following "
45  "forms: A = k0 * (1 - phi0)^m / phi0^n (where k0 and phi0 are a reference permeability and "
46  "porosity) or A = f * d^2 (where f is a scalar constant and d is grain diameter.");
47  return params;
48 }
InputParameters validParams< PorousFlowPermeabilityBase >()