Loading...
Searching...
No Matches
searchingEngine.H
Go to the documentation of this file.
1Random rndGen(653213);
2
3// Determine mesh bounding boxes:
4List<treeBoundBox> meshBb
5(
6 1,
7 treeBoundBox(coarseMesh.points()).extend(rndGen, 1e-3)
8);
9
10// Dummy bounds dictionary
12dict.add("bounds", meshBb);
14(
15 "distributionType",
16 distributedTriSurfaceMesh::distributionTypeNames_
17 [
18 distributedTriSurfaceMesh::FROZEN
19 ]
20);
21dict.add("mergeDistance", SMALL);
22
23labelList triSurfaceToAgglom(5*nFineFaces);
24
25const triSurface localSurface = triangulate
26(
27 patches,
28 includePatches,
29 finalAgglom,
31 globalNumbering,
32 coarsePatches
33);
34
35
36distributedTriSurfaceMesh surfacesMesh
37(
38 IOobject
39 (
40 "wallSurface.stl",
41 runTime.constant(), // directory
42 "triSurface", // instance
43 runTime, // registry
44 IOobject::NO_READ,
45 IOobject::NO_WRITE
46 ),
48 dict
49);
50
51
53
const polyBoundaryMesh & patches
engineTime & runTime
dictionary dict
labelList triSurfaceToAgglom(5 *nFineFaces)
const triSurface localSurface
List< treeBoundBox > meshBb(1, treeBoundBox(coarseMesh.points()).extend(rndGen, 1e-3))
distributedTriSurfaceMesh surfacesMesh(IOobject("wallSurface.stl", runTime.constant(), "triSurface", runTime, IOobject::NO_READ, IOobject::NO_WRITE), localSurface, dict)
volScalarField & e
Random rndGen