Search found 74 matches

by MartianDuan
Thu Dec 11, 2014 11:55 pm
Forum: code_saturne usage
Topic: How to control the interval of checkpoint
Replies: 8
Views: 4006

Re: How to control the interval of checkpoint

Hi Yvan, I putted the 'control_file' in the directory <Study_Case>/RESU/********-****, which should be my executive directory. It seems the 'control_file' did not work. The attached is the 'control_file' and 'cs_user_scripts.py'. Can you please have a look? I can't thank you enough for your help. Yu...
by MartianDuan
Tue Dec 09, 2014 10:54 pm
Forum: code_saturne usage
Topic: How to control the interval of checkpoint
Replies: 8
Views: 4006

Re: How to control the interval of checkpoint

Hi Yvan, I found a interesting thing that the 'control_file' will be deleted after the simulation running. I put is in the excecutive directory like '/RESU/20141209-1344'. When I had a look at this directory again, the 'control_file' dissapeared. Do you have any idea about this? I am using code_satu...
by MartianDuan
Tue Dec 09, 2014 12:40 pm
Forum: code_saturne usage
Topic: How to control the interval of checkpoint
Replies: 8
Views: 4006

Re: How to control the interval of checkpoint

Hi Yvan, I check the manual but I did not find any example. Can the control file just contain two lines like: max_time_step <14000> checkpoint_time_step <400> I attached the file as well. Can you please have a look? Thanks, Yu. Hello, If you are using user subroutines, you will find all relevant inf...
by MartianDuan
Mon Dec 08, 2014 4:53 pm
Forum: code_saturne usage
Topic: Restart save frequency
Replies: 5
Views: 3156

Re: Restart save frequency

Hi Yvan, I had check the manual, but it did not offer some exemple. Can the lines in 'control_file' be simply like: max_time_step <14000> checkpoint_time_step <400> The file is attached. the extention '.log' is to make the file can be uploaded. Thanks very much. Yu Hello, Currently, new checkpoints ...
by MartianDuan
Mon Dec 08, 2014 12:58 pm
Forum: code_saturne usage
Topic: How to control the interval of checkpoint
Replies: 8
Views: 4006

Re: How to control the interval of checkpoint

Hi Yvan, I am using the subroutines to set up the case. Can you please give me some ideal about modify the saving interval of checkpoint? I am running the case on the supercomputers, the job would killed if the required time is up. For example, I had a case had been forced to stop at time step 3228,...
by MartianDuan
Sun Dec 07, 2014 2:19 am
Forum: code_saturne usage
Topic: How to control the interval of checkpoint
Replies: 8
Views: 4006

How to control the interval of checkpoint

Hello developer and user, I am using code_saturne 3.0.*. I am trouble with auto saving interval of chechpoint. It waste a lot of my computing sources. Can it be modified by change the value like: if ture: domain_auto_restart(domain, 200) return in 'cs_user_scripts.py'. Waiting for your reply. Thanks...
by MartianDuan
Sun Nov 30, 2014 5:21 pm
Forum: code_saturne usage
Topic: Is any possible to change NTERUP in V3.0.3
Replies: 1
Views: 1511

Is any possible to change NTERUP in V3.0.3

Dear developers and userd,

I came across some converage problem in my current simulation. I think change the number of sweep in pressure/velocity would help. Can you please give me some idea?

Thanks in advance,

Yu.
by MartianDuan
Fri Nov 28, 2014 3:14 pm
Forum: code_saturne usage
Topic: Wall shear stress calculation
Replies: 20
Views: 14436

Re: Wall shear stress calculation

Hello Yvan, Sorry for interrupting again. Now I came across a problem on reusing the result of accumulation calculated previously. Can we save the results of user defined array into the 'checkpiont'? Or, do we had any other solution for this problem? Thanks in advance, Yu. Hello, In your code: f(itu...
by MartianDuan
Wed Nov 26, 2014 11:48 am
Forum: code_saturne usage
Topic: Wall shear stress calculation
Replies: 20
Views: 14436

Re: Wall shear stress calculation

Hi Yvan, Thanks very much. The problem solved now. Although my solution is a little bit different from your suggestion. I initialized the user defined array with value zero in the 'cs_use_initialization.f90'. And the accumulation can be defined in 'clptur.f90'. Best wishes, Yu. Hello, In your code: ...
by MartianDuan
Wed Nov 19, 2014 12:43 pm
Forum: code_saturne usage
Topic: Wall shear stress calculation
Replies: 20
Views: 14436

Re: Wall shear stress calculation

Dear Yvan, Please see my attached 'clptur.f90'. What I added is from line 705 to line 717. What I did in the 'cs_user_postprocess_var.f90' is just write the wall shear stress and friction velocity in to the us_results. Thanks in advance, Yu. Hello, Could you please follow the forum usage recommendat...