25#include "neml2/models/solid_mechanics/OlevskySinteringStress.h"
35 options.doc() =
"Define the Olevsky-Skorohod sintering stress to be used in conjunction with "
36 "poroplasticity yield functions such as the GTNYieldFunction. The sintering "
37 "stress is defined as \\f$ \\sigma_s = 3 \\dfrac{\\gamma}{r} \\phi^2 \\f$, where "
38 "\\f$ \\gamma \\f$ is the surface tension, \\f$ r \\f$ is the size of the "
39 "particles/powders, and \\f$ \\phi \\f$ is the void fraction.";
42 options.set(
"sintering_stress").doc() =
"Sintering stress";
45 options.set(
"void_fraction").doc() =
"Void fraction";
48 options.set(
"surface_tension").doc() =
"Surface tension";
51 options.set(
"particle_radius").doc() =
"Particle radius";
58 _s(declare_output_variable<
Scalar>(
"sintering_stress")),
59 _phi(declare_input_variable<
Scalar>(
"void_fraction")),
60 _gamma(declare_parameter<
Scalar>(
"gamma",
"surface_tension")),
61 _r(declare_parameter<
Scalar>(
"r",
"particle_radius"))
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:52
The accessor containing all the information needed to access an item in a LabeledAxis.
Definition LabeledAxisAccessor.h:44
The base class for all constitutive models.
Definition Model.h:53
const torch::TensorOptions & options() const
This model's tensor options.
Definition Model.h:116
static OptionSet expected_options()
Definition Model.cxx:33
Definition OlevskySinteringStress.h:39
const Scalar & _r
Particle radius.
Definition OlevskySinteringStress.h:58
const Scalar & _gamma
Surface tension.
Definition OlevskySinteringStress.h:55
static OptionSet expected_options()
Definition OlevskySinteringStress.cxx:32
const Variable< Scalar > & _phi
Void fraction.
Definition OlevskySinteringStress.h:52
Variable< Scalar > & _s
Sintering stress.
Definition OlevskySinteringStress.h:49
OlevskySinteringStress(const OptionSet &options)
Definition OlevskySinteringStress.cxx:56
void set_value(bool out, bool dout_din, bool d2out_din2) override
The map between input -> output, and optionally its derivatives.
Definition OlevskySinteringStress.cxx:66
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:59
The (logical) scalar.
Definition Scalar.h:38
Derivative d(const VariableBase &x)
Create a wrapper representing the derivative dy/dx.
Definition Variable.cxx:102
Definition CrossRef.cxx:32
LabeledAxisAccessor VariableName
Definition Variable.h:35