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

Go to the source code of this file.

Classes

class  PorousFlowPropertyAux
 Provides a simple interface to PorousFlow material properties. More...
 

Functions

template<>
InputParameters validParams< PorousFlowPropertyAux > ()
 

Function Documentation

◆ validParams< PorousFlowPropertyAux >()

template<>
InputParameters validParams< PorousFlowPropertyAux > ( )

Definition at line 16 of file PorousFlowPropertyAux.C.

17 {
18  InputParameters params = validParams<AuxKernel>();
19  params.addRequiredParam<UserObjectName>(
20  "PorousFlowDictator", "The UserObject that holds the list of PorousFlow variable names");
21  MooseEnum property_enum("pressure saturation temperature density viscosity mass_fraction relperm "
22  "capillary_pressure enthalpy internal_energy secondary_concentration "
23  "mineral_concentration mineral_reaction_rate porosity permeability");
24  params.addRequiredParam<MooseEnum>(
25  "property", property_enum, "The fluid property that this auxillary kernel is to calculate");
26  params.addParam<unsigned int>("phase", 0, "The index of the phase this auxillary kernel acts on");
27  params.addParam<unsigned int>(
28  "liquid_phase", 0, "The index of the liquid phase (used for capillary pressure)");
29  params.addParam<unsigned int>(
30  "gas_phase", 1, "The index of the gas phase (used for capillary pressure)");
31  params.addParam<unsigned int>(
32  "fluid_component", 0, "The index of the fluid component this auxillary kernel acts on");
33  params.addParam<unsigned int>("secondary_species", 0, "The secondary chemical species number");
34  params.addParam<unsigned int>("mineral_species", 0, "The mineral chemical species number");
35  params.addRangeCheckedParam<unsigned int>(
36  "row", 0, "row>=0 & row<=2", "Row of permeability tensor to output");
37  params.addRangeCheckedParam<unsigned int>(
38  "column", 0, "column>=0 & column<=2", "Column of permeability tensor to output");
39  params.addClassDescription("AuxKernel to provide access to properties evaluated at quadpoints. "
40  "Note that elemental AuxVariables must be used, so that these "
41  "properties are integrated over each element.");
42  return params;
43 }