File size: 2,474 Bytes
77eca65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#---APPLICATION SETINGS---------------------------------------------------------
flowSolver                        = false
gridGenerator                     = true

#---APPLICATION ENVIRONMENT-----------------------------------------------------
outputDir                         = "out_lb/"
geometryInputFileName             = "geometry.toml"
gridOutputFileName                = "grid.Netcdf"

#---NUMERICAL PROPERTIES--------------------------------------------------------
nDim                              = 2
noSolvers                         = 2
multiSolverGrid                   = true

#---GRID PROPERTIES-------------------------------------------------------------
scratchSize                       = 20.0
maxNoCells                        = 40000000    # maximum number of cells per process

reductionFactor                   = 1.0       # factor by which level-0 cell length is multiplied
noHaloLayers                      = 2
partitionCellOffspringThreshold   = 500000

minLevel                          =  9        # refine the grid to minLevel serial
maxUniformRefinementLevel         =  9        # refine parallelto maxUniformRefinementLevel
maxBoundaryRfnLvl                 =  11        # Boundary refinement to maxBoundaryRfnLevel
maxRfnmntLvl                      =  11        # Local refinements to maxRfnmntLvl

localRfnMethod                    = 1         # 0 no, 1 patch only, 2 boundary only, 3 both

#-boundary refinment
localBndRfnMethod                 = 2         # 0: default (level0), 1: based on local 2: based on localBndRfnDistance
localBndRfnDistance               = 0.5       # d_bndry/D= 5/sqrt(Re)
localBndRfnMinLvlDiff             = [3]       # difference between maxBoundaryRfnLvl and lowest target refinment level

localRfnBoundaryIds               = [4]       # Ids of boundaries that are refined
localRfnLvlDiff                   = [0]       # difference between maxBoundaryRfnLvl and bndry-Id
smoothDistance                    = [10]      # number of cells used at least
localMinBoundaryThreshold         = [10]      # 

#-patch refinment
localRfnLvlMethods       = "RB-RB-RB"
localRfnLevelProperties  = [
  #0.0, 0.0, 20.0,
  #0.0,-20.0, 60.0,20.0,
  -5.0, 0.0, 10.0,
  -5.0,-10.0, 40.0,10.0,
  0.0, 0.0, 5.0,
  0.0,-5.0, 10.0,5.0,
]


#-patch refinment
#localRfnLvlMethods       = "B"
#localRfnLevelProperties  = [
#  -4.0,-6.0, 15.0,6.0,
#]

multiSolverBoundingBox    = [ -30.0,-40.0, 72.4,40.0]
multiSolverMinLevel       = 9