At the end of a simulation using two mesh refinements I would like to subtract the results from a fine mesh from the results on a coarse one. The goal is to have a colour map on the coarse grid of the difference in the two solution.
It has been suggested that this might be possible by using an already used function in Saturne when restarting a calculation using a mesh that has a different refinement.
Any suggestions to do with this or another method?
Comparing two different grids
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Comparing two different grids
Hello,
Doing this sort of restart in Code_Saturne is not trivial (you would need to couple 2 instances of the code, and use interpolation from one to the other to generate the output; all this using user subroutines and C functions).
I believe EnSight has the required mesh mapping functions. I am not sure if ParaView or VisIt have something equivalent, but you should probably try this first.
Regards,
Yvan
Doing this sort of restart in Code_Saturne is not trivial (you would need to couple 2 instances of the code, and use interpolation from one to the other to generate the output; all this using user subroutines and C functions).
I believe EnSight has the required mesh mapping functions. I am not sure if ParaView or VisIt have something equivalent, but you should probably try this first.
Regards,
Yvan
Re: Comparing two different grids
Hi, thanks for your response. I'm a Paraview user, are you saying Ensight can produce by itself a colourmap of the difference between two results?
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Comparing two different grids
Hello,
Yes, EnSight can do this using the CaseMap function of its calculator.
Regards,
Yvan
Yes, EnSight can do this using the CaseMap function of its calculator.
Regards,
Yvan