Computes a concentration-dependent ExtraStress bases on the van der Waals equation of state that is added to the stress computed by the constitutive model.
More...
#include <ComputeExtraStressVDWGas.h>
Computes a concentration-dependent ExtraStress bases on the van der Waals equation of state that is added to the stress computed by the constitutive model.
Definition at line 23 of file ComputeExtraStressVDWGas.h.
◆ ComputeExtraStressVDWGas()
ComputeExtraStressVDWGas::ComputeExtraStressVDWGas |
( |
const InputParameters & |
parameters | ) |
|
Definition at line 36 of file ComputeExtraStressVDWGas.C.
38 _b(getMaterialProperty<Real>(
"b")),
39 _Va(getMaterialProperty<Real>(
"Va")),
40 _T(getMaterialProperty<Real>(
"T")),
41 _cg(coupledValue(
"cg")),
◆ computeQpExtraStress()
void ComputeExtraStressVDWGas::computeQpExtraStress |
( |
| ) |
|
|
protectedvirtual |
◆ computeQpProperties()
void ComputeExtraStressBase::computeQpProperties |
( |
| ) |
|
|
protectedvirtualinherited |
◆ validParams()
InputParameters ComputeExtraStressVDWGas::validParams |
( |
| ) |
|
|
static |
Definition at line 17 of file ComputeExtraStressVDWGas.C.
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)");
◆ _b
const MaterialProperty<Real>& ComputeExtraStressVDWGas::_b |
|
protected |
◆ _base_name
const std::string ComputeExtraStressBase::_base_name |
|
protectedinherited |
◆ _cg
const VariableValue& ComputeExtraStressVDWGas::_cg |
|
protected |
◆ _extra_stress
MaterialProperty<RankTwoTensor>& ComputeExtraStressBase::_extra_stress |
|
protectedinherited |
◆ _extra_stress_name
std::string ComputeExtraStressBase::_extra_stress_name |
|
protectedinherited |
◆ _kB
const Real ComputeExtraStressVDWGas::_kB |
|
protected |
◆ _nondim_factor
const Real ComputeExtraStressVDWGas::_nondim_factor |
|
protected |
◆ _T
const MaterialProperty<Real>& ComputeExtraStressVDWGas::_T |
|
protected |
◆ _Va
const MaterialProperty<Real>& ComputeExtraStressVDWGas::_Va |
|
protected |
The documentation for this class was generated from the following files: