Performs point relocations in the mesh (smoothing) in order to improve quality measures. It does not make the mesh invalied. More...
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
Performs point relocations in the mesh (smoothing) in order to improve quality measures. It does not make the mesh invalied.
Original source file improveMeshQuality.C
Definition in file improveMeshQuality.C.
int main | ( | int | argc, |
char * | argv[] | ||
) |
read the settings
load the mesh from disk
construct the smoother
lock cells in constrainedCellSet
find boundary faces which shall be locked
clear geometry information before volume smoothing
perform optimisation using the laplace smoother and
perform optimisation of worst quality faces
check the mesh again and untangl bad regions if any of them exist
Definition at line 38 of file improveMeshQuality.C.
References args, polyMeshGenCells::cells(), polyMeshGenCells::cellsInSubset(), polyMeshGenCells::cellSubsetIndex(), polyMeshGenCells::clearAddressingData(), Foam::endl(), forAll, Foam::Info, meshOptimizer::lockCellsInSubset(), meshOptimizer::optimizeMeshFV(), meshOptimizer::optimizeMeshFVBestQuality(), argList::options(), polyMeshGen::read(), Foam::readLabel(), Foam::readScalar(), cellListPMG::size(), meshOptimizer::untangleMeshFV(), argList::validArgs, argList::validOptions, and polyMeshGen::write().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.