
[Sponsors] 
August 17, 2011, 14:30 
Laminar Natural Convection

#1 
Member
,...
Join Date: Apr 2011
Posts: 92
Rep Power: 6 
Hi Guys
I want to solve a Laminar Natural Convection problem with OPENFOAM, but as you may know the wellknown heat transfer solvers of OPENFOAM, like "buoyantBoussinesqPimpleFoam" and "buoyantBoussinesqSimpleFoam" are for turbulent flows. So, my question is that whether I have to modify "icoFoam" to include energy equation or there are other ways of solving Laminar Natural Convection in OpenFoam. You comments will be greatly appreciated. Mahdi 

August 18, 2011, 04:30 

#2 
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 13 
You can run laminar with the "turbulent" solvers. Just select "laminar" as the turbulence model in the RASproperties dictionary.


September 27, 2011, 01:58 
hiiiii every one

#3 
Member

hi
I m also new user of openfoam so i solved cavity tutorial also bt its for isothermal but right now i want to solve nonisothermal problem of cavity laminar flow it means natural convection flow so what r the changes require in icoFoam solver plz tel me. because in heat transfer solver there are more properties given like omega, k ,epsilon ,nutilda etc so i m so confuse to solve that so plz help me. i m waiting for reply 

September 27, 2011, 02:17 

#4 
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 13 
As Eugene says, you can use any solver for turbulent flow for laminar flow as well: use the laminar dummy turbulent model.
Select the solver you want to use here: http://openfoam.com/features/standardsolvers.php omega, k, epsilon and nutilda are typical variables obtained from turbulence modelling. If you have laminar flow, you don't need those. 

September 27, 2011, 02:33 
Hello sir

#5 
Member

thanks for ur kind reply
but sir in Heat transfer there r all turbulent and compressible solver so i m confusing which solver i choose? because i solved liddriven cavity problem with no moving velocity only temperature influence so actualy i add temp in icoFoam with the help of wikiopenfoam but i cant able to do when i give the value of velocity 0. so plz tel me what r the modification require to solve my incompressible, laminar & nonisothermal cavity flow? 

September 27, 2011, 02:52 

#6 
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,168
Blog Entries: 1
Rep Power: 15 
you just add temperature to icoFoam but you forget to consider the effect of buoyancy! so
if you want to consider the effect of compressibility, and its not to much, Boussinesq approximation is good! so you should use "buoyantBoussinesqPisoFoam" and this solvers can be chosen to solve laminar case too! read above more care fully! as previously said its dummy! for example in hot room tutorial you just need to edit RASProperties file and put instead of kEpsilon laminar! 

September 27, 2011, 02:55 

#7 
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 13 
Did you read my post at all?
You don't need any modifications, since 1. All solver for turbulent flow can be run for laminar flow 2. From the link you can find a solver for incompressible flow and heat transfer as well 

September 27, 2011, 03:13 

#8 
Member

ok sir i will go for buoyantBoussinesqpimpleFoam solver i only change the Ras properties as u said earlier


September 28, 2011, 03:18 
hello every one

#9 
Member

hiii
i started to solve nonisothermal cavity problem but i dont know how to give the insulated boundary condition. so plz tel me in 2D cavity left & right r my hot & cold wall but top & bottom are insulated so which condition i will put? i think its is zero gradient m i right? 

September 28, 2011, 06:12 
hi

#11 
Member

yes sir i solved my problem but sir i have problem to plot streamFunction i solved problem for laminar nonisothermal cavity flow with buoyantBoussinesqSimpleFoam.
when i run streamfunction then it gave me error like in the file streamFunction.c at line 456 flux field does not exist stream function not calculated so plz tel me how can i plot streamFunction? tel me how to plot streamFunction using buoyantBoussinesqSimpleFoam. i found error like, reate time Create mesh, no clearout for time = 0 Time: 0 > FOAM Warning : From function streamFunction in file streamFunction.C at line 456 Flux field does not exist. Stream function not calculated Time: 100 Reading field phi Zero face: patch: 0 face: 0 #0 Foam::errorrintStack(Foam::Ostream&) in "/opt/openfoam201/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam201/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #2 Uninterpreted: #3 in "/opt/openfoam201/platforms/linuxGccDPOpt/bin/streamFunction" #4 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6" #5 in "/opt/openfoam201/platforms/linuxGccDPOpt/bin/streamFunction" Floating point exception abcz@abczdesktop:~/Desktop/sample$ Last edited by jignesh_thaker2007; September 28, 2011 at 09:30. 

Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
laminar or turbulent model for natural convection  ans281086  FLUENT  0  April 21, 2011 06:30 
Natural Convection with heat generation  krishnachandranr  Main CFD Forum  0  July 28, 2009 04:22 
Laminar natural convection  Henriqueg  CFX  0  June 17, 2009 15:10 
Coupled vs Seg  Natural vs. Forced Convection  Alex  CDadapco  5  December 12, 2007 05:58 
natural convection at high Rayleigh  mauricio  FLUENT  2  February 23, 2005 20:43 