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

run f;uent job in batch mode?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2003, 15:08
Default run f;uent job in batch mode?
  #1
jx
Guest
 
Posts: n/a
Dear all, could any of you light me up how to run fluent in batch mode? I want to run my jobs on a server where interactive run is discouraged, and X is not even available.

Thanks.
  Reply With Quote

Old   July 1, 2003, 16:49
Default Re: run f;uent job in batch mode?
  #2
Alex Munoz
Guest
 
Posts: n/a
Hi

Fluent offers a guide regarding this issue, However, I will give you some hints.

First at all, you need four files(submit, myjournal.jou, mycase.cas and mycase.dat) I call it "submit" because I have to submit my job to a PBS server, I don't know if you use the same administrator. However, I provide my submit file to you.

I will explain some of the detail. replace mywork for the name of your work replace mye-mail@acme.com for your e-mail name replace the walltime 24h for the time that you need replace the memory requirement for your case replace ncpus if you require more than one cpu replace /PBSspace/username for the directory where you launch your work replace /usr/local/Fluent.Inc/bin/fluent for the location of fluent replace myjournal.jou for your journal filname replace output.out for your output filename the output file record the error in your calculation. ================================================== submit ================================================== = #!/bin/ksh #PBS -N mywork #PBS -m bea #PBS -M mye-mail@acme.ca #PBS -l walltime=24:00:00 #PBS -l mem=1000mb #PBS -l ncpus=1 export HOME=/PBSspace/username cd /PBSspace/username /usr/local/Fluent.Inc/bin/fluent 3d -g < myjournal.jou > output.out 2>&1 ================================================== == The following file is a journal file for unsteady case replace mycase.cas for your name file case replace mycase.dat for your name file data replace 100 for the number of time step that you need replace 25 for the number of iteration per step that you need replace mycase1.cas fro the file case name to write replace mydata1.cas for the file data name to write ================================================== == myjournal.jou ================================================== == ; Read case data file rc mycase.cas rd myfile.dat ;Calculate n iterations /solve/dual-time-iterate 100 25 yes ;Write case data file wc mycase1.cas wd myfile1.dat ;Exit Fluent exit yes ================================================== ==== The following is a journal file for steady simmulation replace the content as above

================================================== ==== journal file steady ================================================== ==== ; Read case data file rc mycase.cas rd myfile.dat ;Calculate n iterations it 100 ;Write case data file wc mycase1.cas wd myfile1.dat ;Exit Fluent exit yes ================================================== ====

Finally

type PBS sub submit or other command that will be specified for your administrator

type PBS stat to follow the status of your work

you will recieve e-mails regarding the time when your work start, finish or is interrupt

I sugguest that you read the PBS guide user!!

Good luck

Alex Munoz

  Reply With Quote

Old   July 1, 2003, 17:59
Default Re: run f;uent job in batch mode?
  #3
Ataki
Guest
 
Posts: n/a
Thank u Alex I 'll try it!
  Reply With Quote

Old   July 1, 2003, 18:36
Default Re: run fluent job in batch mode?
  #4
jx
Guest
 
Posts: n/a
As this forum php automately removes all single-line-breaks, it is hard to read your post. I managed to understand the shell script. I guess a semi-column sign ( in the jorunal file leads a line of comments, but where to break them?

Or, what partion of fluent guide addresses this issue?

Thanks. I'll try it out.
  Reply With Quote

Old   July 1, 2003, 22:59
Default Re: run fluent job in batch mode?
  #5
Alex Munoz
Guest
 
Posts: n/a
Hi

You have to figure out for yourself how to read the infromation. I think I did enough for you!!!

Don't you think???

Alex
  Reply With Quote

Old   July 2, 2003, 12:29
Default Re: run fluent job in batch mode?
  #6
jx
Guest
 
Posts: n/a
Sure, thanks. Now I am doing it. Hopefully I'll get it work.
  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
use batch mode to run an unsteady case PaulineP FLUENT 9 April 4, 2019 09:18
to run a replayfile in batch mode from UNIX froztbear ANSYS Meshing & Geometry 4 May 13, 2014 09:00
Running macros in parallel in batch mode nomad STAR-CCM+ 13 February 22, 2013 09:30
Batch Run with Initial values file krrishcfd CFX 1 July 28, 2011 03:35
multiple simulation in FLUENT in Batch mode Anonymized_JL1 FLUENT 0 October 19, 2010 09:47


All times are GMT -4. The time now is 22:14.