Changing computational domain

Dear all

I want to start my calculation with a larger domain (TH) and then decrease it based on the for example the magnitude of velocity and continue the simulation just for the domain that velocity is great (Th2) and repeat it every time step.

In fact, I am going to control a flow by some volume force to decrease radial velocity. However, my domain at first is too big (TH) and I want to decrease it in every time step based on the some gradients. is it possible to change the computational domain automatically in freefem?

Best regards,

Hello,
I would suggest looking in the documentation at examples “Laplace-Adapt-3d.edp” in chapter 5.17 and the scripts examples+±mpi/MPIGMRES[2]D.edp, discussed at the end of 10.6.1: they illustrate possible uses of function “trunc”.
HTH
Denis