View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000752 | OpenFOAM | Bug | public | 2013-02-21 02:29 | 2013-02-25 14:47 |
Reporter | Assigned To | henry | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu | OS Version | 12.04 x64 |
Summary | 0000752: coldEngineFoam, constant Temperature in adiabatic compression or expansion of perfect gas | ||||
Description | 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. 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 Reproduce | execute Allrun.sh in the attached case | ||||
Additional Information | 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. | ||||
Tags | No tags attached. | ||||
|
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 |
|
Thanks for the bug-report. Resolved by commit 83efb7abee8a1b42f7a3021b89596d9253a22b0d |