Coupling Neptune/syrthes

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
fchrit
Posts: 14
Joined: Thu Jun 30, 2016 9:33 am

Coupling Neptune/syrthes

Post by fchrit »

Hello
I am trying to do a coupling between syrthes and 2 fluid domains Neptune to study the heat transfer between a fluidized bed and a water cooled tube. The coupling with 1 fluid domain at a time works well but when I try it with 2 fluid domains I get this error in the 1st fluid listing :
SIGTERM signal (termination) received.
--> computation interrupted by environment.

Call stack:
1: 0x2b3c0728ee65 <ompi_request_default_wait+0x55> (libmpi.so.1)
2: 0x2b3c072b01a6 <PMPI_Intercomm_create+0x206> (libmpi.so.1)
3: 0x2b3c065d62ca <ple_coupling_mpi_intracomm_create+0xda> (libple.so.1)
4: 0x2b3c04011477 <cs_syr4_coupling_init_comm+0x1c7> (libsaturne.so.0)
5: 0x2b3c04013e29 <cs_syr_coupling_all_init+0x879> (libsaturne.so.0)
6: 0x2b3c03b95fbb <_ZN11Neptune_CFD12TimeStepping4initEv+0x12b> (libneptune.so.0)
7: 0x2b3c0395218e <main+0x6e> (libneptune.so.0)
8: 0x2b3c05a03f45 <__libc_start_main+0xf5> (libc.so.6)
9: 0x400c59 <> (nc_solver)
End of stack

and pretty much the same in the 2nd fluid listing :
SIGTERM signal (termination) received.
--> computation interrupted by environment.

Call stack:
1: 0x2b329ef40f64 <opal_progress+0x14> (libopen-pal.so.6)
2: 0x2b329d854e65 <ompi_request_default_wait+0x55> (libmpi.so.1)
3: 0x2b329d8761a6 <PMPI_Intercomm_create+0x206> (libmpi.so.1)
4: 0x2b329cb9c2ca <ple_coupling_mpi_intracomm_create+0xda> (libple.so.1)
5: 0x2b329a5d7477 <cs_syr4_coupling_init_comm+0x1c7> (libsaturne.so.0)
6: 0x2b329a5d9e29 <cs_syr_coupling_all_init+0x879> (libsaturne.so.0)
7: 0x2b329a15bfbb <_ZN11Neptune_CFD12TimeStepping4initEv+0x12b> (libneptune.so.0)
8: 0x2b3299f1818e <main+0x6e> (libneptune.so.0)
9: 0x2b329bfc9f45 <__libc_start_main+0xf5> (libc.so.6)
10: 0x400899 <> (nc_solver)
End of stack

Does anyone have an idea how to get through this?
Any help would be greatly appreciated.

Fatima
fchrit
Posts: 14
Joined: Thu Jun 30, 2016 9:33 am

Re: Coupling Neptune/syrthes

Post by fchrit »

I forgot to add that in the syrthes.log I have :
CFD COUPLING INITIALIZATIONS
============================

Cfd struct
app_num: -1
name: solide
do_coupling: 1
coupl_surf : 1
coupl_vol : 0
n_couplings: 1
NEPTUNE_CFD
I think syrthes reads only one coupled surface not 2 but I don't know why?
Fatima
Yvan Fournier
Posts: 4080
Joined: Mon Feb 20, 2012 3:25 pm

Re: Coupling Neptune/syrthes

Post by Yvan Fournier »

Hello,

Did you define 2 separate couplings under Syrthes ? (you must define 2 couplings, not one with 2 zones).

Regards,

Yvan
fchrit
Posts: 14
Joined: Thu Jun 30, 2016 9:33 am

Re: Coupling Neptune/syrthes

Post by fchrit »

Yes, I defined 2 couplings with Neptune_cfd with 2 different references but it doesn't work. It still reads only one coupling in the syrthes.log file.

Fatima
fchrit
Posts: 14
Joined: Thu Jun 30, 2016 9:33 am

Re: Coupling Neptune/syrthes

Post by fchrit »

I actually think that the problem is with the 2 fluid domains not with syrthes, but I still can't figure out how to get through it?
Fatima
Yvan Fournier
Posts: 4080
Joined: Mon Feb 20, 2012 3:25 pm

Re: Coupling Neptune/syrthes

Post by Yvan Fournier »

Hello,

This is strange, as it seems Syrthes only tries to couple with one CFD instance. Coupling one instance of Syrthes with 2 instances of Code_Saturne or NEPTUNE_CFD is not used very often, but it is used occasionally, and should work, though I remermer there may be some sutle aspects to the definition under Syrthes.

Could you post the setup files also (xml files for NEPTTUNE_CFD, .syd file for Syrthes) ?

Regards,

Yvan
fchrit
Posts: 14
Joined: Thu Jun 30, 2016 9:33 am

Re: Coupling Neptune/syrthes

Post by fchrit »

Hello,
Thank you for your reply.
Here are the files of neptune and syrthes.
The extension .syd is not allowed so I attached the file with the extension .odt
Thank you for your help.
Fatima
Attachments
syrthes_data.odt
(2.89 KiB) Downloaded 231 times
cas2.xml
(13.84 KiB) Downloaded 310 times
cas1.xml
(14.17 KiB) Downloaded 273 times
Yvan Fournier
Posts: 4080
Joined: Mon Feb 20, 2012 3:25 pm

Re: Coupling Neptune/syrthes

Post by Yvan Fournier »

Hello,

The setup files seem OK at first glance.

Could you post your fluid "listing" files, as well as the coupling_parameters.py file from the SCRIPTS directory ?

Regards,

Yvan
fchrit
Posts: 14
Joined: Thu Jun 30, 2016 9:33 am

Re: Coupling Neptune/syrthes

Post by fchrit »

Hello,
here are the fluid listings and the coupling parameters file.
thank you for your help.
Fatima
Attachments
listing2.odt
(3.22 KiB) Downloaded 218 times
listing1.odt
(3.12 KiB) Downloaded 215 times
coupling_parameters.py
(1.37 KiB) Downloaded 227 times
Yvan Fournier
Posts: 4080
Joined: Mon Feb 20, 2012 3:25 pm

Re: Coupling Neptune/syrthes

Post by Yvan Fournier »

Hello,

OK, the initialization part seems OK, so It seems the problem is really with Syrthes not seeing the multiple couplings, which is strange.

I'll try to run a similar setup with Code_Saturne to check the Syrthes (.syd) syntax, but I may not have time to do it before a few days...

Regards,

Yvan
Post Reply