How can I add temperature equation in interfoam
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 |
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. |
Quote:
add energy eq. to interfoam is diffterent with icoFoam. best regards sajad |
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. |
Quote:
thanks for reply my case is not compressible. can I use this? best regards sajad |
Although your case is not compressible, you may get the idea how to
implement energy equation by over-looking at the solver |
Quote:
|
Have you got any progress in this implementation?
|
Quote:
Im so sorry. I cant to do it. |
add temperature equation in interfoam
2 Attachment(s)
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 |
Also, you can have a look at the thread: http://www.cfd-online.com/Forums/ope...interfoam.html
cheers, #shakil |
Quote:
best regards. Sajad |
What type of problem you are facing ?(did you try with wmake libso ?)
|
Quote:
when I type wmake libso I see a error and I ca'nt compile that.:(:(:( best regards Sajad |
please try with that
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 |
Quote:
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 |
Quote:
did you try compile this lib and solver? best regards Sajad |
All times are GMT -4. The time now is 22:36. |