# Adding temperature equation to porousSimpleFoam

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

 December 5, 2011, 17:16 Adding temperature equation to porousSimpleFoam #1 Member   David Join Date: Dec 2009 Location: Spain Posts: 62 Rep Power: 16 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

 December 6, 2011, 06:52 #2 New Member   Ola Widlund Join Date: Jun 2011 Location: Sweden Posts: 13 Rep Power: 14 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

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

 December 6, 2011, 07:50 #4 Member   David Join Date: Dec 2009 Location: Spain Posts: 62 Rep Power: 16 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

June 21, 2012, 05:47
#5
Senior Member

Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 20
Have you ever been successful with your temperature equation input?

Quote:
 Originally Posted by David_010 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

 June 21, 2012, 07:35 #6 Member   David Join Date: Dec 2009 Location: Spain Posts: 62 Rep Power: 16 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.

June 21, 2012, 07:47
#7
Senior Member

Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 20
Quote:
 Originally Posted by David_010 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

February 18, 2013, 08:42
#8
Member

Join Date: Mar 2011
Posts: 36
Rep Power: 15
Quote:
 Originally Posted by romant 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).

Thank you very much in advance

 December 9, 2016, 05:06 #9 New Member   saran Join Date: Nov 2016 Posts: 10 Rep Power: 9 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.

February 14, 2018, 01:22
#10
Member

Ramana
Join Date: Jul 2017
Location: India
Posts: 58
Rep Power: 8
Quote:
 Originally Posted by David_010 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.

Regards,
S.V.Ramana