|
[Sponsors] |
May 3, 2010, 14:17 |
fluent 12.1, batch mode in linux
|
#1 |
Member
Sara S.
Join Date: May 2010
Location: NJ, USA
Posts: 41
Rep Power: 16 |
Hi all,
I am trying to run fluent 12.1 in batch mode using linux, ubuntu 8.04 and I am using the following command: fluent 3d -g -i fluent_jou.txt > pressure_outlet_tec.dat 2>&1 & fluent opens with the start up window ( although I have specified no graphics !!! ) and doesn't do anything. Even, buy dropping -g, fluent does not read my journal file using this command: fluent 3d -i fluent_jou.txt basically both above commands behave the same. can anybody tell me what is wrong ? thnx sara |
|
May 3, 2010, 15:25 |
|
#2 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
Use -gu, but you have to post the content of the fluent_jou.txt!
|
|
May 3, 2010, 15:55 |
|
#3 |
Member
Sara S.
Join Date: May 2010
Location: NJ, USA
Posts: 41
Rep Power: 16 |
Thanks dmoroian for the reply.
I have used -gu as well but it does not work. I don't think the problem is with my journal file because when I open fluent and read the journal file, It runs without any problem. What does not work is the command I am typing in the terminal apparently. I also uploaded the .jou file, it is a very simple one. Thank you for your help sara |
|
May 3, 2010, 17:02 |
|
#4 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
I had a glimpse of your journal file, and is characteristic to a recorded macro from the gui. How do you expect it to work without a gui?
You have to rewrite it again using only tui commands. |
|
May 3, 2010, 18:54 |
|
#5 |
Member
Sara S.
Join Date: May 2010
Location: NJ, USA
Posts: 41
Rep Power: 16 |
I see. I am new to fluent and I might have very basic problems.
for TUI do I need to type the commands I am using in a text editor ? There is no other way to create a TUI, right ? I mean when I choose to "start a journal file" in fluent, it makes a GUI journal file by default, right ? I already have the first problem that when I type "file>" and enter, there is no option to read the mesh. and "/file/read/mesh grid.msh" does not work either. Thank you again for your help, I really appreciate it. |
|
May 4, 2010, 02:36 |
|
#6 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
Yes, the most common way to generate a journal file is to use a text editor.
To read in just a mesh, try: "file read-case file.msh" |
|
May 4, 2010, 14:09 |
problem with running TUI journal file in batch mode using linux
|
#7 |
Member
Sara S.
Join Date: May 2010
Location: NJ, USA
Posts: 41
Rep Power: 16 |
Dear dmoroian,
Thank you again for your help. I made the TUI journal file, but again I have the same problem as before. When I open fluent and read my TUI journal file, it reads it without any problem. However, in termina when I use fluent 3d -g -i fluent_TUI.jou > pressure_outlet_tec.dat 2>&1 & it does not work. what can be the problem ? As there were some problems with attachments, I copied my TUI journal file bellow. sara file read grid_jou.msh mesh scale 0.001 0.001 0.001 mesh check define models energy y y n define models solver pressure-based y define models steady define models viscous ke-standard y define boundary-conditions velocity-inlet inlet1 n n y y n 26 n 300 y n 1 n 1 define boundary-conditions velocity-inlet inlet2 n n y y n 26 n 300 y n 1 n 1 define boundary-conditions velocity-inlet inlet3 n n y y n 26 n 300 y n 1 n 1 define boundary-conditions velocity-inlet inlet4 n n y y n 26 n 300 y n 1 n 1 define boundary-conditions fluid body n n n y 0 0 0 0 0 1 n n n define boundary-conditions pressure-outlet outlet n 0 n 300 n y y n 1 n 1 n n define boundary-conditions wall shell 0 n 0 n n n 0 n n n n 0 n 0.5 define materials change-create air air y incompressible-ideal-gas n n n n n n define operating-conditions reference-pressure-location 0 2.5 0 solve initialize compute-defaults all-zones solve iterate 400 file write-case-data file export tecplot 1 total-pressure q |
|
May 5, 2010, 11:51 |
|
#8 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
Hi Sara,
At first glance, your script looks ok. I'm guessing that you have an alias for fluent that overwrites your options. Try at the command prompt "alias", and see if it returns an alias for fluent. Dragos |
|
May 5, 2010, 13:00 |
alias ?
|
#9 |
Member
Sara S.
Join Date: May 2010
Location: NJ, USA
Posts: 41
Rep Power: 16 |
Hi Dragos,
I am not familiar with aliases. I read a little about them. I get the list bellow and I do not see anything related to the problem. can you give me a hint what is alias ? which one do you think is related to my problem and how I can fix it ? here is the list: bzif bznf bzic bznc bzi bzn lzif lzic lznf lznc lzi lzn lchdir chdir sync-chdir lls ls lpwd pwd cortex-pwd error source . alias it cwd wd wc rcd rd rc Thank you veryyyy much for your help again sara |
|
May 6, 2010, 04:37 |
|
#10 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
Ok, your list doesn't make too much sense for me either.
Let recap, and do it from the beginning. Execute the following commands in a shell, and post the result here: Code:
1. cat /etc/issue* 2. echo $SHELL 3. which fluent 4. fluent -h 5. fluent -r |
|
June 16, 2010, 09:54 |
|
#11 |
New Member
Mark Bell
Join Date: Apr 2010
Location: Holywood
Posts: 12
Rep Power: 16 |
the -i switch is used for windows. you need the command..
fluent 3d -g < fluent_jou.txt > pressure_outlet_tec.dat 2>&1 & also, there is an error, there is no command: define models steady in fluent 12.1.. at least, not on 12.1.4. |
|
January 9, 2012, 13:39 |
Urgently Help required: Fluent Batch Mode reg
|
#12 |
New Member
deewakar
Join Date: Dec 2011
Posts: 18
Rep Power: 15 |
I am trying to run fluent in batch mode on windows platform. for that I have written batch file as
fluent -g -i case.jou Howe ever when I run this batch file fluent starts its launcher, reads the journal file. Till that steps it works fine.But after that I need to manually press 'OK' to start fluent. I have attached snap shot of what I am getting on running the batch file(also in image) I have tried fluent 3d -g -i case.jou as well as fluent 3d -gu -i case.jou but in both case same prob. In fact when I write 3d or 3ddp in in front of -g and press "OK" to start running fluent it shows error that command 3ddp or 3d not recognized. So I intentionally have removed 3d. But how to counter this. I mean how to automate that I may not have to press "ok" again and again for multiple cases Please guide its extremely urgent Thanks |
|
May 3, 2016, 09:16 |
|
#13 |
New Member
TYMEN
Join Date: Aug 2015
Posts: 3
Rep Power: 11 |
Hello everyone,
I have exactly the same problem. In C-shell, my command is "fluent 3d -g < imput.jou > & output &". But when I press ENTER, the Fluent Launcher appears, although it should not because I disable the GUI with -g. Two options are then available : OK or CANCEL. When I press OK, Fluent appears in GUI mode... When I press CANCEL, the C-shell is back. Does anyone have an answer ? Thank you in advance. |
|
September 27, 2017, 09:55 |
Reading Gust profile
|
#14 |
New Member
Ujwal Rajan
Join Date: Aug 2017
Posts: 10
Rep Power: 9 |
Hey guys,
I am using fluent and matlab to run a fluid structure interaction over an airfoil. I am making use of matlab to feed all the commands into fluent and perform the necessary actions. I have to input the profile for a gust of wind at the inlet (which is a pressure-farfield) in my case. i have used the following command in matlab to input the gust: fprintf(fid,'(ti-menu-load-string "file interpolate read-transient-table " " \\n")\n'); However, i do not know what to fill in after using the command read-transient table. Also, how do i specify on what zone the profile has to be used in?? Any help is massively appreciated! Thank you! |
|
Tags |
batch mode, fluent 12.1, linux |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Running fluent with udf in batch mode | zonexo | Fluent UDF and Scheme Programming | 2 | March 10, 2012 08:50 |
Fluent 6.3.26 vs 12.1 and partition method | Anorky | FLUENT | 0 | April 27, 2010 11:55 |
Fluent 12.1 on Linux x64 Architecture Issue | fivos | FLUENT | 5 | April 24, 2010 16:19 |
Prosurf in batch mode | Dhruv | Siemens | 1 | September 19, 2005 19:02 |
Performance of fluent on win200 and linux | Seb | FLUENT | 7 | February 5, 2004 16:08 |