Comparing two different grids

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
cyrillic

Comparing two different grids

Post 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?
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: Comparing two different grids

Post 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
cyrillic

Re: Comparing two different grids

Post 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?
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: Comparing two different grids

Post by Yvan Fournier »

Hello,

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

Regards,

Yvan
Post Reply