AKulkarni |
July 5, 2018 14:26 |
Profile File Read Issue
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.
|