View Issue Details

IDProjectCategoryView StatusLast Update
0000752OpenFOAMBugpublic2013-02-25 14:47
Reporteruser600Assigned Tohenry  
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSUbuntuOS Version 12.04 x64
Summary0000752: coldEngineFoam, constant Temperature in adiabatic compression or expansion of perfect gas
DescriptionCompression 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. However, the pressure obtained by OpenFoam does not fit even remotely the correct adiabat (fit when kappa = 1). During adiabatic compression and expansion, the computed temperature remains constant
Steps To Reproduceexecute Allrun.sh in the attached case
Additional InformationFor 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.
TagsNo tags attached.

Activities

user600

2013-02-21 02:32

  ~0001936

I have exceeded the allowed file size. Therefore, I post it on web
coldEngineFoam_adiabaticCompression.tar.gz (6.7 MB)
https://mega.co.nz/#!OABUmSyY!JAjUGiyr59IHwzD34rW2Xw7wbBISuxXhQ3Pqtv9N3tI

henry

2013-02-25 14:47

manager   ~0001946

Thanks for the bug-report.
Resolved by commit 83efb7abee8a1b42f7a3021b89596d9253a22b0d

Issue History

Date Modified Username Field Change
2013-02-21 02:29 user600 New Issue
2013-02-21 02:32 user600 Note Added: 0001936
2013-02-25 14:47 henry Note Added: 0001946
2013-02-25 14:47 henry Status new => resolved
2013-02-25 14:47 henry Resolution open => fixed
2013-02-25 14:47 henry Assigned To => henry