CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Simulatin a bernard cell

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

LinkBack Thread Tools Display Modes
Old   January 8, 2008, 09:26
Default Hello OpenFOAMers, i'm new
New Member
Oliver Sommer
Join Date: Mar 2009
Posts: 12
Rep Power: 10
lynx is on a distinguished road
Hello OpenFOAMers,

i'm new to OpenFOAM and i just practiced a bit with the "cavity"-tutorial. (i simply let OpenFOAM calculate it in 3D)

Now i want to simulate a Rayleigh-Bernard-convektion in a tank.
I want that i can set temperatures on the top and bottom of the tank and set the velocity-field U to zero and then simulate this Rayleigh-Bernard-cell.
But now i don't really know which solver i have to use. I searched the manual (User Guide) and i found the following solvers: "rhoSonicFoam", "rhopSonicFoam", "rhoTurbFoam" and "rhoSimpleFoam".

Out of the description (on the right hand side in the manual) i believe it would good to use the "rhoSimpleFoam"-solver, but when i want to create a case i can't find this solver ins the drop down menu of the solver-selection. Why i can't find it?

Cause of that, i tried it with the "rhoTurbFoam"-solver. But here i have a next question. I chose the patchtype "fixedTemperatureWallFunctions" for the top and bottom and "adiabaticWallFunctions" for the 4 rest-patches and set the fields (U everwhere zero and two different values for bottom and top T). I set the other values to zero, cause i don't really know what they are (k, epsilon and R). Now, after looking in paraview the mesh and the values at time 0 (all seems ok), i started the simulation, but it immediatelly breaks with this error:

#0 Foam::error::printStack(Foam:stream&) in "/home/sool/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/"
#1 Foam::sigFpe::sigFpeHandler(int) in "/home/sool/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/"

#2 ?? in "/lib64/"
#3 Foam::hThermo<foam::puremixture<foam::consttranspo rt<foam::speciethermo<foam::hc onstthermo<foam::perfectgas> > > > >::calculate() in "/home/sool/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libbasicThermophysicalMo"
#4 Foam::hThermo<foam::puremixture<foam::consttranspo rt<foam::speciethermo<foam::hc onstthermo<foam::perfectgas> > > > >::hThermo(Foam::fvMesh const&) in "/home/sool/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libbasicThermophysicalMo"
#5 Foam::basicThermo::addfvMeshConstructorToTable<foa m::hthermo<foam::puremixture<f oam::consttransport<foam::speciethermo<foam::hcons tthermo<foam::perfectgas> > > > > >::New(Foam::fvMesh const&) in "/home/sool/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libbasicThermophysicalMo"
#6 Foam::basicThermo::New(Foam::fvMesh const&) in "/home/sool/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libbasicThermophysicalMo"
#7 main in "/home/sool/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/rhoTurbFoam "
#8 __libc_start_main in "/lib64/"
#9 Foam::regIOobject::readIfModified() in "/home/sool/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/rhoTurbFoam "

I don't know what's wrong - i think i set not all variables in the fields and/ or somethings in the dictionaries wrong. Can you please give me a help? Thank you.
lynx is offline   Reply With Quote

Old   January 8, 2008, 10:05
Default Have you tried "buoyantFoam" ?
E. David Huckaby
Join Date: Mar 2009
Posts: 57
Rep Power: 10
david_h is on a distinguished road
Have you tried "buoyantFoam" ?
david_h is offline   Reply With Quote

Old   January 8, 2008, 15:56
Default Thank you for the hint Dave. I
New Member
Oliver Sommer
Join Date: Mar 2009
Posts: 12
Rep Power: 10
lynx is on a distinguished road
Thank you for the hint Dave. I overread this in the manual. With the "buoyantFoam" it is working and with the "rhoTurbFoam" too. I found a really little (and stupid) error - made by me - in the field entries.
lynx is offline   Reply With Quote


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
Is there any Particle dynamics Simulatin Software? leaf Main CFD Forum 0 June 7, 2006 07:08
cell velocity U and its cell face area Chinayu Siemens 0 May 6, 2006 22:44
unsturcture cell & cylinder cell Difference~ lenson Siemens 1 January 9, 2006 06:32
Marangoni VS Rayleigh-Bernard Peter Nagy FLUENT 2 January 12, 2004 10:53
Cell-vertex and cell-centered finite volume method Praveen Main CFD Forum 4 September 8, 2003 23:58

All times are GMT -4. The time now is 07:03.