fenics_material
- class nrv.fmod.FEM.fenics_utils.fenics_material(mat: any = None)[source]
A class of materials better suited to FEM resolution with fenics. It allows material parameters to be updated dynamically between FEM simulations, which reduces calculation speed and memory consumption.
- Parameters:
mat (material) – generate the fenics material from mat attribute
Attributes
conductivity of the material scaled by UN factor. |
|
Methods
|
initialisation of the fenics_material |
|
Returns fenicsx compatible sigma |
Generic method returning all the atributes of an NRV_class instance |
|
|
Generic loading method for |
|
Return material as dictionary and eventually save it as json file |
|
Generic method to set any attribute of |
Update sigma value of a material in fenics FEM simulation. |
|