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

ENH: meshRefinement: use cyclicSlip for pointMotion on cyclic patches

parent d4894117
No related branches found
No related tags found
No related merge requests found
...@@ -45,6 +45,7 @@ License ...@@ -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 ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment