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

Adding temperature equation to porousSimpleFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 5, 2011, 18:16
Default Adding temperature equation to porousSimpleFoam
  #1
Member
 
David
Join Date: Dec 2009
Location: Spain
Posts: 58
Rep Power: 7
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, 07:52
Default
  #2
New Member
 
Ola Widlund
Join Date: Jun 2011
Location: Sweden
Posts: 13
Rep Power: 6
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, 07:53
Default
  #3
New Member
 
Ola Widlund
Join Date: Jun 2011
Location: Sweden
Posts: 13
Rep Power: 6
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, 08:50
Default
  #4
Member
 
David
Join Date: Dec 2009
Location: Spain
Posts: 58
Rep Power: 7
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: Stockholm, Sweden
Posts: 359
Rep Power: 11
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: 58
Rep Power: 7
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
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: Stockholm, Sweden
Posts: 359
Rep Power: 11
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, 09:42
Default
  #8
Member
 
Theodoros Papadopoulos
Join Date: Mar 2011
Posts: 36
Rep Power: 6
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

Reply

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


All times are GMT -4. The time now is 18:50.