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

IOobject constructor problem

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   November 17, 2006, 23:05
Default i wish to calculate the mean f
  #1
iyer_arvind
Guest
 
Posts: n/a
i wish to calculate the mean flow (and many other calculations) from time say 0.1s to 10.0s and write the final output in folder say Avg (at the same level as 0.1,0.2,0.3, ... 10.0) so for the corresponding volScalarField if i write the IOobject in its constructor as

U_bar(IOobject("U_bar","Avg",mesh .... )...)

it doesn't work. I guessed that the second arg indicated the folder which is generally runtime.TimeName(), and replaced it with "Avg"

can you please help?

thanks a lot
  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
IOobject r2d2 OpenFOAM Running, Solving & CFD 20 May 5, 2016 08:16
Face Set Constructor for star v4.02 gonnafon Siemens 1 June 6, 2012 09:16
MultiComponentMixture constructor prashant24983 OpenFOAM Running, Solving & CFD 5 February 7, 2011 15:54
A question on IOObject ivan_cozza OpenFOAM 0 September 16, 2008 03:24


All times are GMT -4. The time now is 02:42.