Adding temperature field to InterFoam
Hi all,
I am trying to add the temperature field to the interFoam solver. I have followed the similar steps as given in one of the threads to add temperature field to icoFoam solver. I am not sure of the boundary conditions to be be prescribed to the temperature file in 0/T. Could anybody please help me. Thanks Ramesh 
Ramesh,
As I see it, there are four possible boundary condition you can choose from. 1) fixedValue 2) zeroGradient 3) gradient 4) empty If you have a 2D mesh, at least one patch has to be of the 'empty' kind. FixedValue will give you a fixed temperature at that specific boundary zeroGradient will give you no change in temperature across the boundary Gradient will give you something like a specified heat flux. Look at this example: dimensions [0 0 0 1 0 0 0]; internalField uniform 290; boundaryField { bottom { type fixedValue; value uniform 350; } Outflow { type zeroGradient; } side_wall { type zeroGradient; } } Good luck, Eelco 
Hi,
Thanks for your input. It worked!. I am still not sure whether I am following the correct way. I just followed the similar procedure as in the tutorial to add temperature field to icoFoam solver. Please give me some inputs whether this makes sense or not. Thanks Ramesh 
Can you be more specific in what your concerns are.....

Hi,
my worry is that is that so straightforward in adding temperature field to interFOam as in the case of cavity test case which involves icoFoam 
I think you try to say this: it is not so straightforward to add temperature into interFoam as it is in icoFoam.
This is true, the energy equation that you've just added does not take into account certain two phase properties which exist in interFoam. 
yes you are right. Do you have any idea how to go about it?

you could rewrite the equation to incoorporate the twophase properties

Hi, dear yapalparvi, I am doing the same job just as you. The details of my rivision the solver is shown in the thread.
http://www.cfdonline.com/Forums/ope...tml#post232680 Please correct me if there is something wrong. Good luck. chiven 
All times are GMT 4. The time now is 10:51. 