Second order time scheme

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

Second order time scheme

Post 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
Jacques Fontaine
Posts: 118
Joined: Mon Feb 20, 2012 2:07 pm

Re: Second order time scheme

Post by Jacques Fontaine »

Hello,

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

Re: Second order time scheme

Post by fomeh »

Hi Jacques,

I'm using 3.0.0.
fomeh

Re: Second order time scheme

Post 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.
Jacques Fontaine
Posts: 118
Joined: Mon Feb 20, 2012 2:07 pm

Re: Second order time scheme

Post by Jacques Fontaine »

There is no error message in listing ?
fomeh

Re: Second order time scheme

Post 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
Jacques Fontaine
Posts: 118
Joined: Mon Feb 20, 2012 2:07 pm

Re: Second order time scheme

Post by Jacques Fontaine »

And 20 lines above this call stack?
fomeh

Re: Second order time scheme

Post 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.
Jacques Fontaine
Posts: 118
Joined: Mon Feb 20, 2012 2:07 pm

Re: Second order time scheme

Post by Jacques Fontaine »

Could you attach your listing here?
fomeh

Re: Second order time scheme

Post by fomeh »

I've attached.

Do you need my param file and user subroutine aswell?

Tnx
Attachments
listing.txt
(2.95 KiB) Downloaded 599 times
Post Reply