File size: 7,362 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
#-------------------------------------------------------------------------------
#---GENERAL---------------------------------------------------------------------
#-------------------------------------------------------------------------------

#---APPLICATION SETTINGS--------------------------------------------------------
flowSolver                        = true
gridGenerator                     = false
restartFile.default               = false
initRestart                       = false

#---FLOW VARIABLES--------------------------------------------------------------
referenceLength                   = 1.0  # Cylinder diameter
Ma                                = 0.1
Re                                = 75

#---I/O-------------------------------------------------------------------------
outputDir.default                 = "out_lb/"
gridInputFileName                 = "grid.Netcdf"
gridOutputFileName                = "grid.Netcdf"
outputInitialCondition            = true #false

#---BALANCING & WEIGHTING-------------------------------------------------------
partitionCellOffspringThreshold   = 200000

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

executionRecipe                   = "RECIPE_BASE"
solvertype.default                = "MAIA_UNIFIED"

#---SOLUTION PROPERTIES---------------------------------------------------------
restartTimeStep                   = 0
timeSteps                         = 150000
solutionInterval                  = 5000000     # Here, means never
restartInterval                   = 5000000     # Here, means never
residualInterval                  = 64000000    # Here, means never

#---ROTATIONAL FORCING ON CYLINDER----------------------------------------------
lbNoRotationalObjects             = 3
lbBndCndIdx                       = [4, 5, 6]
lbJetCenter                       = [-1.299,0.0, 0.0,0.75, 0.0,-0.75]       # Center of cylinder for each individually
lbJetRadius                       = [0.5, 0.5, 0.5]                         # Radius of cylinder
lbRotationAxis                    = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]          # rotation axis of each rotational object
lbControlActions                  = [0.0, 0.0, 0.0]                       # angular velocity in rad
lbUseControlRamping               = true                  # Activate tanh ramping between two consecutive control actions
lbRampPercentage                  = 0.95

#---GRID PROPERTIES-------------------------------------------------------------
maxNoCells                        = 2000000
scratchSize                       = 10.0

reductionFactor                   = 1.0            # initial cell length is multiplied with this factor

maxRfnmntLvl                      = 11
domainLength                      = 102.4 

#-------------------------------------------------------------------------------
#---LBM-------------------------------------------------------------------------
#-------------------------------------------------------------------------------

#---I/O-------------------------------------------------------------------------
outputDir.0                       = "out_lb/"
geometryInputFileName.0           = "geometry.toml"
useNonSpecifiedRestartFile        = true

#---NUMERICAL PROPERTIES--------------------------------------------------------
solvertype.0                      = "MAIA_LATTICE_BOLTZMANN"
solverMethod                      = "MAIA_LATTICE_BGKC"
noDistributions                   = 9

densityFluctuations               = false
interfaceMethod                   = "FILIPPOVA"
multiBCTreatment                  = "I-W-P"

inOutTest                         = "perpOp"
interpolationDistMethod           = "STD"  # analytic wall distance calculation
gridCutTest                       = "SAT"
interfaceCellSize                 = 10.0 # ratio of number interface cells to overall cells

#---FLOW INITIALIZATION---------------------------------------------------------
#initMethod                        = "LB_LAMINAR_INIT_PX"
initMethod                        = "LB_LAMINAR_CYLINDER_INIT"

initVelocityMethod                = "read"
bndNormalMethod                   = "read"
initialVelocityVectors            = [
                                      1.0, 0.0, # negX
                                      1.0, 0.0, # posX
                                      1.0, 0.0, # negY
                                      1.0, 0.0  # posY
                                    ]
bndNormalVectors                  = [ 
                                      -1.0, 0.0, # negX
                                      1.0, 0.0,  # posX
                                      0.0,-1.0,  # negY
                                      0.0, 1.0   # posY
                                    ]

# ramp viscosity for reasons of stability
tanhInit                          = false   # switch for asymptotic increase of Re
initRe                            = 100.0   # initial Re
initStartTime                     = 0       # global time at which the increase starts (in iterations)
initTime                          = 2000    # time span for asymptotic increase (>99% of final value) (in iterations)

#---GRID PROPERTIES-------------------------------------------------------------
noHaloLayers.0                    = 2

#---SRC TERMS-------------------------------------------------------------------
lbSrcTerms                         = ["LB_SPONGE_EQCONST"]

#---sponge
spongeLayerThickness               = 10.0 # thickness in STL units (0 means off)
spongeThicknessFactor              = [ 0.2,1.0, 0.2,0.2 ] # thickness factor per direction [negX, posX, negY, posY, negZ, posZ]
spongeSigma                        = 0.2 # trg sigma at bndry
spongeBeta                         = 2.0 # exponent of sigma function
spongeTrgRho                       = 1.0
spongeTrgU                         = [ 1.0, 0.0, 0.0 ] # relative to Ma

#---FORCE LOG-------------------------------------------------------------------
calculateWallForces               = true
forceFileName                     = "force.log"
calculateWallForcesInterval       = 1000

#-------------------------------------------------------------------------------
#---POST------------------------------------------------------------------------
#-------------------------------------------------------------------------------

restartFile.1                     = false
#---I/O-------------------------------------------------------------------------
geometryInputFileName.1           = "geometry.toml"
solutionOffset.1                  = 100000000000000000 # Here, never !

#---NUMERICAL PROPERTIES--------------------------------------------------------
solvertype.1                      = "MAIA_POST_DATA"
postProcessing                    = false
noPostProcessing                  = 1
postProcessingSolverIds           = [0]
postProcessingType_0              = "POSTPROCESSING_LB"
postProcessingOps_0               = ["PP_PROBE_POINT_IN"]

#--point sampling
pp_probePath                      = "probe/"
pp_probeCoordinates               = [ -1.0, 0.0]
pp_probeDerivatives               = true

#---GRID PROPERTIES-------------------------------------------------------------
noHaloLayers.1                    = 1