|
[Sponsors] |
coldEngineFoam (OpenFoam 2.1.x), constant Temperature during adiabatic compression |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 20, 2013, 21:43 |
coldEngineFoam (OpenFoam 2.1.x), constant Temperature during adiabatic compression
|
#1 |
Member
Martin Novák
Join Date: Dec 2012
Location: Prague
Posts: 70
Rep Power: 13 |
Dear Foamers.
In past two weeks I have been tempting to proove that coldEngineFoam satisfies the basic conservation laws (mass, I law of TD., ...). Unpleasant surprise appeared in a simple adiabatic case, compression of perfect gas (air) in simple cylindre by moving of the ground ( ~ piston). The pressure in the adiabatic process has to follow the adiabat, given by eq. pV^{kappa} = konst, where kappa = 1.4 for air (sorry for boring you with basics). However, the pressure obtained by OpenFoam does not fit even remotely the correct adiabat. Moreover, during adiabatic compression and expansion, the computed temperature remains constant. Could you, dear Foamers, be so polite and tell me, where I made a mistake or what stands behinds the constant temperature? Yours sincerely Martin The case coldEngineFoam_adiabaticCompression.tar.gz (6.7 MB) https://mega.co.nz/#!OABUmSyY!JAjUGi...xXhQ3Pqtv9N3tI In order to reproduce run the Allrun.sh For time saving purposes type in the constant/polymesh/blockMeshDict.m4 define(NPS, 50) //how many cells in the square section define(NPD, 50) //how many cells from square section to perimeter define(NPY, 20) // how many cells from top to bottom to define(NPS, 20) //how many cells in the square section define(NPD, 20) //how many cells from square section to perimeter define(NPY, 10) // how many cells from top to bottom or etc. |
|
February 25, 2013, 13:25 |
|
#2 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
Hi Martin,
I was away for the weekend and didn't see your post until today. I saw that there was a bug report and fix for some issues with coldEngineFoam; did updating to these fix your problem? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 2.1.x - AMI (Arbitrary Mesh Interface) | philippose | OpenFOAM Running, Solving & CFD | 39 | March 17, 2017 10:52 |
Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 07:27 |
Compilation error with OpenFOAM 2.1.x | Martin_ | OpenFOAM Installation | 28 | January 15, 2013 07:58 |
Constant heat flux with uniform temperature | Jake Lee | FLUENT | 2 | April 13, 2011 23:08 |
Constant wall heat flux with uniform temperature | Jake | FLUENT | 2 | September 29, 2003 12:34 |