# interFoam with energy equation

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

 June 29, 2013, 08:00 interFoam with energy equation #1 Senior Member   SinaJ Join Date: Nov 2009 Posts: 129 Rep Power: 10 Hi friends, I have modified interFoam solver to solve energy equation based on this report: http://www.tfd.chalmers.se/~hani/kur...gLIU-final.pdf Now, I'm trying to solve damBreak problem using my own solver. I have modified boundary conditions (constant temperatures for each wall), and FVsolution and FVsolver too. I get this error while running the solver: Code: ```Create time Create mesh for time = 0 PIMPLE: Operating solver in PISO mode Reading field p_rgh Reading field alpha1 Reading field T Reading field U Reading/calculating face flux field phi Reading transportProperties Selecting incompressible transport model Newtonian Selecting incompressible transport model Newtonian Selecting turbulence model type laminar Reading g Calculating field g.h Reading / calculating rho*cp Reading / calculating rho*phi*cp time step continuity errors : sum local = 0, global = 0, cumulative = 0 DICPCG: Solving for pcorr, Initial residual = 0, Final residual = 0, No Iterations 0 time step continuity errors : sum local = 0, global = 0, cumulative = 0 Courant Number mean: 0 max: 0 Starting time loop Courant Number mean: 0 max: 0 Interface Courant Number mean: 0 max: 0 deltaT = 0.00117647 Time = 0.00117647 MULES: Solving for alpha1 Phase-1 volume fraction = 0.130194 Min(alpha1) = 0 Max(alpha1) = 1 MULES: Solving for alpha1 Phase-1 volume fraction = 0.130194 Min(alpha1) = 0 Max(alpha1) = 1 --> FOAM FATAL IO ERROR: keyword TFinal is undefined in dictionary "/home/sina/OpenFOAM/sina-2.1.1/run/damBreak/system/fvSolution::solvers" file: /home/sina/OpenFOAM/sina-2.1.1/run/damBreak/system/fvSolution::solvers from line 22 to line 56. From function dictionary::subDict(const word& keyword) const in file db/dictionary/dictionary.C at line 461. FOAM exiting *** glibc detected *** myinterFoam: corrupted double-linked list: 0x098630b0 ***``` I'd appreciate if anyone could help me about this crucial problem. Thank you

 June 29, 2013, 10:19 #2 Senior Member   SinaJ Join Date: Nov 2009 Posts: 129 Rep Power: 10 I used this code in fvSolution : Code: ```TFinal { \$T; }``` but, to be honest, I'm not sure about it! and I don't know what exactly happens when I add this code! mheinz likes this.

 June 29, 2013, 16:00 #3 Senior Member   Nima Samkhaniani Join Date: Sep 2009 Location: Tehran, Iran Posts: 1,240 Blog Entries: 1 Rep Power: 18 as it works, its fine :P, but that pieces of code tell solver to use the same setup for TFinal, i guess u use pimple with outercorrector more than 1 thats why it needs TFinal __________________ Telegram channel (https://telegram.me/openfoam4Iranian) My Weblog in Persian(http://openfoam.blogfa.com/) My Personal Website (http://nimasamkhaniani.ir/)

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post nakul OpenFOAM 0 October 10, 2010 15:07 abe_cooldude Main CFD Forum 2 May 3, 2010 16:58 Fabio Main CFD Forum 0 June 1, 2007 06:06 Asghari FLUENT 0 October 12, 2006 08:09 Pedro Phoenics 1 July 5, 2001 12:17

All times are GMT -4. The time now is 09:55.