Page 1 of 2

Second order time scheme

Posted: Thu Sep 04, 2014 5:41 pm
by fomeh
Hello guys

Could someone explain to me how to activate the second order time scheme in CS? I can't find this option in the GUI.

Thanks

Re: Second order time scheme

Posted: Thu Sep 04, 2014 7:24 pm
by Jacques Fontaine
Hello,

In which version of Code_Saturne?
The solution is probably in user doc.

Re: Second order time scheme

Posted: Thu Sep 04, 2014 7:28 pm
by fomeh
Hi Jacques,

I'm using 3.0.0.

Re: Second order time scheme

Posted: Mon Sep 08, 2014 4:37 pm
by fomeh
According to the user guide of CS, this parameter should be modified via the user subroutine parameters under -usipsu. However when I add

Code: Select all

ischtp = 2
to cs_user_parameters.f90, the simulation crashes without generating any error file. Any comment would be appreciated.

Re: Second order time scheme

Posted: Tue Sep 09, 2014 9:53 am
by Jacques Fontaine
There is no error message in listing ?

Re: Second order time scheme

Posted: Tue Sep 09, 2014 2:46 pm
by fomeh
Jacques Fontaine wrote:There is no error message in listing ?
It stops after this message:
Call stack:
1: 0x7fcc1678d3cd <varpos_+0x341d> (libsaturne.so.0)
2: 0x7fcc1671b511 <iniusi_+0xbd1> (libsaturne.so.0)
3: 0x7fcc1671a553 <initi1_+0x4b> (libsaturne.so.0)
4: 0x7fcc1664e344 <cs_run+0x6f4> (libsaturne.so.0)
5: 0x7fcc1664e805 <main+0x155> (libsaturne.so.0)
6: 0x30ee41ecdd <__libc_start_main+0xfd> (libc.so.6)
7: 0x4018d9 <> (cs_solver)
End of stack

Re: Second order time scheme

Posted: Tue Sep 09, 2014 4:22 pm
by Jacques Fontaine
And 20 lines above this call stack?

Re: Second order time scheme

Posted: Tue Sep 09, 2014 4:37 pm
by fomeh
Jacques Fontaine wrote:And 20 lines above this call stack?
***************************************************************


Local case configuration:

Date: Tue 09 Sep 2014 11:30:28 AM EDT
System: Linux 2.6.32-71.el6.x86_64
Machine: titan
Processor: model name : Intel(R) Xeon(R) CPU X7550 @ 2.00GHz
Memory: 1034002 MB
User: fomeh
Directory: /home/
I/O read method: standard input and output, serial access
I/O write method: standard input and output, serial access

Reading metadata from file: "mesh_input"

Call stack:
1: 0x7f029b86b3cd <varpos_+0x341d> (libsaturne.so.0)
2: 0x7f029b7f9511 <iniusi_+0xbd1> (libsaturne.so.0)
3: 0x7f029b7f8553 <initi1_+0x4b> (libsaturne.so.0)
4: 0x7f029b72c344 <cs_run+0x6f4> (libsaturne.so.0)
5: 0x7f029b72c805 <main+0x155> (libsaturne.so.0)
6: 0x346d21ecdd <__libc_start_main+0xfd> (libc.so.6)
7: 0x4018d9 <> (cs_solver)
End of stack


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

solver script exited with status 1.

Error running the calculation.

Check code_saturne log (listing) and error* files for details.

Error in calculation stage.

Re: Second order time scheme

Posted: Wed Sep 10, 2014 2:59 pm
by Jacques Fontaine
Could you attach your listing here?

Re: Second order time scheme

Posted: Wed Sep 10, 2014 8:39 pm
by fomeh
I've attached.

Do you need my param file and user subroutine aswell?

Tnx