autopdex.models.linear_elasticity_weak

autopdex.models.linear_elasticity_weak(youngs_mod_fun, poisson_ratio_fun, mode, volume_load_fun=None)[source]

Constructs the weak form of linear elasticity in Voigt notation, displacement based.

This function supports 2D plain strain, 2D plain stress, and 3D elasticity problems.

Args: youngs_mod_fun (function): Function to compute Young’s modulus given spatial coordinates (and optional settings). poisson_ratio_fun (function): Function to compute Poisson’s ratio given spatial coordinates (and optional settings). mode (str): Specifies the mode of the elasticity problem. It can be ‘plain strain’, ‘plain stress’, or ‘3d’. volume_load_fun (function, optional): Function to compute volume load given spatial coordinates. Default is None.

Returns: function: A function that evaluates the weak form PDE for linear elasticity.

Notes

  • This models works for DOFs as a jnp.ndarray.