Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test illustrating incorrect duplicate file name behaviour #311

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[General]
fileVersion = 3.00
fileType = roughness

[Global]
frictionId = Channels
frictionType = Manning
frictionValue = 0.023

Original file line number Diff line number Diff line change
@@ -0,0 +1,314 @@
# written by HYDROLIB-core 0.1.5

[General]
fileVersion = 1.09
fileType = modelDef
program = D-Flow FM
version = 1.2.124.69571M
autoStart = 0
pathsRelativeToParent = 0
guiversion = 4.5.0.491

[Geometry]
netFile = FlowFM_net.nc
bathymetryFile =
dryPointsFile =
structureFile = structures.ini
iniFieldFile =
waterLevIniFile =
landBoundaryFile =
thinDamFile =
fixedWeirFile =
pillarFile =
useCaching = 0
vertPlizFile =
frictFile = channels/roughness.ini;main/roughness.ini;sewer/roughness.ini
crossDefFile =
crossLocFile =
ctorageNodeFile =
1d2dLinkFile =
profLocFile =
profDefFile =
profDefXyzFile =
manholeFile =
partitionFile =
uniformWidth1D = 2.0
waterLevIni = 0.0
bedLevUni = -5.0
bedSlope = 0.0
bedLevType = 1
blMeanBelow = -999.0
blMinAbove = -999.0
angLat = 0.0
angLon = 0.0
conveyance2D = -1
nonlin1D = 1
nonlin2D = 0
sillHeightMin = 0.0
makeOrthoCenters = 0
dCenterInside = 1.0
baMin = 1e-06
openBoundaryTolerance = 3.0
renumberFlowNodes = 1
kmx = 0
layerType = 1
numTopSig = 0
sigmaGrowthFactor = 1.0
dxDoubleAt1DEndNodes = 0
changeVelocityAtStructures = 1
changeStructureDimensions = 0
allowbndatbifurcation = 1
branchfile =
roofsfile =
dxmin1d = 1
slotw2d = 0
slotw1d = 0.005
gridenclosurefile =

[VolumeTables]
useVolumeTables = 1
increment = 0.1
useVolumeTableFile = 0
usevolumetablesfile = 1

[Numerics]
cflMax = 0.7
advecType = 33
timeStepType = 2
limTypHu = 0
limTypMom = 4
limTypSa = 4
icgSolver = 4
maxDegree = 6
fixedWeirScheme = 6
fixedWeirContraction = 1.0
izBndPos = 0
tlfSmo = 0.0
slopeDrop2D = 0.3
drop1D = 1
chkAdvd = 0.1
teta0 = 0.55
qhRelax = 0.01
cstBnd = 0
maxitVerticalForesterSal = 0
maxitVerticalForesterTem = 0
turbulenceModel = 3
turbulenceAdvection = 3
antiCreep = 0
maxWaterLevelDiff = 0.0
maxVelocityDiff = 0.0
epsHu = 0.0001
jbasqbnddownwindhs = 0
fixedweirtopfrictcoef = -999
vertadvtypsal = 5
sethorizontalbobsfor1d2d = 0
transportmethod = 1
epsmaxlevm = 0.0001
pure1d = 0
epsmaxlev = 0.0001
maxnonlineariterations = 100
fixedweirfrictscheme = 0
jposhchk = 2
fixedweirtalud = 4
fixedweirtopwidth = 3

[Physics]
unifFrictCoef = 0.023
unifFrictType = 1
unifFrictCoef1D = 0.023
unifFrictCoefLin = 0.0
umodLin = 0
vicouv = 1.0
dicouv = 1.0
vicoww = 5e-05
dicoww = 5e-05
vicwminb = 0.0
xlozmidov = 0.0
smagorinsky = 0.0
elder = 0.0
irov = 0
wall_ks = 0.0
rhomean = 1000.0
idensform = 2
ag = 9.81
tidalForcing = 0
doodsonStart = 55.565
doodsonStop = 375.575
doodsonEps = 0.0
villemonteCD1 = 1.0
villemonteCD2 = 10.0
salinity = 0
initialSalinity = 0.0
sal0AboveZLev = -999.0
deltaSalinity = -999.0
backgroundSalinity = 30.0
temperature = 0
initialTemperature = 6.0
backgroundWaterTemperature = 6.0
secchiDepth = 2.0
stanton = -1.0
dalton = -1.0
secondaryFlow = 0
betaSpiral = 0
effectspiral = 0

[Wind]
icdTyp = 2
cdBreakpoints = 0.00063
windSpeedBreakpoints = 0.0
rhoAir = 1.205
relativeWind = 0
windPartialDry = 1
pavBnd = 0.0
pavIni = 0.0

[Waves]
waveModelNr = 0
rouWav = FR84
gammaX = 1.0
wavenikuradse = 0.01

[Time]
refDate = 20211205
tZone = 0.0
tUnit = S
dtUser = 60.0
dtNodal = 21600.0
dtMax = 30.0
dtInit = 1.0
tStart = 0.0
tStop = 86400.0
updateRoughnessInterval = 86400.0
autotimestepnostruct = 1
autotimestepnoqout = 1

