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

reading journal in fluent

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By LuckyTran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2018, 17:30
Default reading journal in fluent
  #1
New Member
 
Join Date: Mar 2018
Posts: 7
Rep Power: 8
yomnag is on a distinguished road
if anyone could help

i am trying to read a journal in fluent but i get this error at the start although the .cas file is in the same folder as the .jou

Error: File "myfilename.cas.gz" not found!
Error Object: #f
yomnag is offline   Reply With Quote

Old   March 6, 2018, 17:49
Default
  #2
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
Please don't ask the same question in multiple threads.

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
kyran and yomnag like this.
LuckyTran is offline   Reply With Quote

Old   March 6, 2018, 18:00
Default
  #3
New Member
 
Join Date: Mar 2018
Posts: 7
Rep Power: 8
yomnag is on a distinguished road
thank you so much that was really helpful
yomnag is offline   Reply With Quote

Old   May 12, 2022, 12:34
Default
  #4
Senior Member
 
Lukas Fischer
Join Date: May 2018
Location: Germany, Munich
Posts: 117
Rep Power: 7
lukasf is on a distinguished road
Hi,


I am able to read a data file (.dat) from a relative path in Fluent.
However, I cannot read a journal file (.jou) from a relative path in Fluent.


The files exists and the working directory is correct in Fluent as well. What wrong? I am using ANSYS 2022 R1.


Code:
  /file> pwd
 /home/andres/02_ASME_2021/02_cases/22_CT/42_adiabat_CT_M0k3_DR2
 

 /file> chdir /home/andres/02_ASME_2021/02_cases/22_CT/42_adiabat_CT_M0k3_DR2
 

 /file> read-journal
 journal file names [] Fluent_Journal_dt_fixed_e-1.jou
 journal file names [] 
 

 Error: Journal file "Fluent_Journal_dt_fixed_e-1.jou" not found.
 Error Object: #f
 

 /file> read-data
 data file name ["/home/andres/02_ASME_2021/02_cases/22_CT/42_adiabat_CT_M0k3_DR2/M0k3_DR2_DT_0k001_testing_calc_activities.dat.h5"] M0k3_DR2_DT_0k001.dat.h5
 

 Reading from master.cluster:"/home/andres/02_ASME_2021/02_cases/22_CT/42_adiabat_CT_M0k3_DR2/M0k3_DR2_DT_0k001.dat.h5" in HOST mode ...
 


   Reading results.
lukasf is offline   Reply With Quote

Old   May 18, 2022, 01:49
Default
  #5
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
there was limitation:
you can't read journal file from other journal file
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   May 18, 2022, 04:17
Default
  #6
Senior Member
 
Lukas Fischer
Join Date: May 2018
Location: Germany, Munich
Posts: 117
Rep Power: 7
lukasf is on a distinguished road
Hi,


I fixed the problem.


There were not all required Linux packages installed.


I installed all required packages, reinstalled ANSYS and the bug was fixed.


Here is an overview of all required packages for Linux.

https://ansysaccount.b2clogin.com/an...nt-ver=5.3.0.0
lukasf 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
OpenFoam "Permission denied" and "command not found" problems. iyidaniel@yahoo.co.uk OpenFOAM Running, Solving & CFD 11 January 2, 2018 06:47
execFlowFunctionObjects - unknown field problem Toorop OpenFOAM Post-Processing 16 March 14, 2016 03:25
[GAMBIT] periodic faces not matching Aadhavan ANSYS Meshing & Geometry 6 August 31, 2013 11:25
Fluent JOURNAL file issue mhsn FLUENT 0 June 5, 2013 12:47
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 17:51


All times are GMT -4. The time now is 10:39.