mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: extrudeMesh - partial fix for incorrect behaviour - see #1964
Changed IO flag so that new mesh is created - was using old 'faces', 'owner' etc but then used the new patch starts Corrected logic for contMap in polyTopoChange
This commit is contained in:
committed by
Andrew Heather
parent
04f3b26ba6
commit
6d6c204745
@ -704,7 +704,7 @@ int main(int argc, char *argv[])
|
||||
regionName,
|
||||
runTimeExtruded.constant(),
|
||||
runTimeExtruded,
|
||||
IOobject::READ_IF_PRESENT, // Read fv* if present
|
||||
IOobject::NO_READ, // Do not read primitives, do read fv*
|
||||
IOobject::AUTO_WRITE,
|
||||
false
|
||||
),
|
||||
|
||||
@ -142,7 +142,11 @@ void Foam::polyTopoChange::countMap
|
||||
|
||||
if (oldCelli >= 0)
|
||||
{
|
||||
if (reverseMap[oldCelli] == newCelli)
|
||||
if
|
||||
(
|
||||
oldCelli < reverseMap.size()
|
||||
&& reverseMap[oldCelli] == newCelli
|
||||
)
|
||||
{
|
||||
// unchanged
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user