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

Profile File Read Issue

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 5, 2018, 15:26
Question Profile File Read Issue
  #1
New Member
 
Join Date: Jul 2018
Posts: 7
Rep Power: 8
AKulkarni is on a distinguished road
I have a spatially non-uniform and transient temperature profile that I am trying to apply to a surface. For each time-step I have one profile file and I am setting this solver up so that at the end of each time-step, the solver reads the next time step profile file and then solves it until convergence. To do this, I am using the "Execute Commands" dialog box to load the file after every timestep. However, I am getting an error which states: "file does not exist". This is the code I use to read the profile file:
(ti-menu-load-string (format #f "file read-profile Run35TempProfileTransient.~01d.prof" delta-time))
The variable delta-time is updated to add 0.03 seconds to it's value from the previous timestep. During execution of the program, the string is reading correctly as I get this message: file read-profile Run35TempProfileTransient.0.03.prof
Error: read-profile: file does not exist

I am not sure how to go about solving this problem. Any help is appreciated. Thanks.
AKulkarni is offline   Reply With Quote

Old   July 6, 2018, 14:44
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,751
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Hard to debug without further diving into what else you have done because what you have should work...
LuckyTran is online now   Reply With Quote

Old   July 6, 2018, 21:05
Default
  #3
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
Quote:
Originally Posted by AKulkarni View Post
During execution of the program, the string is reading correctly as I get this message: file read-profile Run35TempProfileTransient.0.03.prof
Error: read-profile: file does not exist
Are the profile files located in your Fluent folder? Alternatively, you could use the full file path in the command.
`e` is offline   Reply With Quote

Old   July 13, 2018, 11:34
Default
  #4
New Member
 
Join Date: Jul 2018
Posts: 7
Rep Power: 8
AKulkarni is on a distinguished road
Quote:
Originally Posted by `e` View Post
Are the profile files located in your Fluent folder? Alternatively, you could use the full file path in the command.
Turns out that the working directory did not have the profile files loaded in. I just changed the working directory and ran it again. Works fine. Thanks for the help.
AKulkarni is offline   Reply With Quote

Reply

Tags
file not found, profile files, scheme programming, transient analysis


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] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 04:30
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 18:34
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 07:42
[swak4Foam] funkySetFields compilation error tayo OpenFOAM Community Contributions 39 December 3, 2012 06:18
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44


All times are GMT -4. The time now is 20:30.