autopdex.models.hyperelastic_steady_state_weak
- autopdex.models.hyperelastic_steady_state_weak(strain_energy_fun, youngs_mod_fun, poisson_ratio_fun, mode, volume_load_fun=None)[source]
Constructs the weak form of hyperelasticity for given strain energy function
This function returns a function representing the weak form PDE system for steady-state hyperelasticity.
- Parameters:
strain_energy_fun (function) – Function that returns the strain energy given the deformation gradient and Lame parameters.
youngs_mod_fun (function) – Function to compute Young’s modulus given spatial coordinates.
poisson_ratio_fun (function) – Function to compute Poisson’s ratio given spatial coordinates.
mode (str) – Specifies the mode of the elasticity problem. It can be ‘plain strain’ or ‘3d’.
volume_load_fun (function, optional) – Function to compute volume load given spatial coordinates. Default is None.
- Returns:
A function that evaluates the weak form PDE system for hyperelasticity.
- Return type:
function
Notes
The volume load function, if provided, must be volume-specific.
This models works for DOFs as a jnp.ndarray.