www.mooseframework.org
Functions
PorousFlowMassFraction.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< PorousFlowMassFraction > ()
 

Function Documentation

template<>
InputParameters validParams< PorousFlowMassFraction > ( )

Definition at line 12 of file PorousFlowMassFraction.C.

13 {
14  InputParameters params = validParams<PorousFlowMaterialVectorBase>();
15  params.addCoupledVar("mass_fraction_vars",
16  "List of variables that represent the mass fractions. Format is 'f_ph0^c0 "
17  "f_ph0^c1 f_ph0^c2 ... f_ph0^c(N-1) f_ph1^c0 f_ph1^c1 fph1^c2 ... "
18  "fph1^c(N-1) ... fphP^c0 f_phP^c1 fphP^c2 ... fphP^c(N-1)' where "
19  "N=num_components and P=num_phases, and it is assumed that "
20  "f_ph^cN=1-sum(f_ph^c,{c,0,N-1}) so that f_ph^cN need not be given. If no "
21  "variables are provided then num_phases=1=num_components.");
22  params.addClassDescription("This Material forms a std::vector<std::vector ...> of mass-fractions "
23  "out of the individual mass fractions");
24  return params;
25 }
InputParameters validParams< PorousFlowMaterialVectorBase >()