fenics_material.update_fenics_sigma

fenics_material.update_fenics_sigma(domain=None, elem=None, UN=None, id=None)[source]

Update sigma value of a material in fenics FEM simulation. Allow to reuse the same material when FEM_simulation object is solved multiple times.

Parameters:
  • domain (dolfinx.mesh.Mesh or None) – mesh domain of the FEM simulation

  • elem (tupple (str, int)) – element type, element order, by default None

  • UN (int or None) – unit factor to use for to scale the material value, if None, keep the UN attribute of the instance

  • id – ID to use to name the ufl object