|
[Sponsors] |
July 27, 2018, 15:46 |
Write Profile Variable File Name
|
#1 |
New Member
Join Date: Jul 2018
Posts: 7
Rep Power: 8 |
I would like Fluent to write a profile file for the temperature on the wall at the end of every time step. I am using the execute commands option to try and write the profile every timestep. The command I am using for write profile is as follows: //file/write-profile filename.prof surface_name and then I have blank commands entered in the execute commands dialog box to skip naming additional surface names and then a command that just says what variable I want to write a profile for (temperature). The problem I run into is that I want to index the filename every timestep so it is easy to keep track off. For this, I have tried the ti-menu-load-string(format #f "file~01d.prof" delta-time") command instead of the "filename.prof" as earlier mentioned. But that doesn't update the variable as it should. Any recommendations on how I should get it to update the filename every timestep? Thanks.
|
|
July 28, 2018, 02:51 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,760
Rep Power: 66 |
Use () to end a list
|
|
July 30, 2018, 10:49 |
|
#3 |
New Member
Join Date: Jul 2018
Posts: 7
Rep Power: 8 |
||
Tags |
file writing, macro, profile boundary cond., profile files, scheme |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 | Seroga | OpenFOAM Community Contributions | 9 | June 12, 2015 18:18 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 11:57 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |
pisoFoam compiling error with OF 1.7.1 on MAC OSX | Greg Givogue | OpenFOAM Programming & Development | 3 | March 4, 2011 18:18 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |