Skip to content

Commit

Permalink
Remove contaminant module for now, just use them as tracers
Browse files Browse the repository at this point in the history
  • Loading branch information
Maginor committed Sep 25, 2024
1 parent 7d429af commit 1a75157
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions models/nivafjord_isolated_basin_fpv_model.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ It is also currently without horizontal exchange between basins, so it only work
load("modules/nivafjord/pipe_boundary.txt",
module("Basin inflow", air, layer, basin, bnd, water, heat, o2, salt, co2, ch4, tox, precip, temp, h, rho, salinity, pressure, dz, vert, dims))

load("modules/simplytox.txt",
phys : preamble("SimplyTox physiochemical", tox, temp),
module("SimplyTox air-water", "SimplyTox lake air-water", air, basin, water, tox, temp, wind, loc(basin.area), phys),
module("SimplyTox partitioning", "SimplyTox fjord layer", layer, water, oc, tox, temp, loc(layer.water.sed.oc), [n g], constant(true), phys)
)
#load("modules/simplytox.txt",
# phys : preamble("SimplyTox physiochemical", tox, temp),
# module("SimplyTox air-water", "SimplyTox lake air-water", air, basin, water, tox, temp, wind, loc(basin.area), phys),
# module("SimplyTox partitioning", "SimplyTox fjord layer", layer, water, oc, tox, temp, loc(layer.water.sed.oc), [n g], constant(true), phys)
#)

load("modules/nivafjord/tox.txt",
module("NIVAFjord tox air-water", basin, layer, air, water, tox, temp, area, vert, loc(basin.ice.indicator), dims, phys)
)
#load("modules/nivafjord/tox.txt",
# module("NIVAFjord tox air-water", basin, layer, air, water, tox, temp, area, vert, loc(basin.ice.indicator), dims, phys)
#)

solve(sol, bnd.water)

Expand All @@ -54,6 +54,10 @@ It is also currently without horizontal exchange between basins, so it only work
var(air.precip, [m m, day-1], "Precipitation")
var(air.temp, [deg_c], "Air temperature")


var(layer.water.tox, [n g], [n g, l-1], "Layer contaminants")


sed_tox : property("Sediment diffuse contaminants")
var(layer.water.tox.sed_tox, [n g, day-1])

Expand Down

0 comments on commit 1a75157

Please sign in to comment.