|
[Sponsors] |
July 5, 2018, 15:26 |
Profile File Read Issue
|
#1 |
New Member
Join Date: Jul 2018
Posts: 7
Rep Power: 8 |
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. |
|
July 6, 2018, 14:44 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,751
Rep Power: 66 |
Hard to debug without further diving into what else you have done because what you have should work...
|
|
July 6, 2018, 21:05 |
|
#3 |
Senior Member
Join Date: Mar 2015
Posts: 892
Rep Power: 18 |
Are the profile files located in your Fluent folder? Alternatively, you could use the full file path in the command.
|
|
July 13, 2018, 11:34 |
|
#4 |
New Member
Join Date: Jul 2018
Posts: 7
Rep Power: 8 |
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.
|
|
Tags |
file not found, profile files, scheme programming, transient analysis |
|
|
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 |