50 int main(
int argc,
char *argv[])
59 "do not update fields"
76 Info<<
"Read " << candidateSet.size() <<
" faces to remove" <<
nl
90 faceRemover.compatibleRemoves
99 faceSet compatibleRemoves(
mesh,
"compatibleRemoves", facesToRemove);
101 Info<<
"Original faces to be removed:" << candidateSet.size() <<
nl
102 <<
"New faces to be removed:" << compatibleRemoves.size() <<
nl
105 Info<<
"Writing new faces to be removed to faceSet "
106 << compatibleRemoves.instance()
107 /compatibleRemoves.local()
108 /compatibleRemoves.name()
111 compatibleRemoves.
write();
131 faceRemover.setRefinement
144 faceRemover.topoChange(map);
156 Info<<
"Writing mesh to time " << runTime.name() <<
endl;
Field reading functions for post-processing utilities.
List of IOobjects with searching and retrieving facilities.
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...
virtual bool write(const bool write=true) const
Write mesh using IO settings from time.
const word & name() const
Return reference to name.
virtual void topoChange(const polyTopoChangeMap &map)
Update mesh corresponding to the given map.
const fileName & pointsInstance() const
Return the current instance directory for points.
void setInstance(const fileName &)
Set the instance for mesh files.
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.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
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.
Foam::argList args(argc, argv)