I refer to the tutorial example "foam-extend-4.1/tutorials/compressible/steadyUniversalMRFFoam/axialTurbineGgiJump".
As I understand, the rothalpy equation requires enthalpyJump-BCs between zones of different rpm. Though, when the example is executed, a lot of warnings are emitted every time step:
From function void gradientEnthalpyFvPatchScalarField::updateCoeffs(const vectorField& Up)
in file derivedFvPatchFields/ggiEnthalpyJump/ggiEnthalpyJumpFvPatchFields.C at line 78
Velocity fields URot or UTheta not found. Performing enthalpy value update
In the enthalpyJump-BC, URot and UTheta are used to compute the rothalpy jump. A field "Urot" exists in the steadyUniversalMRFFoam-solver, but with lower-case "r". This obviously needs correction.
Also, I cannot find any location, where the field "UTheta" is created.
Dear Hannes,
I run into the same issue you reported.
As the matter of fact, the jump condition is not computed and, as a result, you have unphysical temperature across the mixing plane. I proposed a solution in the thread https://www.cfd-online.com/Forums/openfoam/210386-unphysical-temperature-mixing-plane.html. I am not sure this is the best solution, but it works reasonably well.
Hi, I think this is now all fixed in the nextRelease branch. Since I cannot change the bc-s programmatically, they should be included in the initial field of the rothalpy at time zero.
Can you check if it works now?
I am happy to chare the tutorial,
Hrv