jaxmat.materials.thermomechanics module#

Temperature-dependent behaviors, added by composition.

TemperatureDependent wraps any existing behavior and makes it consume a temperature input alongside the mechanical input, without modifying the wrapped behavior. At each update it materializes the wrapped behavior’s parameter expressions at the current temperature (via evaluate_parameters) and delegates to the wrapped behavior’s own constitutive_update.

Inputs are (mechanical_input, T) where temperature \(T\) is treated as an input known at \(t_{n+1}\). If default_temperature is set, a bare mechanical input is also accepted (useful for isothermal drivers that do not thread T).

class TemperatureDependent[source]#

Bases: AbstractBehavior

Make a behavior temperature-dependent by resolving its parameters at T.

behavior: AbstractBehavior#

The wrapped behavior, whose parameters may be temperature expressions.

default_temperature: Array = None#

Optional fallback temperature used when the input carries no T.

make_internal_state()[source]#

Return a freshly constructed internal state instance.

init_state(Nbatch=None)[source]#
constitutive_update(inputs, state, dt)[source]#