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

journal files in Fluent

Register Blogs Community New Posts Updated Threads Search

Like Tree18Likes
  • 1 Post By john
  • 4 Post By Jason
  • 7 Post By khairy Elsayed
  • 1 Post By yizhou
  • 2 Post By zxaar
  • 2 Post By Heat80
  • 1 Post By FluidWarrior

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 17, 2005, 08:12
Default journal files in Fluent
  #1
john
Guest
 
Posts: n/a
Hello all, does anybody know how can I create journal files in Fluent?? I don't think that i could understand enough from the manual. I have already a case saved.How could i run it without using GUI? Any suggestions are highly appreciated
chaitanyaarige likes this.
  Reply With Quote

Old   November 17, 2005, 10:27
Default Re: journal files in Fluent
  #2
Jason
Guest
 
Posts: n/a
A journal is just a collection of TUI commands. If all you're trying to do is read a case, iterate it and save it, then it's a relatively simple journal:

; read the case... rc is a shortcut for /file/read-case rc {filename}.cas ; read the data rd {filename}.dat ; iterate, replace #### with number of iterations desired it #### ; write case wc {results filename}.cas ; write data wd {results filename}.dat

Instead of writing the case and data in multiple lines, I've seen people use wcd {results filename}.cas You can do many other things as well. You can have fluent overwrite the old filenames (instead of creating a {results filename} file). I recommend doing this by setting the batch options ; add this before reading the case ; set batch options /file/set-batch-options no ; confirm file overwrite yes/no yes ; exit on error yes/no no ; hide questions yes/no Instead of reading in a data file, you can initialize the flow: ; initialize the flow s i init You can even do fmg initialization (in Fluent 6.2 at least): s i fmg y

I used a lot of shortcuts above. Any TUI can be reached in two ways. You can type out the full path to the command:

/solve/initialize/initialize-flow

Or you can use shortcuts. A shortcut is any unique set of characters that represent the subfolder and/or command you are trying to reach. For example, the initialize-flow command above can be reached like:

s i i

Both solve and surface are top level menus that begin with s, but solve comes first (alphabetically), so 's' is assumed to mean the solve menu. Same thing with the first i in the command, which could have meant initialize or iterate. Unfortunately, there's no list of all the shortcuts available (like rc, or wd... only way you can know about those is to see someone else use them).

I recommend thinking through what commands you want the journal to run. Then open a Fluent window and type in the TUI for that command. Sometimes Fluent will need a response after a command (like the batch option command I showed) and the returns may be important, including blank returns for accepting the default values.

If there's something specific that you're trying to accomplish, feel free to e-mail me and I can try and help.

Hope this helps getting you started at least, and good luck, Jason
  Reply With Quote

Old   November 17, 2005, 17:35
Default Re: journal files in Fluent
  #3
khairy Elsayed
Guest
 
Posts: n/a
dear sir the journal file is like a recorder to record all you done in solving a certain problem for example: flow over airfoil after running this case at a certain angle of attack you need to change only the angle of attack or any other parameteres, to do that in very short effort and sure of the same other conditions fixed. do the following 1-file-->write-->journal and name the journal file (file name1.jou) 2-adjust all the parameteres in your case starting from read the mesh file until plotting the results.... 3-file-->write-->stop journal 4-for new case open the journal file using any text editor and change the parameters you need and then save it with a new name (file name2.jou) 5-file-->read-->journal u will see all the steps u already done using GUI done quickely on the screen and the solution run

try what i already explain for a simple case (with minimum orders ) first and u will like to do that in all cases

also the orders that Jason mention it may be useful for u without journal file

have a Good Luck

Khairy-Egypt
  Reply With Quote

Old   November 18, 2005, 03:23
Default Re: journal files in Fluent
  #4
john
Guest
 
Posts: n/a
Thank you guys for your response.I really appreciate it! it helped me understand how the whole thing works. Thanks a lot!
  Reply With Quote

Old   November 22, 2005, 23:56
Default Re: journal files in Fluent
  #5
yizhou
Guest
 
Posts: n/a
Anyone can give a brief introduction about how to write a transient journal script?

