Remeshing depending on physical quantity values
Hi,
I am performing Code Saturne simulations of fluid flows. I mesh the computational domain with gmsh. I would like to adapt my mesh by refining regions of my investigated case depending on the results of a previous simulation. Here is the process:
-
Step 1 : Mesh -> first_mesh.msh
-
Step 2 : Simulation with first_mesh.msh
-
Step 3 : Mesh adaptation -> if a quantity extracted from the simulation field is above a given value then I would like to refine this area and produce a new mesh called adaptated_mesh.msh for instance
-
Step 4 : Simulation with adaptated_mesh.msh
Is that possible ? If yes, could you give me a simple exemple to see how it's work ?
Thanks a lot
Edited by Martin David