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

Text command discretization

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2013, 11:43
Default Text command discretization
  #1
New Member
 
Maxime
Join Date: Apr 2013
Posts: 5
Rep Power: 13
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
Default
  #2
Senior Member
 
Join Date: Aug 2011
Posts: 421
Blog Entries: 1
Rep Power: 21
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
/solve/initialize/initialize-flow

;; 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

exit
;; 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

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 text command doesnt show all options! m2montazari FLUENT 3 March 12, 2017 23: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 03:01.