CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > FLOW-3D

Batch Job Runing under Linux Environment

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 21, 2009, 04:48
Thumbs down Batch Job Runing under Linux Environment
  #1
Senior Member
 
Join Date: Mar 2009
Posts: 129
Rep Power: 17
ck5285 is on a distinguished road
Hi
Is anyone know how to run F3D in batch job mode under Linux environment?
__________________
CK
ck5285 is offline   Reply With Quote

Old   April 21, 2009, 13:11
Default
  #2
H.C
Member
 
Join Date: Mar 2009
Posts: 40
Rep Power: 17
H.C is on a distinguished road
#! /bin/sh
cd simulation_directory1
runpre
runhyd
cd simulation_directory1
runpre
runhyd

not sure if its what you want. btw, if you r using v9.3.x, you can put all simulations in a workspace and then simulate the workspace. the simulations will be launched one at a time in the order.
H.C is offline   Reply With Quote

Old   April 21, 2009, 21:58
Default
  #3
Senior Member
 
Join Date: Mar 2009
Posts: 129
Rep Power: 17
ck5285 is on a distinguished road
Hi HC
yes this is what i'm looking for, but what file format that i should write this command? bat or dat? i'm using v9.3.1 but would like to run job in netbatch processing.
__________________
CK
ck5285 is offline   Reply With Quote

Old   April 22, 2009, 10:35
Default
  #4
H.C
Member
 
Join Date: Mar 2009
Posts: 40
Rep Power: 17
H.C is on a distinguished road
it should be just in text format, as it is a script. you can create it by using either vi or some other text editor.

After the file is written correctly, type in "chmod u+x filename" to make the file executable.
H.C is offline   Reply With Quote

Old   April 22, 2009, 21:15
Default
  #5
Senior Member
 
Join Date: Mar 2009
Posts: 129
Rep Power: 17
ck5285 is on a distinguished road
Hi HC
some clarification as below.
1. it should be simulation_directory1 & simulation_directory2 right?
2. btw what is #!/bin/sh command stand for? it is F3D program command?
3. This command when put in text editor it don't necessary to be the same folder/directory as the model directory right?

_______________________
#! /bin/sh
cd simulation_directory1
runpre
runhyd
cd simulation_directory1 (should be simulation_directory2 right?)
runpre
runhyd
ck5285 is offline   Reply With Quote

Old   April 22, 2009, 21:29
Default
  #6
H.C
Member
 
Join Date: Mar 2009
Posts: 40
Rep Power: 17
H.C is on a distinguished road
1. yes, they should be different simulation directories.
2. it is not a flow3d command. it is the shell command normally included in the linux distribution.
3. no. you can save it anywhere you may.
H.C is offline   Reply With Quote

Old   April 22, 2009, 23:44
Default
  #7
Senior Member
 
Join Date: Mar 2009
Posts: 129
Rep Power: 17
ck5285 is on a distinguished road
HC
thanks and if i run in bath mode can i still change the solver option through PEEK program?
ck5285 is offline   Reply With Quote

Old   April 23, 2009, 09:07
Default
  #8
Senior Member
 
michael barkhudarov
Join Date: Mar 2009
Location: Sante Fe, New Mexico, USA
Posts: 336
Rep Power: 18
MuxaB is on a distinguished road
9.3 has a script provided for running batch jobs. The script is call runbatch and located in the local directory in $F3D_HOME. The Manual describes how to use it. You create a text file with the paths to all the prepin files, relative or absolute - one prepin per line, then run

> runbatch <file>

It will run all the jobs sequentially.

Michael
MuxaB is offline   Reply With Quote

Old   April 23, 2009, 10:46
Default
  #9
H.C
Member
 
Join Date: Mar 2009
Posts: 40
Rep Power: 17
H.C is on a distinguished road
i am not sure if you can change the runtime options by using peek program. but you can try creating/modifying hd3opt file and create a text file named "HYdr3D_SIgnAL.dat" and put the number 8 in it.
H.C is offline   Reply With Quote

Old   April 28, 2009, 20:47
Default
  #10
Senior Member
 
Join Date: Mar 2009
Posts: 129
Rep Power: 17
ck5285 is on a distinguished road
HC and Michael
Thanks for the info.
ck5285 is offline   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
FLUENT Batch job Saravanan FLUENT 11 May 14, 2014 16:47
Running Job in Batch mode (EFD) Nick Sessions FloEFD, FloWorks & FloTHERM 0 April 16, 2008 16:44
How to create Batch job for CFX-10 in Linux OS siv CFX 2 March 21, 2006 03:38
Linux: when the job suddenly stops working. Stevie Wonder CFX 3 August 15, 2004 18:36
batch job under linux Marcio Siemens 10 August 18, 2003 05:48


All times are GMT -4. The time now is 16:02.