CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM directory bubbleFoam tutorial

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   March 1, 2012, 04:06
Default directory bubbleFoam tutorial
Join Date: Feb 2012
Posts: 57
Rep Power: 5
matt.mech.eng is on a distinguished road
Can anyone tell me what the <case directory> 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!


matt.mech.eng is offline   Reply With Quote

Old   March 1, 2012, 04:37
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,147
Blog Entries: 1
Rep Power: 15
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 then use the result of run in upper time step as initial condition. it makes your progress for further simulations faster
nimasam is offline   Reply With Quote

Old   March 1, 2012, 04:50
Senior Member
Join Date: Mar 2011
Posts: 174
Rep Power: 6
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, 05:17
Join Date: Feb 2012
Posts: 57
Rep Power: 5
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. / 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


case directory structure, case setup, initial conditions, tutorial

Thread Tools
Display Modes

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 On
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 10: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 02:44.