|
[Sponsors] |
May 6, 2006, 22:54 |
Batch Processing and auto-save option
|
#1 |
Guest
Posts: n/a
|
Hi,
I am trying to run an unsteady case with FLUENT using the batch processing option. I am having some trouble with the auto-save option when the run-script is used in the batch-mode (run-script attached below). (1) Even though the auto-save frequency is set to 10, no case or data files are generated at the end of the simulation. (2) I know there is a brute-force solution to this problem by writing a script it 20 wc RT1_0020.cas wd RT1_0020.dat it 20 wc RT1_0040.cas wd RT1_0040.dat .... .... .... etc. Is there a way of getting around this using loops? Thanks Vimal ================================================== ========== ; Read Case File rc RD234SL.cas ; Set Auto-save Options /file/autosave/case-frequency 10 /file/autosave/data-frequency 10 /file/autosave/overwrite-existing-file yes /file/autosave/root-name "RT1_" /file/confirm-overwrite no ; Mark Region for VOF patch /adapt/mark-inout-rectangle yes no -0.5 +0.5 -0.5 +0.0 (rpsetvar 'patch/vof? #t) ; Initialize the Solution /solve/initialize/initialize-flow ; Patch Water Volume Fraction /solve/patch water () (0) mp 1 ; Set time-step /solve/set/time-step 0.002 ; Iterate it 400 ; Exit Fluent exit yes ================================================== ========== |
|
May 7, 2006, 16:54 |
Re: Batch Processing and auto-save option
|
#2 |
Guest
Posts: n/a
|
I was able to find a solution... Thanks
|
|
May 17, 2006, 14:42 |
Re: Batch Processing and auto-save option
|
#3 |
Guest
Posts: n/a
|
would you pls tell me what did you do? I have the same problem.
|
|
May 17, 2006, 15:02 |
Re: Batch Processing and auto-save option
|
#4 |
Guest
Posts: n/a
|
I have included the batch script that I used for an unsteady run. For a steady run, the batch-script given in the FLUENT user manual is sufficient. Hope this helps.
Regards VV ; FLUENT RUN SCRIPT ; READ CASE FILE /file/read-case <case-name> ; AUTO-SAVE/BATCH OPTIONS file/autosave/case-frequency 25 file/autosave/data-frequency 25 file/autosave/overwrite-existing-file no ; STRING SPECIFYING FILE NAME : <string> ; AUTO-SAVE FILE : <string><iterationg count>.cas file/autosave/root-name "<string>" /file/confirm-overwrite no ; INITIALIZE FLOW /solve/initialize/initialize-flow ; SET TIME-STEP /solve/set/time-step 0.002 ; ITERATE (TAKES CARE OF AUTO-SAVING) /solve/dual-time-iterate 4000 ; EXIT FLUENT exit yes |
|
May 17, 2006, 15:07 |
Re: Batch Processing and auto-save option
|
#5 |
Guest
Posts: n/a
|
I have included the batch script that I used for an unsteady run. For a steady run, the batch-script given in the FLUENT user manual is sufficient. Hope this helps.
Regards VV ; FLUENT RUN SCRIPT ; READ CASE FILE /file/read-case <case-name> ; AUTO-SAVE/BATCH OPTIONS file/autosave/case-frequency 25 file/autosave/data-frequency 25 file/autosave/overwrite-existing-file no ; STRING SPECIFYING FILE NAME : "string" ; AUTO-SAVE FILE : "string""iteration count".cas file/autosave/root-name "<string>" /file/confirm-overwrite no ; INITIALIZE FLOW /solve/initialize/initialize-flow ; SET TIME-STEP /solve/set/time-step 0.002 ; ITERATE (TAKES CARE OF AUTO-SAVING) /solve/dual-time-iterate 4000 ; EXIT FLUENT exit yes |
|
|
|