Page 1 of 2

coupling with syrthes failure

Posted: Mon May 30, 2016 1:51 pm
by siden
Hi,

I try to make a modelisation of a heat exchanger but I can't make the coupling of CS and syrthes working.
I wanted to make at first a simple case to have the right parameters for the coupling so I created a simpe water pipe surrounded by water and I want to see theheat exchange.

Here is what the terminal is telling me when I run the case

Code: Select all

 Coupling execution between: 
   o Code_Saturne [2 domain(s)];
   o SYRTHES      [1 domain(s)];


                      Code_Saturne
                      ************

 Version:   4.2
 Path:      /usr

 Result directory:
   /home/denis/test_syrthes/pipeHX/RESU_COUPLING/20160530-1358



 ****************************
  Preparing calculation data
 ****************************

 SYRTHES4 home directory: /usr/lib/syrthes
 MPI home directory: /usr
 Building the executable file syrthes.. 

  *****  SYRTHES compilation and link completed *****
 Code_Saturne domain eau on 1 process(es).
 Code_Saturne domain eau2 on 1 process(es).
 Single processor SYRTHES simulation.


 ***************************
  Preprocessing calculation
 ***************************


  SyrthesCase summary:

    Name =                         tube
    Data file =                    tube.syd
    Update Data file =             True
    Do preprocessing =             True
    Debug =                        False
    Case dir. =                    /home/denis/test_syrthes/pipeHX/tube
    Execution dir. =               /home/denis/test_syrthes/pipeHX/RESU_COUPLING/20160530-1358/tube
    Data dir. =                    /home/denis/test_syrthes/pipeHX/tube
    Source dir. =                  /home/denis/test_syrthes/pipeHX/tube
    Post dir. =                    /home/denis/test_syrthes/pipeHX/RESU_COUPLING/20160530-1358/tube/POST

    Conduction mesh dir. =         /home/denis/test_syrthes/pipeHX/MESH
    Conduction mesh name =         tube.syr

    Total num. of processes =      1
    Logfile name            =      syrthes.log
    Echo =                         True
    Parallel run =                 False
    Do preprocessing =             True

   SyrthesParam summary
    Param file name =            tube.syd
    Conduction mesh name =       /home/denis/test_syrthes/pipeHX/MESH/tube.syr
    Radiation mesh name =        None
    Result prefix. =             resu1
    Restart =                    False
    Coupling =                   True
    Interpreted functions =      False


  ---------------------------
  Start SYRTHES preprocessing
  ---------------------------

Updating the mesh file name.. 
   -> OK


 **********************
  Starting calculation
 **********************

--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI COMMUNICATOR 3 SPLIT FROM 0 
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
-------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code.. Per user-direction, the job has been aborted.
-------------------------------------------------------
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI COMMUNICATOR 3 SPLIT FROM 0 
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI COMMUNICATOR 3 SPLIT FROM 0 
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpiexec.openmpi detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

  Process name: [[55125,1],0]
  Exit code:    1
--------------------------------------------------------------------------
 solver script exited with status 1.

Error running the coupled calculation.

Either Code_Saturne or SYRTHES may have failed.

Check Code_Saturne log (listing) and SYRTHES log (syrthes.log)
for details, as well as error* files.


 ****************************
  Saving calculation results
 ****************************

 Error in calculation stage.
I have exactly the same error with the two fluid domains.
I don't have a Clue where it's not working.
the mesh between the faces are the same for the coupling.

Re: coupling with syrthes failure

Posted: Thu Jun 02, 2016 10:13 pm
by Yvan Fournier
Hello,

I did not see any obvious error, but since you have 2 fluid domains, could you post both listing files. Murphy's law helping, the interesting info might be in the one you omitted... Also, did you try coupling one domaon at a time ?

Regards,

Yvan

Re: coupling with syrthes failure

Posted: Sun Jun 05, 2016 8:22 am
by siden
Hi,Like i Wrot in the first message, the listing file of the other domain is giving exactly the same thing.

It seems that it stops while CS is reading the mesh.where can I see what's wrong during this process?
without coupling this step is working perfecly right

if i make a case with only 1 fluid domain I have exactly the same error

Re: coupling with syrthes failure

Posted: Sun Jun 05, 2016 2:12 pm
by Yvan Fournier
Hello,

I believe (bu am not sure) the issue is due to Syrthes stopping the computation, for some reason...

Could you increase the Syrthes verbosity, to see if it provides more info ?

With Code_Saturne version 4.2, you might also try running the case under a debugger (this is now available in the GUI, in the advanced settings of the "prepare calculation" section.

Otherwise, if your case is small enough, could you post it here ?

Regards,

Yvan

Re: coupling with syrthes failure

Posted: Fri Jun 10, 2016 4:38 pm
by siden
ow can I increase the syrthes verbosity?

If i use the debugger in code saturne I don't have a listing file anymore.

I let the case attached

Re: coupling with syrthes failure

Posted: Wed Jun 15, 2016 11:26 am
by Yvan Fournier
Hello,

I downloaded your case, and will try to look into it, but won't have much time before a week or so. I'll keep you informed.

Regards,

Yvan

Re: coupling with syrthes failure

Posted: Fri Jul 01, 2016 5:23 pm
by siden
any news?

Re: coupling with syrthes failure

Posted: Sun Jul 03, 2016 5:42 pm
by Yvan Fournier
Hello,

You do not seem to be defining a syrthes coupling (why do you keep the "if (false)" test in cs_user_coupling ?

If you active the couplings, things go a bit further, but it seems you do not have any SYRTHES faces selected for coupling (or your Syrthes BC selection criteria "eau" does not match the existing faces of your solid mesh).

Regards,

Yvan

Re: coupling with syrthes failure

Posted: Sun Jul 03, 2016 10:02 pm
by siden
yes I've seen the bug with the remaining "if(false)"

But that's not solving my problem. where do you see i have no syrthes face selected?
the .syr_desc give me the following

Code: Select all

group_of_volumes    1    Group_Of_All_Edges
group_of_volumes    2    Group_Of_All_Faces
group_of_volumes    3    Group_Of_All_Volumes
group_of_faces    6    Group_Of_All_Faces_wall_tube
group_of_volumes    7    Group_Of_All_Faces_interface_tube_eau
group_of_volumes    8    Group_Of_All_Faces_interface_tube_eau2
group_of_nodes    1    Group_Of_All_Nodes
group_of_nodes    2    Group_Of_All_Nodes_interface_tube_eau_wall_tube
group_of_nodes    3    Group_Of_All_Nodes_interface_tube_eau
group_of_nodes    4    Group_Of_All_Nodes_interface_tube_eau2_wall_tube
group_of_nodes    5    Group_Of_All_Nodes_interface_tube_eau2
which one should I select for face coupling? the group of node or group of volumes?
what is this "wall_tube" extentions meaning?

I'm starting with this software so i may missing something.

Regards

Re: coupling with syrthes failure

Posted: Sun Jul 03, 2016 11:07 pm
by Yvan Fournier
Hello,

I saw the message in the syrthes.log (or actually, its redirection under a debugger).

You would need a group of faces matching "interface_tube_eau" and use that group's number instead of "eau" in the tube.syd file, but it seems you only have vertex groups, not face groups, so you need to add those to your mesh.

Regards,

Yvan