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

How can I add temperature equation in interfoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 25, 2013, 10:38
Default How can I add temperature equation in interfoam
  #1
Member
 
sajad
Join Date: Aug 2013
Posts: 64
Rep Power: 3
seju is on a distinguished road
Dear foamer, how can I add temperature equation in interfoam? I wanna use this for 2 phase flow.
do you have any references in this field?
best regards
seju is offline   Reply With Quote

Old   December 25, 2013, 13:22
Default
  #2
Member
 
Join Date: Aug 2013
Posts: 60
Rep Power: 3
sur4j is on a distinguished road
Hi Seju,

I am a beginner with OpenFOAM and used the following as a reference for adding temperature to existing solvers:

http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam

It may help you with your simulation.
sur4j is offline   Reply With Quote

Old   December 26, 2013, 17:11
Default
  #3
Member
 
sajad
Join Date: Aug 2013
Posts: 64
Rep Power: 3
seju is on a distinguished road
Quote:
Originally Posted by sur4j View Post
Hi Seju,

I am a beginner with OpenFOAM and used the following as a reference for adding temperature to existing solvers:

http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam

It may help you with your simulation.
hi sur4j. thanks for reply
add energy eq. to interfoam is diffterent with icoFoam.
best regards
sajad
seju is offline   Reply With Quote

Old   December 27, 2013, 08:15
Default
  #4
New Member
 
shinji nakagawa
Join Date: Mar 2009
Location: Japan
Posts: 25
Rep Power: 8
snak is on a distinguished road
Hi Seju,

compressibleInterFoam in OpenFOAM2.2.2 handles energy eq.

Description from source code...
24 Application
25 compressibleInterFoam
26
27 Description
28 Solver for 2 compressible, non-isothermal immiscible fluids using a VOF
29 (volume of fluid) phase-fraction based interface capturing approach.
30
31 The momentum and other fluid properties are of the "mixture" and a single
32 momentum equation is solved.
33
34 Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected.
snak is offline   Reply With Quote

Old   December 27, 2013, 11:03
Default
  #5
Member
 
sajad
Join Date: Aug 2013
Posts: 64
Rep Power: 3
seju is on a distinguished road
Quote:
Originally Posted by snak View Post
Hi Seju,

compressibleInterFoam in OpenFOAM2.2.2 handles energy eq.

Description from source code...
24 Application
25 compressibleInterFoam
26
27 Description
28 Solver for 2 compressible, non-isothermal immiscible fluids using a VOF
29 (volume of fluid) phase-fraction based interface capturing approach.
30
31 The momentum and other fluid properties are of the "mixture" and a single
32 momentum equation is solved.
33
34 Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected.
hi snak,
thanks for reply
my case is not compressible.
can I use this?
best regards
sajad
seju is offline   Reply With Quote

Old   January 13, 2014, 09:40
Default
  #6
New Member
 
Mahdi S
Join Date: Jul 2012
Posts: 12
Rep Power: 4
Mahdi2010 is on a distinguished road
Although your case is not compressible, you may get the idea how to
implement energy equation by over-looking at the solver
Mahdi2010 is offline   Reply With Quote

Old   January 13, 2014, 11:30
Default
  #7
Member
 
sajad
Join Date: Aug 2013
Posts: 64
Rep Power: 3
seju is on a distinguished road
Quote:
Originally Posted by Mahdi2010 View Post
Although your case is not compressible, you may get the idea how to
implement energy equation by over-looking at the solver
thanks mehdi. Im trying to do it.
seju is offline   Reply With Quote

Old   February 11, 2014, 10:51
Default
  #8
New Member
 
Mahdi S
Join Date: Jul 2012
Posts: 12
Rep Power: 4
Mahdi2010 is on a distinguished road
Have you got any progress in this implementation?
Mahdi2010 is offline   Reply With Quote

Old   February 11, 2014, 14:11
Default
  #9
Member
 
sajad
Join Date: Aug 2013
Posts: 64
Rep Power: 3
seju is on a distinguished road
Quote:
Originally Posted by Mahdi2010 View Post
Have you got any progress in this implementation?
hi Mehdi,
Im so sorry.
I cant to do it.
seju is offline   Reply With Quote

Old   February 27, 2014, 01:46
Default add temperature equation in interfoam
  #10
Senior Member
 
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AU
Posts: 122
Rep Power: 5
ahmmedshakil is on a distinguished road
Hi,
I guess this will help you.
interTempFoam is the solver and incompressibleTwoPhaseThermalMixture is the library file. Just compile the solver and the library file... thats it!!!!

