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

Natural convection in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 21, 2015, 04:20
Default Natural convection in OpenFOAM
  #1
New Member
 
sangram
Join Date: Jan 2014
Posts: 17
Rep Power: 12
sangram is on a distinguished road
Hello everyone,
I am new to OpenFOAM. I want to solve natural convection problem. I have 3 blocks placed one over other. One of the block is power source. I want to determine the temperature distribution.
How should I proceed?

Thanks & Regards,
Sangram Valkunde
sangram is offline   Reply With Quote

Old   November 10, 2015, 08:17
Default
  #2
Senior Member
 
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 12
Saideep is on a distinguished road
I guess this should help you out.

https://openfoamwiki.net/index.php/H...ure_to_icoFoam

In short you need to choose a suitable solver for your case. Later if you are developing your case from an isothermal case you need to include the temperature field in order to work over it.

Later, you need to include the temperature into the solver so that the temperature field is being calculated every time step.

Hope this helps;
Saideep
Saideep is offline   Reply With Quote

Old   November 10, 2015, 09:14
Default
  #3
New Member
 
Damon Lee
Join Date: Sep 2014
Posts: 16
Rep Power: 12
D_LEE is on a distinguished road
Just to add to the answer, you are going to need a density change to drive the flow, or more easily you could use the boussinesq approximation, in which case you add a term next to the external force, something like (someConstant) * g * (T0-T), where T0, g and someConstant are dimensionedScalar or dimensionedVector and T is a volScalarfield exactly like p.
D_LEE is offline   Reply With Quote

Old   November 17, 2015, 01:06
Default
  #4
New Member
 
Join Date: Oct 2015
Posts: 4
Rep Power: 11
vsang is on a distinguished road
Thank You Saideep and D_Lee.
Do I need to make changes in the source code of solver?
How I should define different material properties to different regions?

Regards,
Sangram
vsang is offline   Reply With Quote

Old   November 17, 2015, 02:03
Default
  #5
Senior Member
 
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 13
ssss is on a distinguished road
If the boussinesq approximation is valid in your case, you can use the buoyantBoussinesq*Foam solvers, that are included in OpenFOAM, if not you should use DE buoyant*Foam solvers which can take into account more compressibility effects
ssss is offline   Reply With Quote

Old   June 13, 2016, 19:48
Default
  #6
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Tampa, US
Posts: 308
Rep Power: 16
Mojtaba.a is on a distinguished road
Send a message via Skype™ to Mojtaba.a
Quote:
Originally Posted by ssss View Post
If the boussinesq approximation is valid in your case, you can use the buoyantBoussinesq*Foam solvers, that are included in OpenFOAM, if not you should use DE buoyant*Foam solvers which can take into account more compressibility effects
Hi, I am a bit confused by this. It would be a great help if you could answer the following question for me:

What is the difference between buoyant*Foam solvers and rho* solvers? For example the difference between buoyantSimpleFoam and rhoSimpleFoam. Aren't they both compressible? So how come one does include buoyancy effect and one does not? Isn't buoyancy due to change in density which is considered in both solvers?

Thank you,
Mojtaba.
__________________
Learn OpenFOAM in Persian
SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member
Complex Heat & Flow Simulation Research Group
If you can't explain it simply, you don't understand it well enough. "Richard Feynman"
Mojtaba.a is offline   Reply With Quote

Old   April 21, 2020, 07:45
Default Natural convection in square cavity
  #7
New Member
 
Đà Nẵng
Join Date: Jun 2019
Posts: 4
Rep Power: 7
hoai nguyen is on a distinguished road
Hello everyone,

I am a new OpenFOAM users. I am using OpenFOAM to simulate 2D natural convection in square cavity. However, my results is not same benchmark.
My problem: square cavity (0.1x0.1), air inside.
Boundary conditions:
T: Hot temperature is 274K, cold temperature is 273K, top and bottom are adiabatic.
Velocity: v=0
Initial condition:
T =273K
Could you please explain for me?
Thank you so much!
Attached Images
File Type: jpg natural convection.jpg (42.6 KB, 92 views)
hoai nguyen is offline   Reply With Quote

Old   June 23, 2020, 04:31
Default
  #8
New Member
 
damu
Join Date: Feb 2017
Posts: 24
Rep Power: 9
damu1414 is on a distinguished road
Hi Hoai Nguyen

Thank you for the post. I was trying to validate the same. I would like to know which OF version you are using and the solver in specific because I came to know from one of the other threads about issues/bugs with OF v7.
damu1414 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
Natural Convection Problem - Helium marzoa STAR-CCM+ 0 April 18, 2011 15:12
natural convection simulation in openfoam hayat OpenFOAM 0 January 22, 2011 19:41
CFX Natural Convection, please help. dbecker CFX 5 October 13, 2010 20:07
Natural convection - Inlet boundary condition max91 CFX 1 July 29, 2008 21:28
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 07:29


All times are GMT -4. The time now is 21:35.