BUG: Updated ccm26ToFoam converter

This commit is contained in:
andy
2013-03-11 13:01:49 +00:00
parent 2045d5d730
commit 6ba20b0f78

View File

@ -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
);
}