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

0.org directory bubbleFoam tutorial

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By nimasam

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 1, 2012, 03:06
Default 0.org directory bubbleFoam tutorial
  #1
Member
 
Join Date: Feb 2012
Posts: 57
Rep Power: 14
matt.mech.eng is on a distinguished road
Can anyone tell me what the <case directory>0.org directory in the bubbleFoam tute is? It seems to hold the initial conditions of the problem setup, however I thought that initial conditions were stored in the <case directory>/0 folder, this does not appear to be the case for this tute. Can someone please explain this to me I've looked online, in the user guide and cannot find an answer!

Cheers

Matt
matt.mech.eng is offline   Reply With Quote

Old   March 1, 2012, 03:37
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
hi dear matt
imagine you prepare your case with boundary condition and initial condition, then you run your solver!
then you want for example change mu! (viscosity) and again calculate the whole domain! as you see this progress! is time consuming instead you can change your first 0 directory into 0.org then use the result of run in upper time step as initial condition. it makes your progress for further simulations faster
Haitham Osman CFD likes this.
nimasam is offline   Reply With Quote

Old   March 1, 2012, 03:50
Default
  #3
Disabled
 
Join Date: Mar 2011
Posts: 174
Rep Power: 15
anon_a is on a distinguished road
In some other cases, when your initial conditions are non-uniform, you will run into problems using the same files if you want to change the mesh because they contain the non-uniform distribution which depends on the number of cells. Then, it is also useful to keep a fresh, completely uniform copy of the BCs and internal fields so that you can run setFields again.
anon_a is offline   Reply With Quote

Old   March 1, 2012, 04:17
Default
  #4
Member
 
Join Date: Feb 2012
Posts: 57
Rep Power: 14
matt.mech.eng is on a distinguished road
thanks for the reply guys!

So the solver will always use the /0 directory for the initial conditions i.e. /0.org is not used it is simply the first IC's stored if they need to be applied again? As for the previous time-step data in the /0 directory this is simply copied from the time-step directory it is taken from and placed in the /0 folder?

Could this possibly introduce errors if the changing parameters will effect the flow such that given the change it would never have exhibited such fields as used in the new /0 folder?

I hope my questions made sense!!

appreciate the help guys!!
matt.mech.eng is offline   Reply With Quote

Reply

Tags
case directory structure, case setup, initial conditions, tutorial


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
1.7.x Environment Variables on Linux 10.04 rasma OpenFOAM Installation 9 July 30, 2010 04:43
OpenFoam install script Error during paraFoam installation SePe OpenFOAM Installation 10 June 19, 2010 15:15
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 09:50
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise mbeaudoin OpenFOAM Installation 20 June 17, 2008 06:43


All times are GMT -4. The time now is 01:17.