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

Adding temperature equation to porousSimpleFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By David_010

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 5, 2011, 17:16
Default Adding temperature equation to porousSimpleFoam
  #1
Member
 
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16
David_010 is on a distinguished road
Hi to all,

I have been working with the solver porousSimpleFoam (incompressible flow: liquid metals) with isothermal cases and know I need to move to a heat transfer problem, also with porous media. For that, I need to add the temperature equation to the solver. I know how to do with the common temperature equation, but not how to do for the porous media. So, any idea of how to do that?

Thank in advance,

David
David_010 is offline   Reply With Quote

Old   December 6, 2011, 06:52
Default
  #2
New Member
 
Ola Widlund
Join Date: Jun 2011
Location: Sweden
Posts: 13
Rep Power: 14
Ola Widlund is on a distinguished road
Hi David,

I think you should bring out pen and paper and think about the mathematical description of your system. You can let your computer rest until you've finished...

Do you have different temperatures in fluid and solid? How do you represent thermal inertia of the solid (probably two different temperature fields)? How do you intend to model the heat transfer between fluid and solid (the porous media)? Do you have an empirical relation for that? Over what surface area does the heat transfer take place? And what's the shape of the interface? What assumptions can you make about turbulence in the porous medium?

Once you have a clear picture of the above, I think you will also have some ideas about what's needed for the numerical modeling. That's the easy part.

/Ola
Ola Widlund is offline   Reply With Quote

Old   December 6, 2011, 06:53
Default
  #3
New Member
 
Ola Widlund
Join Date: Jun 2011
Location: Sweden
Posts: 13
Rep Power: 14
Ola Widlund is on a distinguished road
Oh, I forgot: What about phase change?!

/Ola
Ola Widlund is offline   Reply With Quote

Old   December 6, 2011, 07:50
Default
  #4
Member
 
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16
David_010 is on a distinguished road
Hi Ola,

Firs of all, thank you very much for your answer. My idea is to simulate a nuclear reactor core. The fuel bundles will be aproximated as porous media. As a first approximation (and I now that is not real at all) I want to suppose uniform temperature between bundles and fluid (liquid metal), so, only one equation is needed, and no phase change. I need also to add an internal heat generation therm.

For a more advanced version, I will add heat transfer between solid and liquid and two temperature equations (liquid and solid), but first I want to start with a simple version.

Asuming that, how to relate the values present on the temperature equation (porosity...) with the porousSimpleFoam solver?

Thankyou very much again,

David
David_010 is offline   Reply With Quote

Old   June 21, 2012, 05:47
Default
  #5
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 20
romant is on a distinguished road
Have you ever been successful with your temperature equation input?

Quote:
Originally Posted by David_010 View Post
Hi Ola,

Firs of all, thank you very much for your answer. My idea is to simulate a nuclear reactor core. The fuel bundles will be aproximated as porous media. As a first approximation (and I now that is not real at all) I want to suppose uniform temperature between bundles and fluid (liquid metal), so, only one equation is needed, and no phase change. I need also to add an internal heat generation therm.

For a more advanced version, I will add heat transfer between solid and liquid and two temperature equations (liquid and solid), but first I want to start with a simple version.

Asuming that, how to relate the values present on the temperature equation (porosity...) with the porousSimpleFoam solver?

Thankyou very much again,

David
__________________
~roman
romant is offline   Reply With Quote

Old   June 21, 2012, 07:35
Default
  #6
Member
 
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16
David_010 is on a distinguished road
Hi Roman,

Yes, I was succesful. In my case I asumed equilibrium between solid and liquid so averaged properties are used (thermal conductivity, viscosity). I also added the buoyancy term and internal heat generation. Results were in good agreement with available numerical and experimental results in the literature regarding a square cavity with porous and fluid layers.

David
svramana likes this.
David_010 is offline   Reply With Quote

Old   June 21, 2012, 07:47
Question
  #7
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 20
romant is on a distinguished road
Quote:
Originally Posted by David_010 View Post
Hi Roman,

Yes, I was succesful. In my case I asumed equilibrium between solid and liquid so averaged properties are used (thermal conductivity, viscosity). I also added the buoyancy term and internal heat generation. Results were in good agreement with available numerical and experimental results in the literature regarding a square cavity with porous and fluid layers.

David
Have you published the results somewhere? And is it possible to obtain the source code?
__________________
~roman
romant is offline   Reply With Quote

Old   February 18, 2013, 08:42
Default
  #8
Member
 
Theodoros Papadopoulos
Join Date: Mar 2011
Posts: 36
Rep Power: 15
papteo is on a distinguished road
Quote:
Originally Posted by romant View Post
Have you published the results somewhere? And is it possible to obtain the source code?
Hi ,

I am interesting also for the implementation of the energy equation in porous media. Is it possibly to give us some more information about the programming? I would be really grateful if you could send me some more information (e.g. code).

Ma email adress is theodpapadopoulos@yahoo.gr

Thank you very much in advance
papteo is offline   Reply With Quote

Old   December 9, 2016, 05:06
Default
  #9
New Member
 
saran
Join Date: Nov 2016
Posts: 10
Rep Power: 9
Saran16 is on a distinguished road
Hello Friends
I am new to openfoam my project is to analysis the heat flow over a surface in which am using a porous surface now i have see how much temp difference is there at the start and after a time interval how to use poroussimplefoam. my flow is laminar for a simple case.
Saran16 is offline   Reply With Quote

Old   February 14, 2018, 01:22
Default
  #10
Member
 
Ramana
Join Date: Jul 2017
Location: India
Posts: 58
Rep Power: 8
svramana is on a distinguished road
Quote:
Originally Posted by David_010 View Post
Hi Roman,

Yes, I was succesful. In my case I asumed equilibrium between solid and liquid so averaged properties are used (thermal conductivity, viscosity). I also added the buoyancy term and internal heat generation. Results were in good agreement with available numerical and experimental results in the literature regarding a square cavity with porous and fluid layers.

David
Hi i am trying to add TEquation to porousSimplefoam ,i have general idea about adding temperature equation to Icofoam. I tried to implement the same

i am not clear how to add porosity effect into it. Any leads in this direction will be highly appreciated.

Thanks in advance

Regards,
S.V.Ramana
svramana 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
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32
adding Au (A is a constant) term to the momentum equation via udf shahri20 FLUENT 0 November 29, 2011 05:03
Energy Equation - Temperature difference wawa FLUENT 1 August 26, 2011 07:03
continuity equation Rafal Main CFD Forum 4 November 29, 2006 09:27


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