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

Write Profile Variable File Name

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 27, 2018, 14:46
Default Write Profile Variable File Name
  #1
New Member
 
Join Date: Jul 2018
Posts: 7
Rep Power: 7
AKulkarni is on a distinguished road
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.
AKulkarni is offline   Reply With Quote

Old   July 28, 2018, 01:51
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,676
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Use () to end a list
LuckyTran is offline   Reply With Quote

Old   July 30, 2018, 09:49
Default
  #3
New Member
 
Join Date: Jul 2018
Posts: 7
Rep Power: 7
AKulkarni is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
Use () to end a list
I'm not sure what you mean. Could you please elaborate? Thank you.
AKulkarni is offline   Reply With Quote

Reply

Tags
file writing, macro, profile boundary cond., profile files, scheme


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
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 17:18
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 17:18
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24


All times are GMT -4. The time now is 08:34.