Diff two solutions on two meshes #1933
-
Is there a simple way to diff two solutions on two non conforming meshes? For instance, one is a refined solution on a uniform mesh and one is an AMR solution. I found the field-diff app. The example is very simple, but will that work in parallel AMR meshes (quad)? Thanks. If that's not possible, other suggestions are also welcome. I am trying to do convergence study for problems with no exact solutions. Qi |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi Qi, Yes Vladimir |
Beta Was this translation helpful? Give feedback.
-
Hi, I try to compare a full mesh vs an amr mesh. It is not working for me. See the attached solutions. Thanks, PS, the amr is non-conforming but it is saved as "MFEM mesh v1.0". But I do not think it is the reason. |
Beta Was this translation helpful? Give feedback.
Hi Qi,
Yes
field-diff
should work with AMR meshes, but we don't have a parallel version yet. You can use thePrintAsOne
andSaveAsOne
methods ofParMesh
andParGridFunction
and usefield-diff
on the resulting files.Vladimir