Skip to content

Commit

Permalink
Sync with PALEOsediment v0.3.3 changes (#30)
Browse files Browse the repository at this point in the history
This PALEOsediment update refactored ReactionSedimentTransport into four reactions

See
  examples/shelf1D/PALEO_examples_shelf1Dsed_cfg.yaml
  • Loading branch information
sjdaines authored Dec 20, 2024
1 parent 74fafaa commit 8d034b5
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 9 deletions.
2 changes: 2 additions & 0 deletions examples/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ ZipFile = "a5390f91-8eb1-5f08-bee0-b1d1ffed6cea"

[compat]
PALEOmodel = "0.15.48"
PALEOsediment = "0.3.3"

42 changes: 33 additions & 9 deletions examples/shelf1D/PALEO_examples_shelf1Dsed_cfg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -420,19 +420,43 @@ shelf1D_P_O2_S_CH4_sed:
bioratesed:
class: ReactionSedimentBioRates

transportsed:
class: ReactionSedimentTransport
parameters:
L: 0.15 # 0.15m column with 60 bins
# transportsed:
# class: ReactionSedimentTransport
# parameters:
# L: 0.15 # 0.15m column with 60 bins
# ncellspercol: 60
# f_grid: quadratic
# grid_eta: 0.075
# zdbl: 0.04e-2 # diffusive boundary layer at sediment-water interface
# variable_links:
# oceanfloor_temp: ocean.oceanfloor.temp
# oceanfloor_sal: ocean.oceanfloor.sal
# oceanfloor_*_conc: ocean.oceanfloor.*_conc

gridsed:
class: ReactionSedimentGridn1D
parameters:
L: 0.15 # 0.15m column
ncellspercol: 60
f_grid: quadratic
grid_eta: 0.075
zdbl: 0.04e-2 # diffusive boundary layer at sediment-water interface
f_grid: quadratic
grid_eta: 0.075

physsed:
class: ReactionSedimentPhys

variable_links:
oceanfloor_temp: ocean.oceanfloor.temp
oceanfloor_sal: ocean.oceanfloor.sal
oceanfloor_*_conc: ocean.oceanfloor.*_conc


transportsedsolid:
class: ReactionSedimentTransportSolid

transportsedsolute:
class: ReactionSedimentTransportSolute
parameters:
zdbl: 0.04e-2 # diffusive boundary layer at sediment-water interface
variable_links:
oceanfloor_*_conc: ocean.oceanfloor.*_conc

reservoir_O2:
class: ReactionReservoirTotal
Expand Down

0 comments on commit 8d034b5

Please sign in to comment.