Coupling multiple fluid domains

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
pklimas

Coupling multiple fluid domains

Post by pklimas »

Hi Yvan,

Now that I have two domain (code_saturne/syrthes) coupling working, I am attempting to setup a three domain (CS water, CS air, and syrthes solid) case. To do this, I have created a water/air heat exchanger (obviously no fluid mixing) test case. However I'm having some difficulty running it with CS 3.0.0/Syrthes4.

To create the two fluid domains and one solid (thermal) domain I used:

Code: Select all

code_saturne create -s CaseName -c Water_Domain -c Air_Domain --syrthes Thermal_Domain
As expected, the output of this command is an appropriate directory structures for the each fluid domain and a syrthes thermal domain. Furthermore, it creates the "runcase_coupling" file with the three domains as shown below:

Code: Select all

# Define coupled domains
domains = [

    {'solver': 'Code_Saturne',
     'domain': 'Water_Domain',
     'script': 'runcase',
     'n_procs_weight': None,
     'n_procs_min': 1,
     'n_procs_max': 1}

    ,
    {'solver': 'Code_Saturne',
     'domain': 'Air_Domain',
     'script': 'runcase',
     'n_procs_weight': None,
     'n_procs_min': 1,
     'n_procs_max': 1}

    ,
    {'solver': 'SYRTHES',
     'domain': 'Thermal_Domain',
     'script': 'Thermal_Domain.syd',
     'n_procs_weight': None,
     'n_procs_min': 1,
     'n_procs_max': 1,
     'opt' : '-v ens'}               # Additional SYRTHES options
                               # (ex.: postprocessing with '-v ens' or '-v med')
    ]
However, when I try to run the three domain coupled solution I get the following error:

Code: Select all

**********************
  Starting calculation
**********************
--------------------------------------------------------------------------
mpiexec noticed that process rank 0 with PID 30706 on node cae-desktop exited on signal 11 (Segmentation fault).
--------------------------------------------------------------------------
solver script exited with status 139.
Error running the coupled calculation.

Either code_saturne or SYRTHES may have failed
Please note that if I update my analysis to only have two domains (water/thermal or air/thermal) by commenting out the appropriate section in the "runcase_coupling" file and unchecking the appropriate surface coupling in syrthes, the solve functions properly.

Is there something special that needs to be done to couple the third domain?

I have attached the listing files from the three domains in hopes that they help with a solution.

Many thanks in advance!
Peter
Attachments
Air_Domain_listing.log
(23.54 KiB) Downloaded 164 times
Water_Domain_listing.log
(23.47 KiB) Downloaded 164 times
syrthes.log
(6.18 KiB) Downloaded 161 times
Yvan Fournier
Posts: 4080
Joined: Mon Feb 20, 2012 3:25 pm

Re: Coupling multiple fluid domains

Post by Yvan Fournier »

Hello,

There are not many changes, but when coupling more than 2 domains, you need to be careful both in the Syrthes and Code_Saturne conjugate heat transfer coupling descriptions (using their respective GUIs) to define the proper names for coupled domains (names should match directory/case names). These are not used with a single coupling (as it is not ambiguous even without them), but are required with more complex situations.

Regards,

Yvan
Post Reply