Code_Saturne/Syrthes coupling

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
andrea28
Posts: 41
Joined: Fri Apr 15, 2016 7:25 pm

Code_Saturne/Syrthes coupling

Post by andrea28 »

Hello,
I am running a coupled simulation, I made the simulation for the fluid and the solid separately and now I'm trying to couple them, but I get the following error in the fluid directory:
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: 0x7fcb7252ece5 <cs_syr_coupling_all_init+0xb05> (libsaturne.so.0)
2: 0x7fcb72469b2b <cs_run+0xfb> (libsaturne.so.0)
3: 0x7fcb72469922 <main+0x112> (libsaturne.so.0)
4: 0x7fcb6fbeeb15 <__libc_start_main+0xf5> (libc.so.6)
5: 0x4008e9 <> (cs_solver)
End of stack

Any idea?

Regards,

Andrea
Attachments
listing.txt
(25.61 KiB) Downloaded 222 times
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Code_Saturne/Syrthes coupling

Post by Yvan Fournier »

Hello,

It seems you defined multiple couplings, both named SOLID, while you only have one coupled Syrthes computation. You probably need to define only one coupling in the Code_Saturne GUI (use "and" to combine your selection criteria). In case of multiple couplings, the name becomes important, as it must match the Syrthes subdirectory (case) name.

Regards,

Yvan
andrea28
Posts: 41
Joined: Fri Apr 15, 2016 7:25 pm

Re: Code_Saturne/Syrthes coupling

Post by andrea28 »

So I have 2 surfaces interested by the conjugate heat transfer:
-in CS GUI I put in the "selection criteria" "8 and 6"
-in SYRTHES in the "References" "16 13"
Is that correct?
I want that 8 interacts with 16 and 6 with 13.
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Code_Saturne/Syrthes coupling

Post by Yvan Fournier »

Hello,

Yes, interaction only occurs for surfaces "in contact" (or very close), so "and" should work fine here.

Regards,

Yvan
andrea28
Posts: 41
Joined: Fri Apr 15, 2016 7:25 pm

Re: Code_Saturne/Syrthes coupling

Post by andrea28 »

Hello,
I managed to create 2 different directory for Syrthes cases, with different names. Everything seems to work but in practice the calculation doesn't start. From the listing I see that CS tries to create 3 couplings but I put there only two.
I attached the listing and the routine I am using.
Attachments
coupling_parameters.py
(1.26 KiB) Downloaded 233 times
cs_user_coupling.c
(3.37 KiB) Downloaded 241 times
listing.txt
(26.69 KiB) Downloaded 212 times
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Code_Saturne/Syrthes coupling

Post by Yvan Fournier »

Hello,

Do you also have any definitions using the GUI ? This might lead to multiple definitions.

Regards,

Yvan
andrea28
Posts: 41
Joined: Fri Apr 15, 2016 7:25 pm

Re: Code_Saturne/Syrthes coupling

Post by andrea28 »

Thanks!!!
Now it works just fine.
Post Reply