Problem with the post-treatment in diplacement mode

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Stéphane Blanchet

Re: Problem with the post-treatment in diplacement mode

Post by Stéphane Blanchet »

Yes my result files are not too big, I did the simulation only in a few iterations.

Here is the tar.gz file.

Thank you for helping me.
Attachments
LAGR-06171326-tar.gz
(9.19 KiB) Downloaded 329 times
David Monfort

Re: Problem with the post-treatment in diplacement mode

Post by David Monfort »

Ok... We had several differences with the EnSight 6 format in the way we were writing the particles files (both displacement and trajectories).

Here attached are two files for fixing the bug (hopefully). Could you test them ? You may need to compile a newer version of ParaView (namely the development version 3.9) as they improved the EnSight reader; to be precise, I couldn't correctly visualize the particles with version 3.8.0...

Thanks again for the reporting and testing!

David
Attachments
fix-postpro-lagr.tgz
(7.28 KiB) Downloaded 322 times
Stéphane Blanchet

Re: Problem with the post-treatment in diplacement mode

Post by Stéphane Blanchet »

I have just tried with Paraview 3.8, and I have still the same problem: I can't open the file.
I will try with the version 3.9 later on, when I will find it.
Stéphane.
David Monfort

Re: Problem with the post-treatment in diplacement mode

Post by David Monfort »

Have you tried to use the fixes I suggest? If so, could you attach the result files for the Lagrangian stuff so that I can check on my computer (with different versions of EnSight and ParaView).
As regards ParaView 3.9, you won't find any binaries snapshot (AFAIK). Instead, you'll have to clone the git repository and to compile the code by yourself (a long and disk-memory-consuming task...).
David
Stéphane Blanchet

Re: Problem with the post-treatment in diplacement mode

Post by Stéphane Blanchet »

Yes I tried with the fixes, here are my results.

Thank you for the information about Paraview 3.9, unfortunately I won't have time to do that.

I forgot to ask you: is that possible to simulate multiphasic flows with Code_Saturne (for example water + air flow simulation)?

Furthermore, I noticed I can only use 1 core when using "particles + droplets tracking", is that normal?

Stéphane
Attachments
LAGR-06230903-tar.gz
(39.18 KiB) Downloaded 309 times
David Monfort

Re: Problem with the post-treatment in diplacement mode

Post by David Monfort »

Hi,
It seems you haven't properly used the fixes (looking at the results files). The easiest way to use them is to drop the two files in the SRC directory of your test-case, the other way being to drop them in the ncs-2.0.0-rc1/src/lagr directory and to recompile/reinstall the code.
Concerning your two other questions: - Code_Saturne cannot simulate multiphasic "Euler/Euler" flows (though there is a NPHAS variable in the code...). We have a dedicated code for that, sort of "cousin" of Code_Saturne as they share much of the code, but it is not open-source. - Parallel run for "particles tracking" is under development/testing and will available in a 2.1 release of Code_Saturne (probably before the end of the 2010).
David
Stéphane Blanchet

Re: Problem with the post-treatment in diplacement mode

Post by Stéphane Blanchet »

Hi,
Thank you for your answers. You are right, I did not properly used the fixes, sorry about that. I tried again and it works fine!
Thanks again,
Stéphane
Post Reply