From 94046abbb6e13a973f38e4706d9f9bf17e5b6137 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Wed, 3 Feb 2016 21:24:38 +0000 Subject: [PATCH] foamyHexMeshBackgroundMesh: Updated to compile --- .../foamyHexMeshBackgroundMesh.C | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshBackgroundMesh/foamyHexMeshBackgroundMesh.C b/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshBackgroundMesh/foamyHexMeshBackgroundMesh.C index 68460e22e..6b2f44a6d 100644 --- a/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshBackgroundMesh/foamyHexMeshBackgroundMesh.C +++ b/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshBackgroundMesh/foamyHexMeshBackgroundMesh.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2012-2015 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -467,7 +467,7 @@ int main(int argc, char *argv[]) // Determine the number of cells in each direction. const vector span = bb.span(); - vector nScalarCells = span/cellShapeControls().defaultCellSize(); + vector nScalarCells = span/cellShapeControls.defaultCellSize(); // Calculate initial cell size to be a little bit smaller than the // defaultCellSize to avoid initial refinement triggering. @@ -576,15 +576,9 @@ int main(int argc, char *argv[]) backgroundMeshDecomposition backgroundMesh ( - 1.0, //spanScale,ratio of poly cell size v.s. hex cell size - 0.0, //minCellSizeLimit - 0, //minLevels - 4, //volRes, check multiple points per cell - 20.0, //maxCellWeightCoeff runTime, - geometryToConformTo, - cellShapeControls(), rndGen, + geometryToConformTo, foamyHexMeshDict );