CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Text command discretization

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

LinkBack Thread Tools Display Modes
Old   May 7, 2013, 11:43
Default Text command discretization
New Member
Join Date: Apr 2013
Posts: 5
Rep Power: 6
Maxime31850 is on a distinguished road
Hey everyone,

I was introduced to fluent a few weeks ago. I'd like to run some simulation during the night with a k-epsilon turbulence model. I need to change the discretization order from "first order upwind" to "second order upwind" for the momentum, turbulent kinetic energy and turbulent dissipation rate after a few hundreds iterations. I've seen the differents text commands in google but I don't know how to use them. Do you have any ideas of a macro I could use ?

Thanks a lot
Maxime31850 is offline   Reply With Quote

Old   May 7, 2013, 20:01
Senior Member
Join Date: Aug 2011
Posts: 315
Rep Power: 14
blackmask will become famous soon enough
A very simple example. Suppose you have a case named "hi.cas". You have everything set but the discretization scheme. You want to initialize the flow, change the discretization to higher order, and iterate for, say 2000 iterations. You should create a file named "whatever.jou", and put the following contents in this file.

;; contents of whatever.jou
/file/set-batch-options no yes no

/file/read-case hi

;; the next line uses "Second Order Upwind" to the momentum equation
/solve/set/discretization-scheme/mom 1

/solve/iterate 2000

/file/write-case-data hello

;; end of whatever.jou

Then you could use the command line
fluent 3ddp -t4 -i whatever.jou
or run from GUI.
blackmask is offline   Reply With Quote


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
fluent text command doesnt show all options! m2montazari FLUENT 3 March 13, 2017 00:56
Command to render text output from each mesh block pgopalak FLOW-3D 3 October 2, 2009 18:32
DPM Particle tracks summary text input Rajesh Gutti FLUENT 1 October 17, 2008 02:29
rsm,K-epsilon models, donating text on turbulence francisco saldarriaga CFD-Wiki 1 May 19, 2006 04:54
TEXT COMMAND Alex Munoz FLUENT 0 April 10, 2003 22:32

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