Menu

#316 *ggiEnthalyJump* BCs require UTheta and URot, which are nowhere created

new
nobody
None
normal
minor
HaveNotTried
none
268bb07d1
Bug
Ubuntu 1804
4.1
other
2021-06-10
2019-07-15
No

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.

Discussion

  • Nicola Casari

    Nicola Casari - 2020-11-02

    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.

     
  • Hrvoje Jasak

    Hrvoje Jasak - 2021-06-10

    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

     

Log in to post a comment.