Page 1 of 1

Code_Saturne/Syrthes coupling

Posted: Thu Aug 11, 2016 8:50 am
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

Re: Code_Saturne/Syrthes coupling

Posted: Thu Aug 11, 2016 10:15 am
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

Re: Code_Saturne/Syrthes coupling

Posted: Thu Aug 11, 2016 10:30 am
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.

Re: Code_Saturne/Syrthes coupling

Posted: Thu Aug 11, 2016 1:01 pm
by Yvan Fournier
Hello,

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

Regards,

Yvan

Re: Code_Saturne/Syrthes coupling

Posted: Fri Aug 12, 2016 11:07 am
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.

Re: Code_Saturne/Syrthes coupling

Posted: Fri Aug 12, 2016 2:39 pm
by Yvan Fournier
Hello,

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

Regards,

Yvan

Re: Code_Saturne/Syrthes coupling

Posted: Mon Aug 15, 2016 11:05 am
by andrea28
Thanks!!!
Now it works just fine.