CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

interFoam with energy equation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 29, 2013, 08:00
Question interFoam with energy equation
  #1
Member
 
SinaJ
Join Date: Nov 2009
Posts: 34
Rep Power: 7
sina_mech is on a distinguished road
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
sina_mech is offline   Reply With Quote

Old   June 29, 2013, 10:19
Default
  #2
Member
 
SinaJ
Join Date: Nov 2009
Posts: 34
Rep Power: 7
sina_mech is on a distinguished road
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!
sina_mech is offline   Reply With Quote

Old   June 29, 2013, 16:00
Default
  #3
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,124
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
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
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam 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
energy equation in rhoCentralFoam nakul OpenFOAM 0 October 10, 2010 15:07
Pohlhausen energy equation MATLAB help abe_cooldude Main CFD Forum 2 May 3, 2010 16:58
SIMPLE and energy equation convergence Fabio Main CFD Forum 0 June 1, 2007 06:06
How to discretize of energy equation ?? Asghari FLUENT 0 October 12, 2006 08:09
energy equation formulation Pedro Phoenics 1 July 5, 2001 12:17


All times are GMT -4. The time now is 10:28.