cheers
#shakil
Attached Files
File Type: gz interTempFoam.tar.gz (4.0 KB, 73 views)
File Type: gz incompressibleTwoPhaseThermalMixture.tar.gz (2.3 KB, 64 views)
ahmmedshakil is offline   Reply With Quote

Old   February 27, 2014, 01:56
Default
  #11
Senior Member
 
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AU
Posts: 122
Rep Power: 5
ahmmedshakil is on a distinguished road
Also, you can have a look at the thread: Diverging result for Temperature field in interFoam

cheers,
#shakil
ahmmedshakil is offline   Reply With Quote

Old   April 23, 2014, 04:09
Default
  #12
Member
 
sajad
Join Date: Aug 2013
Posts: 64
Rep Power: 3
seju is on a distinguished road
Quote:
Originally Posted by ahmmedshakil View Post
Also, you can have a look at the thread: Diverging result for Temperature field in interFoam

cheers,
#shakil
hi Mohammad,thanks for reply. I cant compile the lib. can you help me?
best regards. Sajad
seju is offline   Reply With Quote

Old   April 23, 2014, 04:50
Default
  #13
Senior Member
 
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AU
Posts: 122
Rep Power: 5
ahmmedshakil is on a distinguished road
What type of problem you are facing ?(did you try with wmake libso ?)
ahmmedshakil is offline   Reply With Quote

Old   April 24, 2014, 00:12
Default
  #14
Member
 
sajad
Join Date: Aug 2013
Posts: 64
Rep Power: 3
seju is on a distinguished road
Quote:
Originally Posted by ahmmedshakil View Post
What type of problem you are facing ?(did you try with wmake libso ?)
did you compile that whit wmake libso?
when I type wmake libso I see a error and I ca'nt compile that.
best regards
Sajad
seju is offline   Reply With Quote

Old   April 24, 2014, 02:49
Default please try with that
  #15
Senior Member
 
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AU
Posts: 122
Rep Power: 5
ahmmedshakil is on a distinguished road
Sorry, I got the problem. It's missing the linking of the library. Right now I'm extremely busy (probably I will fixed it later). Please try with the Qingming's file (Qingming Liu: Impementation of a myinterFoamDiabatic solver with OpenFOAM Slides Report Code Case)
in http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2011/ . It has a good explanation and it must work I guess.

Cheers,
shakil
ahmmedshakil is offline   Reply With Quote

Old   April 24, 2014, 07:30
Default
  #16
Member
 
sajad
Join Date: Aug 2013
Posts: 64
Rep Power: 3
seju is on a distinguished road
Quote:
Originally Posted by ahmmedshakil View Post
Sorry, I got the problem. It's missing the linking of the library. Right now I'm extremely busy (probably I will fixed it later). Please try with the Qingming's file (Qingming Liu: Impementation of a myinterFoamDiabatic solver with OpenFOAM Slides Report Code Case)
in http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2011/ . It has a good explanation and it must work I guess.

Cheers,
shakil
dear shakil
thank you so much for reply.
in this link I can't found whats my problem.
I know you are busy but I'm waiting for revise this file in any time because I need this file.
best regards.
Sajad
seju is offline   Reply With Quote

Old   April 30, 2014, 09:38
Default
  #17
Member
 
sajad
Join Date: Aug 2013
Posts: 64
Rep Power: 3
seju is on a distinguished road
Quote:
Originally Posted by ahmmedshakil View Post
Sorry, I got the problem. It's missing the linking of the library. Right now I'm extremely busy (probably I will fixed it later). Please try with the Qingming's file (Qingming Liu: Impementation of a myinterFoamDiabatic solver with OpenFOAM Slides Report Code Case)
in http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2011/ . It has a good explanation and it must work I guess.

Cheers,
shakil
Hi Shakil
did you try compile this lib and solver?
best regards
Sajad
seju 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
The unit of thermal conductivity when adding temperature equation to icoFoam? mxylondon OpenFOAM 2 February 26, 2013 06:26
error message cuteapathy CFX 14 March 20, 2012 07:45
How to add correcting pressure equation in SIMPLE of MRFSimpleFOAM? renyun0511 OpenFOAM Programming & Development 0 November 4, 2010 02:38
Transport Equation for temperature variance ameya OpenFOAM Running, Solving & CFD 0 December 5, 2008 02:16
how to active temperature equation james FLUENT 0 June 19, 2006 03:54


All times are GMT -4. The time now is 17:44.