mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: fvMeshGeometry: mesh.C() on cyclicAMI
This commit is contained in:
@ -31,6 +31,7 @@ License
|
||||
#include "slicedSurfaceFields.H"
|
||||
#include "SubField.H"
|
||||
#include "cyclicFvPatchFields.H"
|
||||
#include "cyclicAMIFvPatchFields.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -158,7 +159,11 @@ void fvMesh::makeC() const
|
||||
|
||||
forAll(C.boundaryField(), patchi)
|
||||
{
|
||||
if (isA<cyclicFvPatchVectorField>(C.boundaryField()[patchi]))
|
||||
if
|
||||
(
|
||||
isA<cyclicFvPatchVectorField>(C.boundaryField()[patchi])
|
||||
|| isA<cyclicAMIFvPatchVectorField>(C.boundaryField()[patchi])
|
||||
)
|
||||
{
|
||||
// Note: cyclic is not slice but proper field
|
||||
C.boundaryField()[patchi] == static_cast<const vectorField&>
|
||||
|
||||
Reference in New Issue
Block a user