About CS coupling with Syrthes

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Jundi He
Posts: 106
Joined: Fri Jan 13, 2017 3:23 pm

About CS coupling with Syrthes

Post by Jundi He »

Hello:

Now I have a simulation which has a fluid domain and solid domain. The fluid and solid geometries and mesh are built and generated by Salome. In the coupling of CS and Syrthes, I firstly independently run the fluid and solid simulation, and then click the conjugate heat transfer in CS and Syrthes, and couple the surface of the fluid and solid domain. After that I run the simulation in Code Saturne, and it came out with an Error, can't continue with the computation. The error file in the result folder says:

../../../code_saturne-4.0.6/src/base/cs_syr_coupling.c:937: Fatal error.

At least 1 SYRTHES coupling was defined for which
no communication with a SYRTHES instance is possible.


Call stack:
1: 0x7f24a8983858 <cs_syr_coupling_all_init+0xe8> (libsaturne.so.0)
2: 0x7f24a88d4e01 <cs_run+0x101> (libsaturne.so.0)
3: 0x7f24a88d4bdf <main+0xff> (libsaturne.so.0)
4: 0x7f24a84c3830 <__libc_start_main+0xf0> (libc.so.6)
5: 0x400879 <_start+0x29> (cs_solver)
End of stack

And I wonder what's the problem in my simulation. Thanks!
Yvan Fournier
Posts: 4080
Joined: Mon Feb 20, 2012 3:25 pm

Re: About CS coupling with Syrthes

Post by Yvan Fournier »

Hello,

Could you post the other information items recommended in this forum ? (meshes are not necessary, the rest may be).

Regards,

Yvan
Jundi He
Posts: 106
Joined: Fri Jan 13, 2017 3:23 pm

Re: About CS coupling with Syrthes

Post by Jundi He »

Thanks!

My geometry is a simple one, the fluid domain is in the below with the solid domain above. They share a face which is the top face of the fluid and the bottom face of the solid. The attached files are the solid and fluid geometries and the settings of conjugate heat transfer in code saturne and syrthes.
Attachments
Settings
Settings
Fluid Domain
Fluid Domain
Solid Domain
Solid Domain
Jundi He
Posts: 106
Joined: Fri Jan 13, 2017 3:23 pm

Re: About CS coupling with Syrthes

Post by Jundi He »

And also, this is my coupling parameters file. I don't know why I can't upload my case file of code saturne and syrthes, and also the listing file.
Attachments
coupling_parameters.py
(1.06 KiB) Downloaded 185 times
Jundi He
Posts: 106
Joined: Fri Jan 13, 2017 3:23 pm

Re: About CS coupling with Syrthes

Post by Jundi He »

And this is my listing file
Attachments
listing.txt
(22.28 KiB) Downloaded 170 times
Jundi He
Posts: 106
Joined: Fri Jan 13, 2017 3:23 pm

Re: About CS coupling with Syrthes

Post by Jundi He »

And this is my case file of Code saturne and Syrthes, just rename them by delete the ".txt", I just found that only file with a suffix can be uploaded in this forum. Thank you!
Attachments
example.syd.txt
(3.06 KiB) Downloaded 186 times
example.txt
(7.89 KiB) Downloaded 181 times
Yvan Fournier
Posts: 4080
Joined: Mon Feb 20, 2012 3:25 pm

Re: About CS coupling with Syrthes

Post by Yvan Fournier »

Hello,

You still did not provide enough info on the setup. Could you provide the Code_Saturne XML file and user subroutines, and the Syrthes logs ?

Regards,

Yvan
Jundi He
Posts: 106
Joined: Fri Jan 13, 2017 3:23 pm

Re: About CS coupling with Syrthes

Post by Jundi He »

Hi I think I've run the coupling case in the wrong way by directly click on "run case" on code saturne. Today after I set up the fluid and solid domain and independently run them on CS and Syrthes, I save both case, and execute the "runcase" file. There seems to be some other Errors, this is the screenshot. Thanks.
Attachments
2017-01-16-180915_1920x1200_scrot.png
Jundi He
Posts: 106
Joined: Fri Jan 13, 2017 3:23 pm

Re: About CS coupling with Syrthes

Post by Jundi He »

The Error says that I am lack of a file syrthes4.3.0/arch/x64/lib/libsyrthes_cfd.a, when I click into this directory, I only see a file named libsyrthes_seq, is there some relations between these two files? Thank you again for the help.
Yvan Fournier
Posts: 4080
Joined: Mon Feb 20, 2012 3:25 pm

Re: About CS coupling with Syrthes

Post by Yvan Fournier »

Hello,

This is probably an installation issue. At the end of your setup.ini for Syrthes installation, you need both to indicate a path to the PLE library (part of Code_Saturne, which can also be installed alone), and to indicate you want to build the CFD coupling part. Both are near the end of that file, so you should check that.

Regards,

Yvan
Post Reply