|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
SinaJ
Join Date: Nov 2009
Posts: 136
Rep Power: 18 ![]() |
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 ***
Thank you |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
SinaJ
Join Date: Nov 2009
Posts: 136
Rep Power: 18 ![]() |
I used this code in fvSolution :
Code:
TFinal
{
$T;
}
|
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,269
Blog Entries: 1
Rep Power: 26 ![]() |
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) |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |