STYLE: added note about limitation of the ccm conversion

This commit is contained in:
Mark Olesen
2016-12-22 17:44:21 +01:00
parent 608bb5d83b
commit d2fc56d6be
2 changed files with 15 additions and 14 deletions

View File

@ -47,9 +47,6 @@ Usage
- \par -name \<name\> - \par -name \<name\>
Provide alternative base name for export. Default is <tt>meshExport</tt>. Provide alternative base name for export. Default is <tt>meshExport</tt>.
- \par -combine
Combine identically named patches
- \par -noBaffles - \par -noBaffles
Remove any baffles by merging the faces. Remove any baffles by merging the faces.
@ -93,8 +90,9 @@ int main(int argc, char *argv[])
{ {
argList::addNote argList::addNote
( (
"Reads CCM files as written by PROSTAR/STARCCM and writes an" "Reads CCM files as written by PROSTAR/STARCCM and writes an OPENFOAM "
" OPENFOAM polyMesh." " polyMesh. Multi-region support for PROSTAR meshes should be stable."
" Multi-region merging for STARCCM meshes will not always be successful."
); );
argList::noParallel(); argList::noParallel();
@ -127,11 +125,12 @@ int main(int argc, char *argv[])
"provide alternative base name when re-exporting (implies -export). " "provide alternative base name when re-exporting (implies -export). "
"Default is <meshExport>." "Default is <meshExport>."
); );
argList::addBoolOption // This often works, but is not entirely stable
( // argList::addBoolOption
"combine", // (
"combine identically named patches" // "combine",
); // "combine identically named patches"
// );
argList::addBoolOption argList::addBoolOption
( (
"noBaffles", "noBaffles",
@ -155,7 +154,7 @@ int main(int argc, char *argv[])
); );
argList::addBoolOption argList::addBoolOption
( (
"withSolid", "solids",
"treat any solid cells present just like fluid cells. " "treat any solid cells present just like fluid cells. "
"the default is to remove them." "the default is to remove them."
); );

View File

@ -1919,7 +1919,7 @@ void Foam::ccm::reader::mergeInplaceInterfaces()
Info<<"Warning : skip interface " << interI << " " << ifentry Info<<"Warning : skip interface " << interI << " " << ifentry
<<" on patches " << patchPair << nl <<" on patches " << patchPair << nl
<<" has zero or different number of faces: (" <<" has zero or different number of faces: ("
<< patchSizes_[patchPair[0]] << " " << patchSizes_[patchPair[0]] << ")" << patchSizes_[patchPair[0]] << " " << patchSizes_[patchPair[1]] << ")"
<< endl; << endl;
} }
else else
@ -1985,6 +1985,9 @@ void Foam::ccm::reader::mergeInplaceInterfaces()
const UIndirectList<point> pointsToMerge(points_, addr); const UIndirectList<point> pointsToMerge(points_, addr);
Info<< " patch " << patch0 << ", " << patch1 << ": ("
<< nPatch0Faces << " and " << nPatch1Faces << " faces) " << flush;
label nMerged = mergePoints label nMerged = mergePoints
( (
true, true,
@ -1994,8 +1997,7 @@ void Foam::ccm::reader::mergeInplaceInterfaces()
mergedPointMap mergedPointMap
); );
Info<< " patch " << patch0 << ", " << patch1 << ": " Info<< nMerged << " from " << pointsToMerge.size() << " points"
<< nMerged << " from " << pointsToMerge.size() << " points"
<< endl; << endl;
if (nMerged) if (nMerged)