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

Fluent 12.1 Journal File

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2012, 08:54
Default Fluent 12.1 Journal File
  #1
New Member
 
CFD-1987
Join Date: Jun 2012
Posts: 11
Rep Power: 13
CFD-1987 is on a distinguished road
Hi to everyone,
I am having a problem with Fluent 12.1 running a Journal I've written. Firstly, although i am putting the cas file and journal on the desktop when i open Fluent to run the journal file it is giving me an error that it is not finding the cas file. Secondly, I would like it to give me the velocity magnitude contours but it is giving me only the residual plots and in grey scale not color as i write in the command. I 've written the commands i used in the journal file for your consideration....maybe i am doing something wrong so i would appreciate it if someone could help me!


Journal File:

/file/read-case fluent1

/file/auto-save/data-frequency/1000

/file/auto-save/retain-most-recent-files yes

/file/auto-save/max-files/1

/solve/iterate/10000

/display/contours velocity-magnitude

/display/contours/filled-contours yes

/display/contours/global-range yes

/display/color-mode/color

/display/dpi

/display/driver/jpeg

/display/save-picture velocity1

/file/write-case-data fluent1_end
CFD-1987 is offline   Reply With Quote

Old   July 13, 2012, 05:16
Default
  #2
Senior Member
 
Marion
Join Date: Jul 2012
Location: France
Posts: 122
Rep Power: 14
Marion is on a distinguished road
Hi,
I am confused: if it is not opening your case, how can it run??
You have to put your journal and case files in the directory where you start Fluent otherwise Fluent isn't going to find the case.
Marion.
Marion is offline   Reply With Quote

Old   March 6, 2018, 13:59
Default
  #3
New Member
 
Join Date: Mar 2018
Posts: 7
Rep Power: 8
yomnag is on a distinguished road
hello if you found the answer please add it as i have the same issue
thanks
yomnag is offline   Reply With Quote

Old   March 6, 2018, 17:43
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,668
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by yomnag View Post
hello if you found the answer please add it as i have the same issue
thanks
This happens when you use relative paths, i.e. rcd filename instead of providing the absolute path to the case and data file. It is quickly fixed by using absolute paths, but this is probably not a preferred solution.

When you launch Fluent, you launch it in a certain working directory. The way you launch Fluent determines what this working directory is set to. Note if you launch from the interactive window then the working directory is one of the user inputs that most people ignore. If you launch Fluent from a terminal, then it gets more complicated and depends on how you have configured your system to respond to whatever command it is that you use.

After you launch Fluent check the working directory by entering into the TUI:
Code:
pwd
If your case and data file are not here then when you do read-case or read-data, and provide only the name of the case/dat file, of course Fluent will not find it. If you absolutely cannot figure out how to set the working directory during launch, then you can still change directories using:
Code:
chdir
LuckyTran is online now   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
[swak4Foam] swak4Foam-groovyBC build problem zxj160 OpenFOAM Community Contributions 18 July 30, 2013 13:14
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 09:50
OpenFOAM Install Script ljsh OpenFOAM Installation 82 October 12, 2009 11:47
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 11:46
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24


All times are GMT -4. The time now is 21:29.