Skip to content
Snippets Groups Projects
Commit 9a9e0043 authored by mattijs's avatar mattijs
Browse files

BUG: cyclicPeriodicAMI: some more logic. See #2145

parent 2c81f867
No related branches found
No related tags found
No related merge requests found
......@@ -162,6 +162,7 @@ while (pimple.correct())
(
!mesh.boundary()[patchi].coupled()
|| isA<cyclicAMIFvPatch>(mesh.boundary()[patchi])
|| isA<cyclicPeriodicAMIFvPatch>(mesh.boundary()[patchi])
)
{
phiCorrCoeff1Bf[patchi] = 0;
......
......@@ -6,7 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2011-2018 OpenFOAM Foundation
Copyright (C) 2017-2019 OpenCFD Ltd.
Copyright (C) 2017-2021 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
......@@ -31,6 +31,7 @@ License
#include "surfaceInterpolate.H"
#include "fvMatrix.H"
#include "cyclicAMIFvPatch.H"
#include "cyclicPeriodicAMIFvPatch.H"
#include "registerSwitch.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......@@ -193,6 +194,7 @@ tmp<surfaceScalarField> ddtScheme<Type>::fvcDdtPhiCoeff
(
U.boundaryField()[patchi].fixesValue()
|| isA<cyclicAMIFvPatch>(mesh().boundary()[patchi])
|| isA<cyclicPeriodicAMIFvPatch>(mesh().boundary()[patchi])
)
{
ccbf[patchi] = 0.0;
......@@ -274,6 +276,7 @@ tmp<surfaceScalarField> ddtScheme<Type>::fvcDdtPhiCoeffExperimental
(
U.boundaryField()[patchi].fixesValue()
|| isA<cyclicAMIFvPatch>(mesh().boundary()[patchi])
|| isA<cyclicPeriodicAMIFvPatch>(mesh().boundary()[patchi])
)
{
ccbf[patchi] = 0.0;
......
......@@ -964,6 +964,7 @@ Foam::MomentumTransferPhaseSystem<BasePhaseSystem>::ddtCorrByAs
(
!this->mesh_.boundary()[patchi].coupled()
|| isA<cyclicAMIFvPatch>(this->mesh_.boundary()[patchi])
|| isA<cyclicPeriodicAMIFvPatch>(this->mesh_.boundary()[patchi])
)
{
phiCorrCoeffBf[patchi] = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment