chowland / AFiD-MuRPhFi

Advanced Finite Difference flow solver with Multiple Resolution and Phase-Field implementations
https://chowland.github.io/AFiD-MuRPhFi/
12 stars 1 forks source link

Input interpolation not possible from old simulation with single grid #11

Closed chowland closed 3 years ago

chowland commented 3 years ago

Currently, MULTIRES must be set to 1 to build the interpolation stencil needed to scale up the flow fields from an old continua file. However, if MULTIRES = 1 then the code will try to read in the previous values of refined grid variables such as xmr which may not exist if the previous simulation was run with MULTIRES = 0.