Make layer a little thicker to avoid its deletion in next time step
This commit is contained in:
parent
fbef604e95
commit
af120e323c
1 changed files with 3 additions and 2 deletions
|
@ -88,6 +88,7 @@ void Foam::layerAdditionRemoval::addCellLayer
|
||||||
{
|
{
|
||||||
extrusionDir[mpI] = points[ptc[mpI]] - points[mp[mpI]];
|
extrusionDir[mpI] = points[ptc[mpI]] - points[mp[mpI]];
|
||||||
}
|
}
|
||||||
|
extrusionDir *= addDelta_*maxLayerThickness_;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -102,7 +103,7 @@ void Foam::layerAdditionRemoval::addCellLayer
|
||||||
<< endl;
|
<< endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
extrusionDir = minLayerThickness_*masterFaceLayer.pointNormals();
|
extrusionDir = 1.1*minLayerThickness_*masterFaceLayer.pointNormals();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add the new points
|
// Add the new points
|
||||||
|
@ -119,7 +120,7 @@ void Foam::layerAdditionRemoval::addCellLayer
|
||||||
(
|
(
|
||||||
points[mp[pointI]] // point
|
points[mp[pointI]] // point
|
||||||
// + addDelta_*maxLayerThickness_*extrusionDir[pointI],
|
// + addDelta_*maxLayerThickness_*extrusionDir[pointI],
|
||||||
+ addDelta_*extrusionDir[pointI],
|
+ extrusionDir[pointI],
|
||||||
mp[pointI], // master point
|
mp[pointI], // master point
|
||||||
-1, // zone for point
|
-1, // zone for point
|
||||||
true // supports a cell
|
true // supports a cell
|
||||||
|
|
Reference in a new issue