CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

Batch Processing and auto-save option

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 6, 2006, 21:54
Default Batch Processing and auto-save option
  #1
Vimal
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 ================================================== ==========

  Reply With Quote

Old   May 7, 2006, 15:54
Default Re: Batch Processing and auto-save option
  #2
Vimal
Guest
 
Posts: n/a
I was able to find a solution... Thanks
  Reply With Quote

Old   May 17, 2006, 13:42
Default Re: Batch Processing and auto-save option
  #3
N Pattakos
Guest
 
Posts: n/a
would you pls tell me what did you do? I have the same problem.
  Reply With Quote

Old   May 17, 2006, 14:02
Default Re: Batch Processing and auto-save option
  #4
VV
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
  Reply With Quote

Old   May 17, 2006, 14:07
Default Re: Batch Processing and auto-save option
  #5
VV
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

  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:27.