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

Adding temperature field to InterFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 5, 2009, 09:03
Default Adding temperature field to InterFoam
  #1
Member
 
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 8
yapalparvi is on a distinguished road
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
yapalparvi is offline   Reply With Quote

Old   August 5, 2009, 11:30
Default
  #2
Member
 
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 8
feijooos is on a distinguished road
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
feijooos is offline   Reply With Quote

Old   August 5, 2009, 11:56
Default
  #3
Member
 
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 8
yapalparvi is on a distinguished road
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
yapalparvi is offline   Reply With Quote

Old   August 5, 2009, 11:58
Default
  #4
Member
 
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 8
feijooos is on a distinguished road
Can you be more specific in what your concerns are.....
feijooos is offline   Reply With Quote

Old   August 5, 2009, 12:29
Default
  #5
Member
 
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 8
yapalparvi is on a distinguished road
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
yapalparvi is offline   Reply With Quote

Old   August 5, 2009, 12:33
Default
  #6
Member
 
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 8
feijooos is on a distinguished road
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.
feijooos is offline   Reply With Quote

Old   August 5, 2009, 12:35
Default
  #7
Member
 
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 8
yapalparvi is on a distinguished road
yes you are right. Do you have any idea how to go about it?
yapalparvi is offline   Reply With Quote

Old   August 5, 2009, 12:50
Default
  #8
Member
 
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 8
feijooos is on a distinguished road
you could rewrite the equation to incoorporate the two-phase properties
feijooos is offline   Reply With Quote

Old   October 14, 2009, 20:18
Default
  #9
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 8
chiven is on a distinguished road
Hi, dear yapalparvi, I am doing the same job just as you. The details of my rivision the solver is shown in the thread.
Diverging result for Temperature field in interFoam
Please correct me if there is something wrong. Good luck.
chiven
chiven 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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Adding Temperature field to IcoFoam yapalparvi OpenFOAM Running, Solving & CFD 13 January 18, 2014 09:25
Getting a concentration field around a bubble in InterFoam azman OpenFOAM Running, Solving & CFD 2 January 7, 2013 14:47
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
transient temperature field with constant velocity Törnquist CFX 0 September 16, 2003 04:22


All times are GMT -4. The time now is 04:49.