Yizhou
Azy likes this.
  Reply With Quote

Old   November 23, 2005, 20:16
Default Re: journal files in Fluent
  #6
zxaar
Guest
 
Posts: n/a
i have a doc about it, drop me an email so that i can mail you as soon as i reach my town.
chaitanyaarige and Azy like this.
  Reply With Quote

Old   May 14, 2014, 16:37
Default
  #7
Azy
New Member
 
Azadeh Saeedi
Join Date: Mar 2014
Location: Canada
Posts: 23
Rep Power: 12
Azy is on a distinguished road
Quote:
Originally Posted by zxaar
;126358
i have a doc about it, drop me an email so that i can mail you as soon as i reach my town.
Could you send this doc. to me as well. there is nothing about it in the manual
Thanks
Azy is offline   Reply With Quote

Old   June 12, 2014, 06:25
Default
  #8
New Member
 
Select One...
Join Date: Apr 2012
Posts: 21
Rep Power: 14
eneja is on a distinguished road
Is it still possible to get this doc?
Thanks
eneja is offline   Reply With Quote

Old   August 31, 2014, 22:10
Default
  #9
New Member
 
Shakirudeen
Join Date: Jun 2014
Posts: 3
Rep Power: 11
Deensquare is on a distinguished road
Quote:
Originally Posted by zxaar
;126358
i have a doc about it, drop me an email so that i can mail you as soon as i reach my town.
can i still have the doc pls
Deensquare is offline   Reply With Quote

Old   April 1, 2015, 12:08
Default journal file -fluent
  #10
Member
 
azna
Join Date: Nov 2012
Posts: 30
Rep Power: 13
azna is on a distinguished road
Hi I'm looking for journal file for transient Fluent, Does anybody has an sample or document for it ?
Thanks
azna is offline   Reply With Quote

Old   May 12, 2015, 23:07
Default
  #11
New Member
 
Younis Najim
Join Date: Apr 2013
Location: Michigan State University
Posts: 12
Rep Power: 13
Heat80 is on a distinguished road
Here is very simple journal file for transient case:
--------------------------------------
rc your_case_file_name.cas
rd your_data_file_name.dat
solve dual-time-iterate 4000 20
------------------------------------------
where: 4000 means your case is going to run for 4000 time step.
20 max number of iteration per each time step.

Thanks
Younis
chaitanyaarige and souhail like this.
Heat80 is offline   Reply With Quote

Old   May 20, 2015, 11:05
Default PBS Job Chains and Dependencies
  #12
Member
 
azna
Join Date: Nov 2012
Posts: 30
Rep Power: 13
azna is on a distinguished road
Dear Younis thanks,

I was wondering that do you have any example for submitting job as "PBS Job Chains and Dependencies"

regards,

Quote:
Originally Posted by Heat80 View Post
Here is very simple journal file for transient case:
--------------------------------------
rc your_case_file_name.cas
rd your_data_file_name.dat
solve dual-time-iterate 4000 20
------------------------------------------
where: 4000 means your case is going to run for 4000 time step.
20 max number of iteration per each time step.

Thanks
Younis
azna is offline   Reply With Quote

Old   December 3, 2015, 22:57
Default
  #13
New Member
 
Manahara Manatunga
Join Date: Mar 2014
Posts: 15
Rep Power: 12
manahara is on a distinguished road
Quote:
Originally Posted by khairy Elsayed
;126194
dear sir the journal file is like a recorder to record all you done in solving a certain problem for example: flow over airfoil after running this case at a certain angle of attack you need to change only the angle of attack or any other parameteres, to do that in very short effort and sure of the same other conditions fixed. do the following 1-file-->write-->journal and name the journal file (file name1.jou) 2-adjust all the parameteres in your case starting from read the mesh file until plotting the results.... 3-file-->write-->stop journal 4-for new case open the journal file using any text editor and change the parameters you need and then save it with a new name (file name2.jou) 5-file-->read-->journal u will see all the steps u already done using GUI done quickely on the screen and the solution run

try what i already explain for a simple case (with minimum orders ) first and u will like to do that in all cases

also the orders that Jason mention it may be useful for u without journal file

