MATLAB: Adaptive mesh refinement function for time-dependent problems

adaptive meshnon-linear pde

Hi, I'm trying to solve a set of coupled non-linear (time-dep) PDEs in 2D using PDE toolbox and would like to use adaptive mesh refinement. I've found a legacy function for adaptive meshing with stationary PDEs, but could not see if the method could be applied to time-dependent problems and not sure about the compatibility of the legacy features with newer versions. Any guidance would be greatly appreciated. Thanks in advance.

Best Answer

Adaptive refinement of time-dependent problem is not currently available in PDE Toolbox.
However, you can do a coarse adaptive simulation by solving multiple problems over period of time with different mesh. Each successive mesh could use initial condition from previous solution with interpolation of IC.
Refer the attached script for an example.
Regards,
Ravi