20 params.addClassDescription(
21 "Computes a hydrostatic stress corresponding to the pressure of a van der Waals gas that is "
22 "added as an extra_stress to the stress computed by the constitutive model");
23 params.addRequiredParam<MaterialPropertyName>(
24 "b",
"Hard-sphere exclusion volume of van der Waals gas atoms in nm^3");
25 params.addRequiredParam<MaterialPropertyName>(
"Va",
"Atomic volume of lattice atoms in nm^3");
26 params.addRequiredParam<MaterialPropertyName>(
"T",
"Temperature in K");
27 params.addRequiredCoupledVar(
"cg",
"Gas concentration (relative to lattice atoms)");
28 params.addParam<Real>(
"nondim_factor",
30 "Optional factor to non-dimensionalize pressure (pressure is calculated in "
31 "Pa, set this factor to characteristic energy density used for "
32 "non-dimensionalization if desired)");
38 _b(getMaterialProperty<Real>(
"b")),
39 _Va(getMaterialProperty<Real>(
"Va")),
40 _T(getMaterialProperty<Real>(
"T")),
41 _cg(coupledValue(
"cg")),
42 _nondim_factor(getParam<Real>(
"nondim_factor")),