pyxfem.solidmechanics.hyperelasticity_solver module
Created on April 10th 07:43:08 2024
@author: nchevaug
- class pyxfem.solidmechanics.hyperelasticity_solver.HyperElasticitySolver(mesh: SMesh, matlaw: HyperElasticMaterial, physname2dirichlet: dict | None = None, physname2neumann: dict | None = None, source=array([0., 0.]), space_constructor=<class 'pyxfem.core.function_spaces.FEMSpaceP1'>)[source]
Bases:
objectA class to set up and compute a 2d linear Hyper Elastic problem with FEM method
- compute_F(U: NDArray) NDArray[source]
compute F, the gradient of the position field at each gauss point
- compute_energy(U: NDArray[float64]) float[source]
return the stored energy associated to nodal displacement e