Skip to content
Browse files

BUG: Updated ccm26ToFoam converter

  • Loading branch information...
1 parent 02a59e9 commit f5bc1812790674c3f30dcb7d158af7a51d41fc4b andy committed
Showing with 9 additions and 5 deletions.
  1. +9 −5 applications/utilities/mesh/conversion/Optional/ccm26ToFoam/ccm26ToFoam.C
View
14 applications/utilities/mesh/conversion/Optional/ccm26ToFoam/ccm26ToFoam.C
@@ -950,7 +950,8 @@ int main(int argc, char *argv[])
foamPatchSizes[patchI],
meshFaceI,
patchI,
- mesh.boundaryMesh()
+ mesh.boundaryMesh(),
+ patchType
);
}
else if (patchType == "symmetryplane")
@@ -962,7 +963,8 @@ int main(int argc, char *argv[])
foamPatchSizes[patchI],
meshFaceI,
patchI,
- mesh.boundaryMesh()
+ mesh.boundaryMesh(),
+ patchType
);
}
else if (patchType == "empty")
@@ -975,13 +977,14 @@ int main(int argc, char *argv[])
foamPatchSizes[patchI],
meshFaceI,
patchI,
- mesh.boundaryMesh()
+ mesh.boundaryMesh(),
+ patchType
);
}
else
{
// All other ccm types become straight polyPatch:
- // 'inlet', 'outlet', 'pressured'.
+ // 'inlet', 'outlet', ...
newPatches[patchI] =
new polyPatch
(
@@ -989,7 +992,8 @@ int main(int argc, char *argv[])
foamPatchSizes[patchI],
meshFaceI,
patchI,
- mesh.boundaryMesh()
+ mesh.boundaryMesh(),
+ word::null
);
}

0 comments on commit f5bc181

Please sign in to comment.
Something went wrong with that request. Please try again.