Skip to content

Commit

Permalink
BUG: Updated ccm26ToFoam converter
Browse files Browse the repository at this point in the history
  • Loading branch information
andy committed Mar 11, 2013
1 parent 02a59e9 commit f5bc181
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,8 @@ int main(int argc, char *argv[])
foamPatchSizes[patchI],
meshFaceI,
patchI,
mesh.boundaryMesh()
mesh.boundaryMesh(),
patchType
);
}
else if (patchType == "symmetryplane")
Expand All @@ -962,7 +963,8 @@ int main(int argc, char *argv[])
foamPatchSizes[patchI],
meshFaceI,
patchI,
mesh.boundaryMesh()
mesh.boundaryMesh(),
patchType
);
}
else if (patchType == "empty")
Expand All @@ -975,21 +977,23 @@ 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
(
patchName,
foamPatchSizes[patchI],
meshFaceI,
patchI,
mesh.boundaryMesh()
mesh.boundaryMesh(),
word::null
);
}

Expand Down

0 comments on commit f5bc181

Please sign in to comment.