From 5f6b2c7de1b91d57dd8f638aeab577dae9ea46d3 Mon Sep 17 00:00:00 2001 From: paulasp Date: Fri, 21 Nov 2025 10:13:44 +0100 Subject: [PATCH 1/2] add hydrograph settings into cfg; fix bug in docu delete disabled parameter --- debrisframe/c1Ti/c1TiCfg.ini | 9 +++++++++ docs/source/installation.rst | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/debrisframe/c1Ti/c1TiCfg.ini b/debrisframe/c1Ti/c1TiCfg.ini index b5ca11a..5d67700 100644 --- a/debrisframe/c1Ti/c1TiCfg.ini +++ b/debrisframe/c1Ti/c1TiCfg.ini @@ -35,6 +35,15 @@ rhoEnt = 2000 # mass per particle (if MPPDIR is used) [kg] massPerPart = 280000. +#+++++++++++++Hydrograph +# if hydrograph is True, add hydrograph, provide the hydrograph values in a csv-table in the HYDR folder +hydrograph = False +# when checking if an already existing particle is within a hydrograph polygon +# (that would cause numerical instabilities and rise an error), one can decide to add a buffer +# around the polygon (0 means take strictly the points inside, a very small value +# will include the points located on the polygon line) +thresholdPointInHydr = 0.01 + #++++++++++++Friction model # add the friction using an explicit formulation (1) # or use an implicit method (0) diff --git a/docs/source/installation.rst b/docs/source/installation.rst index 1638574..c8ec6fe 100644 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -30,7 +30,7 @@ change into your ``debrisframe`` directory (replace [YOURDIR] with your path fro cd [YOURDIR]/DebrisFrame/debrisframe - python runComo1Debris.py + python runC1Ti.py From 33fbf10387386b812a26bde2719d3ce0097b77ba Mon Sep 17 00:00:00 2001 From: Paula Date: Thu, 15 Jan 2026 14:34:39 +0100 Subject: [PATCH 2/2] update ini --- debrisframe/c1Ti/c1TiCfg.ini | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/debrisframe/c1Ti/c1TiCfg.ini b/debrisframe/c1Ti/c1TiCfg.ini index 5d67700..cf7d3fc 100644 --- a/debrisframe/c1Ti/c1TiCfg.ini +++ b/debrisframe/c1Ti/c1TiCfg.ini @@ -35,14 +35,15 @@ rhoEnt = 2000 # mass per particle (if MPPDIR is used) [kg] massPerPart = 280000. -#+++++++++++++Hydrograph -# if hydrograph is True, add hydrograph, provide the hydrograph values in a csv-table in the HYDR folder -hydrograph = False -# when checking if an already existing particle is within a hydrograph polygon +#+++++++++++++general start conditions: time dependent release +# if timeDependentRelease is True, provide the the timesteps, thickness and velocity +# for a releases in a csv-table in the REL folder +timeDependentRelease = True +# when checking if an already existing particle is within a release polygon # (that would cause numerical instabilities and rise an error), one can decide to add a buffer # around the polygon (0 means take strictly the points inside, a very small value # will include the points located on the polygon line) -thresholdPointInHydr = 0.01 +thresholdPointInRel = 0.01 #++++++++++++Friction model # add the friction using an explicit formulation (1)