-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
matthiasto
committed
Oct 4, 2022
1 parent
fcb7e59
commit a068be1
Showing
20 changed files
with
866 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
### Config File - This file contains the main settings for the dam break test module | ||
## Set your parameters | ||
# This file will be overridden by local_damBreakTestCfg.ini if it exists | ||
# So copy this file to local_damBreakTestCfg.ini, adjust your variables there | ||
|
||
[DAMBREAK] | ||
#sphKernel radius for the com1DFA simulations | ||
sphKernelRadius = 6|5|4|3 | ||
|
||
# slope angle [°] | ||
phi = 22 | ||
# bed friction angle [°] | ||
delta = 21 | ||
u0 = 0. | ||
# time end and resolution for the analytic solution | ||
tEnd = 30 | ||
dt = 0.1 | ||
# space resolution | ||
dx = 0.5 | ||
# domain extend for error computation | ||
# in x direction | ||
xStart = -200 | ||
xEnd = 220 | ||
# in y direction | ||
yStart = -50 | ||
yEnd = 50 | ||
# start x position of the dam | ||
xBack = -120 | ||
# xFront = 0 | ||
|
||
# set time step of analysis | ||
tSave = 15 | ||
# use only the component of the velocity/momentum in the flow direction (vector going down the inclined plane in x dir) | ||
projectVelocity = False | ||
|
||
#++++Plotting parameters++++++ | ||
# list of parameters to display in the summary plot (list of parameters separated by |) | ||
paramInfo = sphKernelRadius|aPPK|nPPK0|nPart | ||
# list of parameters to display in the convergence plot (list of parameters separated by |) | ||
paramConvInfo = sphKR0|nPPK0|cMax | ||
# plotting flags | ||
# only analyze and plot the tSave time step | ||
onlyLast = False | ||
# plot error function of time for each simulation | ||
plotErrorTime = False | ||
# plot individual figure for the h, hu and u error for each saved time step | ||
plotSequence = False | ||
# use relative difference | ||
relativError = True | ||
# when plotting, the domain extent is scaleCoef times bigger than the data extent | ||
scaleCoef = 1.05 | ||
|
||
|
||
|
||
[com1DFA_override] | ||
# use default com1DFA config as base configuration (True) and override following parameters | ||
# if False and local is available use local | ||
defaultConfig = True | ||
#++++++++++++++++ Simulation type | ||
# list of simulations that shall be performed (null, ent, res, entres, available (use all available input data)) | ||
simTypeList = null | ||
#+++++++++++++ Output++++++++++++ | ||
# desired result Parameters (ppr, pfd, pfv, FD, FV, P, particles) - separated by | | ||
resType = FT|FV|Vx|Vy|Vz | ||
# saving time step, i.e. time in seconds (first and last time step are always saved) | ||
# option 1: give an interval with start:interval in seconds (tStep = 0:5 - this will save desired results every 5 seconds for the full simulation) | ||
# option 2: explicitly list all desired time steps (closest to actual computational time step) separated by | (example tSteps = 1|50.2|100) | ||
# NOTE: initial and last time step are always saved! | ||
tSteps = 0:1 | ||
|
||
#++++++++++++++++ particle Initialisation +++++++++ | ||
# particle initialisation step - set iniStep to True to activate redistribution of particles to reduce SPH force | ||
# this is in a development stage - hence parameters are set for development and will be adjusted after extensive testing | ||
iniStep = True | ||
# max number of iterations - high number might cause significant increase in computational time | ||
maxIterations = 30 | ||
# buffer zone factor multiplied with sphKernelRadius | ||
bufferZoneFactor = 4 | ||
|
||
#+++++++++SNOW properties | ||
# True if release thickness should be read from shapefile file; if False - relTh read from ini file | ||
relThFromShp = False | ||
relTh = 1 | ||
|
||
#++++++++++++Time stepping parameters | ||
# End time [s] | ||
tEnd = 20 | ||
# to use a variable time step (time step depends on kernel radius) | ||
sphKernelRadiusTimeStepping = True | ||
# courant number | ||
cMax = 0.01 | ||
|
||
#+++++++++++++SPH parameters | ||
# SPH gradient option | ||
# 0) No pressure gradients computed | ||
# 1) SamosAT style (no reprojecion on the surface, dz = 0 and gz is used) | ||
# 2) SamostAt but done in the cartesian coord system (will hopefully allow us to add the earth pressure coef) | ||
# 3) SamostAt but done in the local coord system (will hopefully allow us to add the earth pressure coef) | ||
# and this time reprojecion on the surface, dz not 0 and g3 is used | ||
sphOption = 2 | ||
# sph kernel smoothing length [m] | ||
sphKernelRadius = 3 | ||
# Choice of artificial viscosity | ||
# 0) No artificial viscosity | ||
# 1) SAMOS artificial viscosity | ||
# 2) Ata artificial viscosity | ||
viscOption = 0 | ||
|
||
#++++++++++++++++ Particles | ||
# number of particles defined by: MPPDIR= mass per particle direct, MPPDH= mass per particles through release thickness, | ||
# MPPKR= mass per particles through number of particles per kernel radius | ||
massPerParticleDeterminationMethod = MPPKR | ||
# number of particles per kernel radius (if MPPKR is used) | ||
# is computed with: nPPK = nPPK0 * (sphKR/sphKR0)^aPPK | ||
# where sphKR is the sphKernelRadius specified further up | ||
# reference kernel radius | ||
sphKR0 = 5 | ||
# reference number of particles per kernel radius | ||
nPPK0 = 15 | ||
# variation of nppK exponent | ||
aPPK = 0|-0.5|-1|-2|-3 | ||
|
||
# if splitOption=0 | ||
# threshold for splitting particles, split if: mPart > massPerPart x thresholdMassSplit | ||
thresholdMassSplit = 5 | ||
|
||
|
||
#+++++++++++++Mesh and interpolation | ||
# remesh the input DEM | ||
# expected mesh size [m] | ||
meshCellSize = 3 | ||
|
||
#++++++++++++Friction model | ||
# add the friction using an explicit formulation (1) | ||
# 0 use an implicit method | ||
explicitFriction = 1 | ||
# friction type (samosAT, Coulomb) | ||
frictModel = Coulomb | ||
#+++++++++++++SamosAt friction model | ||
mu = 0.3838640350354158 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.