jaxmat.loader module#

class ImposedLoading[source]#

Bases: Module

Represents an imposed loading condition defined by strain and stress values.

This class constructs arrays of imposed strains and stresses, together with a mask identifying which components are strain-controlled. It is typically used to generate loading paths for constitutive model evaluations or parameter identification tasks.

Parameters:
  • hypothesis ({'small_strain', 'finite_strain'}, optional) – The kinematic hypothesis to use when generating the loading. Defaults to 'small_strain'.

  • kwargs

    Additional keyword arguments defining the actual loading path.
    • small_strain: args can be epsij or sigij

    • finite_strain: args can be Fij or Pij

    where ij are either xx, yy, zz, xy, xz or yz

eps_vals: Array#
sig_vals: Array#
strain_mask: Array#
residual(material, loader, eps, state, dt)[source]#
Parameters:
stack_loadings(loadings)[source]#
Parameters:

loadings (list)

solve_mechanical_state(eps0, state, loading_data, material, dt)[source]#
Parameters:

loading_data (ImposedLoading)

global_solve(Eps0, state, loading_data, material, dt, in_axes=(0, 0, 0, None, None))[source]#