Go to the source code of this file.
◆ registerMooseAction() [1/4]
registerMooseAction |
( |
"RichardsApp" |
, |
|
|
Q2PAction |
, |
|
|
"add_aux_variable" |
|
|
) |
| |
◆ registerMooseAction() [2/4]
registerMooseAction |
( |
"RichardsApp" |
, |
|
|
Q2PAction |
, |
|
|
"add_function" |
|
|
) |
| |
◆ registerMooseAction() [3/4]
registerMooseAction |
( |
"RichardsApp" |
, |
|
|
Q2PAction |
, |
|
|
"add_kernel" |
|
|
) |
| |
◆ registerMooseAction() [4/4]
registerMooseAction |
( |
"RichardsApp" |
, |
|
|
Q2PAction |
, |
|
|
"add_postprocessor" |
|
|
) |
| |
◆ validParams< Q2PAction >()
Definition at line 28 of file Q2PAction.C.
30 MooseEnum orders(
"CONSTANT FIRST SECOND THIRD FOURTH",
"FIRST");
32 InputParameters params = validParams<Action>();
33 params.addRequiredParam<NonlinearVariableName>(
"porepressure",
"The porepressure variable");
34 params.addRequiredParam<NonlinearVariableName>(
"saturation",
"The water saturation variable");
35 params.addRequiredParam<UserObjectName>(
37 "A RichardsDensity UserObject that defines the water density as a function of porepressure.");
38 params.addRequiredParam<UserObjectName>(
40 "A RichardsRelPerm UserObject that defines the water relative permeability "
41 "as a function of water saturation (eg RichardsRelPermPower).");
42 params.addParam<UserObjectName>(
43 "water_relperm_for_diffusion",
44 "A RichardsRelPerm UserObject that defines the water relative permeability as a function of "
45 "water saturation that will be used in the diffusivity Kernel (eg RichardsRelPermPower). If "
46 "not given, water_relperm will be used instead, which is the most common use-case.");
47 params.addRequiredParam<Real>(
"water_viscosity",
"The water viscosity");
48 params.addRequiredParam<UserObjectName>(
50 "A RichardsDensity UserObject that defines the gas density as a function of porepressure.");
51 params.addRequiredParam<UserObjectName>(
53 "A RichardsRelPerm UserObject that defines the gas relative permeability as a "
54 "function of water saturation (eg Q2PRelPermPowerGas).");
55 params.addRequiredParam<Real>(
"gas_viscosity",
"The gas viscosity");
56 params.addRequiredParam<Real>(
"diffusivity",
"The diffusivity");
57 params.addParam<std::vector<OutputName>>(
"output_nodal_masses_to",
58 "Output Nodal masses to this Output object. If you "
59 "don't want any outputs, don't input anything here");
60 params.addParam<std::vector<OutputName>>(
61 "output_total_masses_to",
62 "Output total water and gas mass to this Output object. If you "
63 "don't want any outputs, don't input anything here");
64 params.addParam<
bool>(
"save_gas_flux_in_Q2PGasFluxResidual",
66 "Save the residual for the "
67 "Q2PPorepressureFlux into "
68 "the AuxVariable called "
69 "Q2PGasFluxResidual");
70 params.addParam<
bool>(
"save_water_flux_in_Q2PWaterFluxResidual",
72 "Save the residual for the Q2PSaturationFlux into the AuxVariable called "
73 "Q2PWaterFluxResidual");
74 params.addParam<
bool>(
"save_gas_Jacobian_in_Q2PGasJacobian",
76 "Save the diagonal component of the Q2PPorepressureFlux Jacobian into the "
77 "AuxVariable called Q2PGasJacobian");
78 params.addParam<
bool>(
"save_water_Jacobian_in_Q2PWaterJacobian",
80 "Save the diagonal component of the Q2PSaturationFlux Jacobian into the "
81 "AuxVariable called Q2PWaterJacobian");
82 params.addParam<MooseEnum>(
85 "The order for the porepressure and saturation: " + orders.getRawNames() +
86 " (only needed if you're calculating masses)");