50 int main(
int argc,
char *argv[])
57 "do not update fields"
68 const word oldInstance = mesh.pointsInstance();
73 faceSet candidateSet(mesh, setName);
75 Pout<<
"Read " << candidateSet.size() <<
" faces to remove" <<
nl
89 faceRemover.compatibleRemoves
98 faceSet compatibleRemoves(mesh,
"compatibleRemoves", facesToRemove);
100 Pout<<
"Original faces to be removed:" << candidateSet.size() <<
nl
101 <<
"New faces to be removed:" << compatibleRemoves.size() <<
nl
104 Pout<<
"Writing new faces to be removed to faceSet "
105 << compatibleRemoves.instance()
106 /compatibleRemoves.local()
107 /compatibleRemoves.
name()
110 compatibleRemoves.
write();
130 faceRemover.setRefinement
140 mesh.topoChange(map);
143 if (map().hasMotionPoints())
145 mesh.setPoints(map().preMotionPoints());
149 faceRemover.topoChange(map);
157 mesh.setInstance(oldInstance);
161 Pout<<
"Writing mesh to time " << runTime.
name() <<
endl;
Field reading functions for post-processing utilities.
List of IOobjects with searching and retrieving facilities.
virtual const fileName & name() const
Return the name of the stream.
virtual Ostream & write(const char)=0
Write character.
static void addBoolOption(const word &opt, const string &usage="")
Add to a bool option to validOptions with usage information.
bool optionFound(const word &opt) const
Return true if the named option is found.
static SLList< string > validArgs
A list of valid (mandatory) arguments.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Direct mesh changes based on v1.3 polyTopoChange syntax.
Given list of faces to remove insert all the topology changes. Contains helper function to get consis...
A class for handling words, derived from string.
int main(int argc, char *argv[])
Info<< "Calculating turbulent flame speed field St\n"<< endl;volScalarField St(IOobject("St", runTime.name(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), flameWrinkling->Xi() *Su);multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
Ostream & endl(Ostream &os)
Add newline and flush stream.
prefixOSstream Pout(cout, "Pout")
Foam::argList args(argc, argv)