How can I add temperature equation in interfoam

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

 December 25, 2013, 10:38 How can I add temperature equation in interfoam #1 Member   sajad Join Date: Aug 2013 Posts: 64 Rep Power: 5 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

 December 25, 2013, 13:22 #2 Member   Join Date: Aug 2013 Posts: 60 Rep Power: 5 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.

December 26, 2013, 17:11
#3
Member

Join Date: Aug 2013
Posts: 64
Rep Power: 5
Quote:
 Originally Posted by sur4j 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.
add energy eq. to interfoam is diffterent with icoFoam.
best regards

 December 27, 2013, 08:15 #4 Member   shinji nakagawa Join Date: Mar 2009 Location: Japan Posts: 32 Rep Power: 9 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.

December 27, 2013, 11:03
#5
Member

Join Date: Aug 2013
Posts: 64
Rep Power: 5
Quote:
 Originally Posted by snak 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,
my case is not compressible.
can I use this?
best regards

 January 13, 2014, 09:40 #6 Member   Mahdi S Join Date: Jul 2012 Posts: 34 Rep Power: 6 Although your case is not compressible, you may get the idea how to implement energy equation by over-looking at the solver

January 13, 2014, 11:30
#7
Member

Join Date: Aug 2013
Posts: 64
Rep Power: 5
Quote:
 Originally Posted by Mahdi2010 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.

 February 11, 2014, 10:51 #8 Member   Mahdi S Join Date: Jul 2012 Posts: 34 Rep Power: 6 Have you got any progress in this implementation?

February 11, 2014, 14:11
#9
Member

Join Date: Aug 2013
Posts: 64
Rep Power: 5
Quote:
 Originally Posted by Mahdi2010 Have you got any progress in this implementation?
hi Mehdi,
Im so sorry.
I cant to do it.

February 27, 2014, 01:46
#10
Senior Member

Join Date: Oct 2012
Location: AUS
Posts: 129
Rep Power: 6
Hi,
interTempFoam is the solver and incompressibleTwoPhaseThermalMixture is the library file. Just compile the solver and the library file... thats it!!!!

cheers
#shakil
Attached Files
 interTempFoam.tar.gz (4.0 KB, 128 views) incompressibleTwoPhaseThermalMixture.tar.gz (2.3 KB, 103 views)

 February 27, 2014, 01:56 #11 Senior Member   Mohammad Shakil Ahmmed Join Date: Oct 2012 Location: AUS Posts: 129 Rep Power: 6 Also, you can have a look at the thread: Diverging result for Temperature field in interFoam cheers, #shakil

April 23, 2014, 04:09
#12
Member

Join Date: Aug 2013
Posts: 64
Rep Power: 5
Quote:
 Originally Posted by ahmmedshakil 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?

 April 23, 2014, 04:50 #13 Senior Member   Mohammad Shakil Ahmmed Join Date: Oct 2012 Location: AUS Posts: 129 Rep Power: 6 What type of problem you are facing ?(did you try with wmake libso ?)

April 24, 2014, 00:12
#14
Member

Join Date: Aug 2013
Posts: 64
Rep Power: 5
Quote:
 Originally Posted by ahmmedshakil 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

 April 24, 2014, 02:49 please try with that #15 Senior Member   Mohammad Shakil Ahmmed Join Date: Oct 2012 Location: AUS Posts: 129 Rep Power: 6 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

April 24, 2014, 07:30
#16
Member

Join Date: Aug 2013
Posts: 64
Rep Power: 5
Quote:
 Originally Posted by ahmmedshakil 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.

April 30, 2014, 09:38
#17
Member

Join Date: Aug 2013
Posts: 64
Rep Power: 5
Quote:
 Originally Posted by ahmmedshakil 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