Commit 8fb82f7e authored by Sævik Pål Næverlid's avatar Sævik Pål Næverlid
Browse files

Add vertical mixing option

parent 3e804b1b
......@@ -14,8 +14,8 @@ class IBM:
self.k = 0.2 # Light extinction coefficient
self.swim_vel = 5e-4 # m/s
self.vertical_diffusion = True
self.D = 1e-3 # Vertical mixing [m*2/s]
self.D = config["ibm"].get('vertical_mixing', 1e-3) # Vertical mixing [m*2/s]
self.vertical_diffusion = self.D > 0
self.dt = config["dt"]
self.mortality_factor = np.exp(-mortality * self.dt / 86400)
......
......@@ -27,6 +27,9 @@ ibm:
- temp # Particle ambient temperature [Celcius]
- salt # Particle ambient salinity [1]
salinity_model: new # 'old' or 'new'
vertical_mixing: 0.001 # [m^2/s]
particle_release:
release_type: continuous
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment