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

Laminar Natural Convection

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By eugene
  • 1 Post By nimasam
  • 1 Post By Bernhard

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 17, 2011, 14:30
Default Laminar Natural Convection
  #1
Member
 
,...
Join Date: Apr 2011
Posts: 92
Rep Power: 14
hawkeye321 is an unknown quantity at this point
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
hawkeye321 is offline   Reply With Quote

Old   August 18, 2011, 04:30
Default
  #2
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
You can run laminar with the "turbulent" solvers. Just select "laminar" as the turbulence model in the RASproperties dictionary.
elham-u likes this.
eugene is offline   Reply With Quote

Old   September 27, 2011, 01:58
Default hiiiii every one
  #3
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 14
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
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 non-isothermal 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
jignesh_thaker2007 is offline   Reply With Quote

Old   September 27, 2011, 02:17
Default
  #4
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
Bernhard is on a distinguished road
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/standard-solvers.php

omega, k, epsilon and nutilda are typical variables obtained from turbulence modelling. If you have laminar flow, you don't need those.
Bernhard is offline   Reply With Quote

Old   September 27, 2011, 02:33
Default Hello sir
  #5
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 14
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
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 lid-driven 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?
jignesh_thaker2007 is offline   Reply With Quote

Old   September 27, 2011, 02:52
Default
  #6
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
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!
elham-u likes this.
nimasam is offline   Reply With Quote

Old   September 27, 2011, 02:55
Default
  #7
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
Bernhard is on a distinguished road
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
elham-u likes this.
Bernhard is offline   Reply With Quote

Old   September 27, 2011, 03:13
Default
  #8
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 14
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
ok sir i will go for buoyantBoussinesqpimpleFoam solver i only change the Ras properties as u said earlier
jignesh_thaker2007 is offline   Reply With Quote

Old   September 28, 2011, 03:18
Default hello every one
  #9
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 14
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
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?
jignesh_thaker2007 is offline   Reply With Quote

Old   September 28, 2011, 03:21
Default
  #10
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
you are right, zeroGradient is suitable
nimasam is offline   Reply With Quote

Old   September 28, 2011, 06:12
Default hi
  #11
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 14
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
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 clear-out 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@abcz-desktop:~/Desktop/sample$

Last edited by jignesh_thaker2007; September 28, 2011 at 09:30.
jignesh_thaker2007 is offline   Reply With Quote

Reply


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
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 Siemens 5 December 12, 2007 04:58
natural convection at high Rayleigh mauricio FLUENT 2 February 23, 2005 19:43


All times are GMT -4. The time now is 06:53.