25#include "neml2/models/solid_mechanics/AssociativeIsotropicPlasticHardening.h"
35 options.doc() +=
" This object calculates the rate of equivalent plastic strain following "
36 "associative flow rule, i.e. \\f$ \\dot{\\varepsilon}_p = - \\dot{\\gamma} "
37 "\\frac{\\partial f}{\\partial k} \\f$, where \\f$ \\dot{\\varepsilon}_p \\f$ "
38 "is the equivalent plastic strain, \\f$ \\dot{\\gamma} \\f$ is the flow rate, "
39 "\\f$ f \\f$ is the yield function, and \\f$ k \\f$ is the isotropic hardening.";
43 options.set(
"isotropic_hardening_direction").doc() =
44 "Direction of associative isotropic hardening which can be calculated using Normality.";
48 options.set(
"equivalent_plastic_strain_rate").doc() =
"Rate of equivalent plastic strain";
56 _Nk(declare_input_variable<
Scalar>(
"isotropic_hardening_direction")),
57 _ep_dot(declare_output_variable<
Scalar>(
"equivalent_plastic_strain_rate"))
Definition AssociativeIsotropicPlasticHardening.h:32
Variable< Scalar > & _ep_dot
Rate of equivalent plastic strain.
Definition AssociativeIsotropicPlasticHardening.h:51
const Variable< Scalar > & _Nk
Isotropic hardening direction.
Definition AssociativeIsotropicPlasticHardening.h:48
AssociativeIsotropicPlasticHardening(const OptionSet &options)
Definition AssociativeIsotropicPlasticHardening.cxx:53
static OptionSet expected_options()
Definition AssociativeIsotropicPlasticHardening.cxx:32
void set_value(bool out, bool dout_din, bool d2out_din2) override
The map between input -> output, and optionally its derivatives.
Definition AssociativeIsotropicPlasticHardening.cxx:62
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:52
const Variable< Scalar > & _gamma_dot
Definition FlowRule.h:39
static OptionSet expected_options()
Definition FlowRule.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
The (logical) scalar.
Definition Scalar.h:38
static Scalar identity_map(const torch::TensorOptions &options=default_tensor_options())
The derivative of a Scalar with respect to itself.
Definition Scalar.cxx:35
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