mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: fixedJump: calculate jump in he. Fixes #2327
This commit is contained in:
@ -6,6 +6,7 @@
|
|||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2012-2017 OpenFOAM Foundation
|
Copyright (C) 2012-2017 OpenFOAM Foundation
|
||||||
|
Copyright (C) 2022 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -125,7 +126,11 @@ void Foam::energyJumpFvPatchScalarField::updateCoeffs()
|
|||||||
|
|
||||||
const labelUList& faceCells = this->patch().faceCells();
|
const labelUList& faceCells = this->patch().faceCells();
|
||||||
|
|
||||||
setJump(thermo.he(pp, Tbp.jump(), faceCells));
|
setJump
|
||||||
|
(
|
||||||
|
thermo.he(pp, Tbp+Tbp.jump(), faceCells)
|
||||||
|
- thermo.he(pp, Tbp, faceCells)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
fixedJumpFvPatchField<scalar>::updateCoeffs();
|
fixedJumpFvPatchField<scalar>::updateCoeffs();
|
||||||
|
|||||||
@ -6,6 +6,7 @@
|
|||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2012-2017 OpenFOAM Foundation
|
Copyright (C) 2012-2017 OpenFOAM Foundation
|
||||||
|
Copyright (C) 2022 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -125,7 +126,9 @@ void Foam::energyJumpAMIFvPatchScalarField::updateCoeffs()
|
|||||||
|
|
||||||
const labelUList& faceCells = this->patch().faceCells();
|
const labelUList& faceCells = this->patch().faceCells();
|
||||||
|
|
||||||
jump_ = thermo.he(pp, Tbp.jump(), faceCells);
|
jump_ =
|
||||||
|
thermo.he(pp, Tbp+Tbp.jump(), faceCells)
|
||||||
|
- thermo.he(pp, Tbp, faceCells);
|
||||||
}
|
}
|
||||||
|
|
||||||
fixedJumpAMIFvPatchField<scalar>::updateCoeffs();
|
fixedJumpAMIFvPatchField<scalar>::updateCoeffs();
|
||||||
|
|||||||
Reference in New Issue
Block a user