25#include "neml2/models/solid_mechanics/ThermalEigenstrain.h"
36 "Define the (cummulative, as opposed to instantaneous) linear isotropic thermal eigenstrain, "
37 "i.e. \\f$ \\boldsymbol{\\varepsilon}_T = \\alpha (T - T_0) \\boldsymbol{I} \\f$, where \\f$ "
38 "\\alpha \\f$ is the coefficient of thermal expansion (CTE), \\f$ T \\f$ is the temperature, "
39 "and \\f$ T_0 \\f$ is the reference (stress-free) temperature.";
42 options.set(
"temperature").doc() =
"Temperature";
45 options.set(
"reference_temperature").doc() =
"Reference (stress-free) temperature";
48 options.set(
"CTE").doc() =
"Coefficient of thermal expansion";
55 _T(declare_input_variable<
Scalar>(
"temperature")),
56 _T0(declare_parameter<
Scalar>(
"T0",
"reference_temperature")),
57 _alpha(declare_parameter<
Scalar>(
"alpha",
"CTE"))
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:52
Definition Eigenstrain.h:33
Variable< SR2 > & _eg
Eigen strain.
Definition Eigenstrain.h:41
static OptionSet expected_options()
Definition Eigenstrain.cxx:30
The accessor containing all the information needed to access an item in a LabeledAxis.
Definition LabeledAxisAccessor.h:44
const torch::TensorOptions & options() const
This model's tensor options.
Definition Model.h:116
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:59
static SR2 identity(const torch::TensorOptions &options=default_tensor_options())
Identity.
Definition SR2.cxx:110
The (logical) scalar.
Definition Scalar.h:38
Definition ThermalEigenstrain.h:32
const Scalar & _alpha
Coefficient of thermal expansion.
Definition ThermalEigenstrain.h:48
ThermalEigenstrain(const OptionSet &options)
Definition ThermalEigenstrain.cxx:53
const Variable< Scalar > & _T
Eigen strain.
Definition ThermalEigenstrain.h:42
static OptionSet expected_options()
Definition ThermalEigenstrain.cxx:32
const Scalar & _T0
The reference (stress free) temperature.
Definition ThermalEigenstrain.h:45
void set_value(bool, bool, bool) override
The map between input -> output, and optionally its derivatives.
Definition ThermalEigenstrain.cxx:62
Definition CrossRef.cxx:32
LabeledAxisAccessor VariableName
Definition Variable.h:35