have a Good Luck

Khairy-Egypt

Khairy you are the best!!
manahara is offline   Reply With Quote

Old   January 16, 2017, 03:47
Default
  #14
New Member
 
Shekoofeh
Join Date: Jun 2016
Posts: 1
Rep Power: 0
shukoof is on a distinguished road
how to add it save date after 1000 itteration?
shukoof is offline   Reply With Quote

Old   January 16, 2017, 06:32
Default
  #15
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21
brunoc is on a distinguished road
Do you want to run for 1000 iterations and then save? Or do you want to auto-save backups every 1000 iterations?
brunoc is offline   Reply With Quote

Old   March 18, 2017, 15:13
Default Journal file, Auto save Fluent
  #16
New Member
 
Mehdebr
Join Date: Mar 2017
Posts: 2
Rep Power: 0
mehdebr is on a distinguished road
Quote:
Originally Posted by brunoc View Post
Do you want to run for 1000 iterations and then save? Or do you want to auto-save backups every 1000 iterations?
I want to save the result of the fluent run automatically in each for example 100 iterations.
what should I add to my journal file?
let's assume that I have the following journal file:

rc casename.cas
rd dataname.dat
solve dual-time-iterate 100000 50
mehdebr is offline   Reply With Quote

Old   January 17, 2018, 17:13
Default
  #17
Member
 
numan
Join Date: Sep 2014
Posts: 30
Rep Power: 11
mrswordf1sh is on a distinguished road
Quote:
Originally Posted by khairy Elsayed
;126194
dear sir the journal file is like a recorder to record all you done in solving a certain problem for example: flow over airfoil after running this case at a certain angle of attack you need to change only the angle of attack or any other parameteres, to do that in very short effort and sure of the same other conditions fixed. do the following 1-file-->write-->journal and name the journal file (file name1.jou) 2-adjust all the parameteres in your case starting from read the mesh file until plotting the results.... 3-file-->write-->stop journal 4-for new case open the journal file using any text editor and change the parameters you need and then save it with a new name (file name2.jou) 5-file-->read-->journal u will see all the steps u already done using GUI done quickely on the screen and the solution run

try what i already explain for a simple case (with minimum orders ) first and u will like to do that in all cases

also the orders that Jason mention it may be useful for u without journal file

have a Good Luck

Khairy-Egypt
THanks a lot, you are awesome
mrswordf1sh is offline   Reply With Quote

Old   March 28, 2018, 04:31
Default Text User Interface in Fluent
  #18
New Member
 
Join Date: Jan 2017
Location: Austria
Posts: 20
Rep Power: 9
FluidWarrior is on a distinguished road
Hi,
maybe this is helpful for you:
https://www.researchgate.net/publica...t_and_ParaVIEW

Have a nice day!
johnkh likes this.
FluidWarrior is offline   Reply With Quote

Old   August 29, 2018, 07:25
Default Journal file for transient simulation with variable time step
  #19
New Member
 
RISHI RAMAKRISHNAN L
Join Date: May 2017
Posts: 2
Rep Power: 0
rishirl is on a distinguished road
Hi
I need the journal file for transient case with variable time step. Can anyone help me with this?
rishirl is offline   Reply With Quote

Old   November 5, 2020, 10:31
Default
  #20
New Member
 
John Khoo
Join Date: Nov 2012
Location: Malaysia
Posts: 4
Rep Power: 13
johnkh is on a distinguished road
I've found this very helpful page in a blog somewhere, credits to the author http://ansysofkemin.blogspot.com/201...ui-fluent.html
johnkh 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 Journal File Errors cfd23 FLUENT 4 July 14, 2010 04:12
Fluent journal file ahmet FLUENT 7 July 6, 2010 05:00
import fluent cas.gz files bramv101 STAR-CCM+ 0 September 23, 2009 08:28
Converting ANSYS CFX files to Fluent files Martin S. Rasmussen FLUENT 3 January 30, 2007 15:08
Journal files of Gambit & Fluent Arif Saputra FLUENT 6 September 10, 2001 04:29


All times are GMT -4. The time now is 06:34.