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

interFoam with energy equation

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

Like Tree2Likes
  • 2 Post By sina_mech

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 29, 2013, 09:00
Question interFoam with energy equation
  #1
Senior Member
 
SinaJ
Join Date: Nov 2009
Posts: 136
Rep Power: 16
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, 11:19
Default
  #2
Senior Member
 
SinaJ
Join Date: Nov 2009
Posts: 136
Rep Power: 16
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!
mheinz and Liaket like this.
sina_mech is offline   Reply With Quote

Old   June 29, 2013, 17:00
Default
  #3
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
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
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 16:07
Pohlhausen energy equation MATLAB help abe_cooldude Main CFD Forum 2 May 3, 2010 17:58
SIMPLE and energy equation convergence Fabio Main CFD Forum 0 June 1, 2007 07:06
How to discretize of energy equation ?? Asghari FLUENT 0 October 12, 2006 09:09
energy equation formulation Pedro Phoenics 1 July 5, 2001 13:17


All times are GMT -4. The time now is 08:21.