Dear
I am currently using version 4.3 of code_saturne, as I can setup the Crank Nicolson time schemes??.
(Default uses Backward Euler right?)
Best regards from Argentina
Jonathan
Crank-Nicolson
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Crank-Nicolson
Hello,
I'm not 100% sure about default. Are you using the GUI ? What do the listing and setup.log say ?
Regards,
Yvan
I'm not 100% sure about default. Are you using the GUI ? What do the listing and setup.log say ?
Regards,
Yvan
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Crank-Nicolson
Hello,
I'm not 100% sure about default. Are you using the GUI ? What do the listing and setup.log say ?
Regards,
Yvan
I'm not 100% sure about default. Are you using the GUI ? What do the listing and setup.log say ?
Regards,
Yvan
Re: Crank-Nicolson
yes, I'm using the GUI,
setup.log says thetav = 1 and ischtp not look.
setup.log says thetav = 1 and ischtp not look.
-
- Posts: 284
- Joined: Fri Dec 04, 2015 1:42 pm
Re: Crank-Nicolson
Hello,
The option to change the time stepping scheme is "ischtp", the doxygen doc says that ischtp=1 is 1st order (default) and ischtp=2: 2nd order.
I think that you can set it using the subroutine usipsu in the cs_user_parameters.f90 by setting ischtp=2. Also, if ischtp=2 the code set thetav=0.5 for transient simulations (istat=1) in modini.f90
Regards,
Luciano
The option to change the time stepping scheme is "ischtp", the doxygen doc says that ischtp=1 is 1st order (default) and ischtp=2: 2nd order.
I think that you can set it using the subroutine usipsu in the cs_user_parameters.f90 by setting ischtp=2. Also, if ischtp=2 the code set thetav=0.5 for transient simulations (istat=1) in modini.f90
Regards,
Luciano