mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
rewriting empty boundary conditions
This commit is contained in:
@ -96,11 +96,18 @@ Foam::isoSurface::adaptPatchFields
|
||||
sliceFld
|
||||
)
|
||||
);
|
||||
sliceFld.boundaryField()[patchI] ==
|
||||
mesh.boundary()[patchI].patchInternalField
|
||||
(
|
||||
sliceFld
|
||||
);
|
||||
|
||||
// Note: cannot use patchInternalField since uses emptyFvPatch::size
|
||||
// Do our own internalField instead.
|
||||
const unallocLabelList& faceCells =
|
||||
mesh.boundary()[patchI].patch().faceCells();
|
||||
|
||||
Field<Type>& pfld = sliceFld.boundaryField()[patchI];
|
||||
pfld.setSize(faceCells.size());
|
||||
forAll(faceCells, i)
|
||||
{
|
||||
pfld[i] = sliceFld[faceCells[i]];
|
||||
}
|
||||
}
|
||||
else if (isA<cyclicPolyPatch>(pp))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user