Page 1 of 1

Comparing two different grids

Posted: Thu Jul 05, 2012 12:47 pm
by cyrillic
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?

Re: Comparing two different grids

Posted: Thu Jul 05, 2012 1:34 pm
by Yvan Fournier
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

Re: Comparing two different grids

Posted: Thu Jul 05, 2012 3:17 pm
by cyrillic
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?

Re: Comparing two different grids

Posted: Thu Jul 05, 2012 6:13 pm
by Yvan Fournier
Hello,

Yes, EnSight can do this using the CaseMap function of its calculator.

Regards,

Yvan