MshCreator
- class nrv.fmod.FEM.mesh_creator.MshCreator(D=3, ver_level=None)[source]
Class handling the creation of a gmsh mesh (https://gmsh.info/doc/texinfo/gmsh.html) Contains methodes dealing with the mesh geometries, physical domains and feilds
Attributes
Methods
|
initialisation of the MshCreator |
|
add a box to the mesh |
|
add a x-oriented cone to mesh entities |
|
add a x-oriented cylinder to mesh entities |
|
add domains (ID + name) to a goupe of entities Caution: as to be used after all entities are placed |
|
add a line to the mesh |
|
add a point to the mesh |
|
Fragmentation of the mesh important to link entities to each other |
genetate the mesh |
|
|
update and return list of mesh face (optional: with their center of mass) |
|
|
|
|
update and return list of mesh entities |
|
Generic method returning all the atributes of an NRV_class instance |
|
return the global resolution saved (usefull when no field are set) |
|
|
update and return list of mesh volumes (optional: with their center of mass) |
|
load mesh from ".msh" file |
|
refine mesh resolution in a list of faces or volumes IDs |
|
refine mesh resolution taking the minimum value for a list of refinment fields |
|
refine mesh resolution in a list of faces or volumes IDs |
|
Add a call back function which is apply to the mesh size defined by fields and return the final mesh size |
|
rotate volume |
|
Save mesh in fname in ".msh" |
from gmsh: Extend characteristic lengths from the boundaries inside the surface/volume |
|
|
Generic method to set any attribute of |
|
set the global resolution saved (usefull when no field are set) |
from gmsh: Level of information printed on the terminal and the message console. |
|
|