-
In Salome, the mesh and groups of volumes and faces are exported to a single MED file.
However in FESTIM needs two separate XDMF files for the volume mesh and tags and the facet tags (boundaries).
The argumentscell_fileandfacet_filein this function are the path of these two files that will be written when converting the MED file. -
In salome, volumes and surfaces are given names (eg. top_surface, coolant_surface, tungsten_volume, etc.). In the XDMF files, each subdomain is tagged with an integer. The
correspondance_dicthas the correspondance between the names and the integers.cell_data_typesis a list of cell types contained in the mesh. Typically, for a 3D unstructured mesh you will have only tetrahedra and triangles.
In salome you can only tag the subdomains with strings and the software automatically assign an integer to it and it’s not user-controlled. This is why correspondance_dict is very important!
You are showing a 3D geometry so it’s hard to draw parallels with the paper since it’s 2D. It depends how you tag things in SALOME.
A good way to check is to
- Mesh and tag in SALOME
- convert to XDMF with meshio
- open the XDMF files in Paraview and inspect the subdomains