mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: meshRefinement: use cyclicSlip for pointMotion on cyclic patches
This commit is contained in:
@ -45,6 +45,7 @@ License
|
|||||||
#include "slipPointPatchFields.H"
|
#include "slipPointPatchFields.H"
|
||||||
#include "fixedValuePointPatchFields.H"
|
#include "fixedValuePointPatchFields.H"
|
||||||
#include "calculatedPointPatchFields.H"
|
#include "calculatedPointPatchFields.H"
|
||||||
|
#include "cyclicSlipPointPatchFields.H"
|
||||||
#include "processorPointPatch.H"
|
#include "processorPointPatch.H"
|
||||||
#include "globalIndex.H"
|
#include "globalIndex.H"
|
||||||
#include "meshTools.H"
|
#include "meshTools.H"
|
||||||
@ -1458,6 +1459,10 @@ Foam::tmp<Foam::pointVectorField> Foam::meshRefinement::makeDisplacementField
|
|||||||
{
|
{
|
||||||
patchFieldTypes[patchI] = calculatedPointPatchVectorField::typeName;
|
patchFieldTypes[patchI] = calculatedPointPatchVectorField::typeName;
|
||||||
}
|
}
|
||||||
|
else if (isA<cyclicPointPatch>(pointPatches[patchI]))
|
||||||
|
{
|
||||||
|
patchFieldTypes[patchI] = cyclicSlipPointPatchVectorField::typeName;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Note: time().timeName() instead of meshRefinement::timeName() since
|
// Note: time().timeName() instead of meshRefinement::timeName() since
|
||||||
|
|||||||
Reference in New Issue
Block a user