[Restart]
restartFile =
restartDateTime =

[External Forcing]
extForceFile =
extForceFileNew =
rainfall =
qExt = 0
evaporation =
windExt =

[Hydrology]
interceptionModel = 0

[Trachytopes]
trtRou = N
trtDef =
trtL =
dtTrt = 60.0

[Output]
wrishp_crs = 0
wrishp_weir = 0
wrishp_gate = 0
wrishp_fxw = 0
wrishp_thd = 0
wrishp_obs = 0
wrishp_emb = 0
wrishp_dryArea = 0
wrishp_enc = 0
wrishp_src = 0
wrishp_pump = 0
outputDir = output
waqOutputDir =
flowGeomFile =
obsFile =
crsFile =
hisFile =
hisInterval = 600.0
xlsInterval = 0.0
mapFile =
mapInterval = 3600.0
rstInterval = 0.0
mapFormat = 4
ncFormat = 3
ncNoUnlimited = 0
ncNoForcedFlush = 0
ncWriteLatLon = 0
wrihis_balance = 1
wrihis_sourceSink = 1
wrihis_structure_gen = 1
wrihis_structure_dam = 1
wrihis_structure_pump = 1
wrihis_structure_gate = 1
wrihis_structure_weir = 1
wrihis_structure_orifice = 1
wrihis_structure_bridge = 1
wrihis_structure_culvert = 1
wrihis_structure_longCulvert = 1
wrihis_structure_damBreak = 1
wrihis_structure_uniWeir = 1
wrihis_structure_compound = 1
wrihis_lateral = 1
wrihis_velocity = 0
wrihis_discharge = 0
wrimap_waterLevel_s0 = 0
wrimap_waterLevel_s1 = 1
wrimap_evaporation = 0
wrimap_velocity_component_u0 = 0
wrimap_velocity_component_u1 = 1
wrimap_velocity_vector = 1
wrimap_upward_velocity_component = 0
wrimap_density_rho = 0
wrimap_horizontal_viscosity_viu = 0
wrimap_horizontal_diffusivity_diu = 0
wrimap_flow_flux_q1 = 1
wrimap_spiral_flow = 0
wrimap_numLimdt = 1
wrimap_tauCurrent = 0
wrimap_chezy = 0
wrimap_turbulence = 0
wrimap_rain = 0
wrimap_wind = 0
wrimap_heat_fluxes = 0
wrimap_wet_waterDepth_threshold = 0.01
wrimap_time_water_on_ground = 1
wrimap_freeboard = 1
wrimap_waterDepth_on_ground = 1
wrimap_volume_on_ground = 1
wrimap_total_net_inflow_1d2d = 1
wrimap_total_net_inflow_lateral = 1
wrimap_water_level_gradient = 0
wrimap_flow_analysis = 0
mapOutputTimeVector =
fullGridOutput = 0
eulerVelocities = 0
classMapFile =
waterLevelClasses = 0.0
waterDepthClasses = 0.0
classMapInterval = 0.0
waqInterval = 0.0
statsInterval = 0.0
writeBalanceFile = 0
timingsInterval = 0.0
richardsonOnOutput = 1
wrihis_taucurrent = 1
velocitydirectionclassesinterval = 30
s1incinterval =
wrihis_waterlevel_s1 = 1
wrihis_sediment = 0
wrihis_upward_velocity_component = 0
wrihis_heat_fluxes = 0
wrihis_constituents = 0
wrihis_wind = 0
wrimap_bnd = 0
foufile =
wrihis_velocity_vector = 1
wrihis_infiltration = 0
wrihis_turbulence = 0
wrihis_rain = 1
wrimap_qin = 0
velocitymagnitudeclasses = 0
wrihis_density = 0
wrihis_salinity = 0
wrimap_interception = 0
wrihis_waterdepth = 1
wrihis_temperature = 0
fouupdatestep = 0

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[General]
fileVersion = 3.00
fileType = roughness

[Global]
frictionId = Main
frictionType = Chezy
frictionValue = 45.000

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[General]
fileVersion = 3.00
fileType = roughness

[Global]
frictionId = Sewer
frictionType = WhiteColebrook
frictionValue = 0.003

Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[General]
fileVersion = 3.00
fileType = structure

[Structure]
id = Weir_1D_1
branchId = Channel_1D_1
chainage = 794.985190
type = weir
allowedFlowDir = both
crestLevel = 1.000
crestWidth = 5.000
corrCoeff = 1.000
useVelocityHeight = true

[Structure]
id = Weir_1D_2
branchId = Channel_1D_1
chainage = 1275.126588
type = weir
allowedFlowDir = both
crestLevel = 1.000
crestWidth = 5.000
corrCoeff = 1.000
useVelocityHeight = true

[Structure]
id = CompositeBranchStructure_1D_1
branchId = Channel_1D_1
chainage = 794.985190
type = compound
numStructures = 1
structureIds = Weir_1D_1

[Structure]
id = CompositeBranchStructure_1D_2
branchId = Channel_1D_1
chainage = 1275.126588
type = compound
numStructures = 1
structureIds = Weir_1D_2

Loading
Loading