How to create and label a structured hexahedral mesh of a cylinder in SALOME for OpenFOAM

Hello everyone, I need to mesh a solid cylinder in SALOME (radius 0.05 m, height 0.10 m) using structured hexahedra, and then label the faces as “inlet” (base), “outlet” (top) and “wall” (side) so I can export a MED that OpenFOAM can read as patches. Could you briefly explain how to create those groups in Geometry first and then generate the mesh in Mesh so it respects those labels? Thanks!

in geom you have a tool for creating this geometry new entry/blocks/divided cylinder
you can then create the groups over the faces new entry/groups/create new group. if you create the groups before creating the mesh, the mesh will inherently get the respective groups. 2D groups will be imported as patches in openfoam. just one quesiton, how do you plan to import it using med format? from what i know OF does not support this format.