Tutorial: 02_full_domain doesn't work

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
pici1251
Posts: 9
Joined: Wed May 20, 2020 11:11 am

Tutorial: 02_full_domain doesn't work

Post by pici1251 »

Hi to everybody,
I'm new to Code_Saturne, and I'm trying to rerun tutorials.
1th , 01_simple_junction, is ok; but, because PDF file is written for Code_Saturne rel.5.2, the correct correspondence between commands and GUI for cs6.0.2 is missing.
Now, I'm testing the tutorial in the subject, but I'm not able to find any result: it doesn't work at all. Perhaps I was wrong, perhaps the pdf file is written for cs5.2 too, I must ask help.
This is the response:
*****************************
Post-calculation operations
*****************************

solver script exited with status 1.

Error running the calculation.

Check Code_Saturne log (listing) and error* files for details.

Error in calculation stage.
Attached you will find setup.xml and listing files.
I'm using Ubuntu 18.04 and Salome9.4 (without Salome_CFD!).
I hope someone has the possibility to help me.
Many thanks and Ciao.
Piero

ps. there are some tutorial written for cs6.0.2?
Attachments
run_solver.log
listing
(23.07 KiB) Downloaded 163 times
setup.xml
(12.05 KiB) Downloaded 169 times
Piero
hw: AMD Ryzen Threadripper 1900X 8-Core Processor × 8 - 64GB Ram
OS: Ubuntu-Mate 18.04 (preferred) + Windows 10Pro (needed)
Yvan Fournier
Posts: 4091
Joined: Mon Feb 20, 2012 3:25 pm

Re: Tutorial: 02_full_domain doesn't work

Post by Yvan Fournier »

Hello,

I found the bug. This is simply due to a false positive in a divergence test, which seems to work better on most cases.

If you replace the attached file in src/alge in the code sources and reinstall, things should be fine. I'll add the fix in 6.0.3.

I do not know if there are any plans for upgrading the tutorials. Or if some of them may already have been upgraded for training sessions but not uploaded. In any case, the differences (at least for the features used in the basic tutorials) are mostly cosmetic.

thanks for the bug report.

Yvan
Attachments
cs_sles_it.c
(170.64 KiB) Downloaded 163 times
pici1251
Posts: 9
Joined: Wed May 20, 2020 11:11 am

Re: Tutorial: 02_full_domain doesn't work

Post by pici1251 »

Hi Yvan,
just for info, the right directory for the new source routine is:
code_saturne-6.0.2/src/alge ???
Thank you for your fast reply.
Bye,
Piero
Piero
hw: AMD Ryzen Threadripper 1900X 8-Core Processor × 8 - 64GB Ram
OS: Ubuntu-Mate 18.04 (preferred) + Windows 10Pro (needed)
Yvan Fournier
Posts: 4091
Joined: Mon Feb 20, 2012 3:25 pm

Re: Tutorial: 02_full_domain doesn't work

Post by Yvan Fournier »

Hello,

Yes, that is correct.

Also, the tutorials for v6.0 had been updated, but not uploaded to this site. I updated the tutorials section with the new tutorial versions a few minutes ago.

Best regards,

Yvan
pici1251
Posts: 9
Joined: Wed May 20, 2020 11:11 am

Re: Tutorial: 02_full_domain doesn't work

Post by pici1251 »

Hi Yvan,
thank you a lot, also for new Tutorials.
Ciao
Piero
Piero
hw: AMD Ryzen Threadripper 1900X 8-Core Processor × 8 - 64GB Ram
OS: Ubuntu-Mate 18.04 (preferred) + Windows 10Pro (needed)
pici1251
Posts: 9
Joined: Wed May 20, 2020 11:11 am

Re: Tutorial: 02_full_domain doesn't work

Post by pici1251 »

Hi Yvan,
I did a new comiplation with modified routine: it works perfectly! :D :D

Ciao, Piero
Piero
hw: AMD Ryzen Threadripper 1900X 8-Core Processor × 8 - 64GB Ram
OS: Ubuntu-Mate 18.04 (preferred) + Windows 10Pro (needed)
Post Reply