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

Fundamental output format control of field values and time

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 15, 2010, 23:12
Smile Fundamental output format control of field values and time
  #1
Member
 
roy fokker
Join Date: Mar 2009
Posts: 44
Rep Power: 17
dbxmcf is on a distinguished road
Hi, All:

I have a specific question regarding the output format of OpenFOAM, especially for 2 issues (I believe they are similar)
(1) After running an arbitrary simulation, the field values (U, p, etc.) at each time step will be saved in their respective folder with their time value (e.g. time value of 0.005, 0.01, 0.015, 0.02), is there a way to use C/C++'s printf-like format control of the folder name like %2.2e, i.e. for each folder, I would like to see output of time= 5.0e-3, 1.0e-2, 1.5e-2, 2.0e-2)?
(2) The same for the field values, is there a way to control the U and p format, like %3.2e, so p=0.00367 would be formatted to p=3.67e-3?

I know this might be very fundamental question, thanks a lot for your help!
dbxmcf is offline   Reply With Quote

 


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
Physical Reason for stability of Implicit Schemes? radhakrishnan Main CFD Forum 26 October 3, 2023 22:05
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 32 June 16, 2021 06:55
Access Field values at certain time andrea OpenFOAM Running, Solving & CFD 0 August 31, 2009 06:24
air bubble is disappear increasing time using vof xujjun CFX 9 June 9, 2009 07:59
Modeling in micron scale using icoFoam m9819348 OpenFOAM Running, Solving & CFD 7 October 27, 2007 00:36


All times are GMT -4. The time now is 06:33.