Popis: |
This study analyzes the turbomachinery flow of a gas turbine using OpenFOAM, an open-source CFD code. While foam-extend, a version of OpenFOAM, includes tools for turbomachinery analysis, some of its codes are incomplete, resulting in incorrect results. Consequently, this study required the investigation and correction of the solvers and libraries. Specifically, foam-extend-4.1 and a compressible multi-reference-frame solver were utilized. Two primary errors related to temperature calculation were identified. The first error involved temperature discontinuity at the interface between the stator and rotor domain when using the mixingPlane. The second error was related to temperature rising at the wall. To address the temperature discontinuity problem, the rothalpy jump equation in the enthalpyJump code was modified from a scalar product to an inner product of vectors. To resolve the high-temperature problem at the wall, modifications were made to the energy equation code in iEqn.H. A rothalpy separation was introduced, and the rothalpy equation was adjusted to mimic the enthalpy equation. The results obtained with the corrected codes were consistent with those from the commercial code, demonstrating the effectiveness of the modifications. |