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 molecular diffusivity tabulations from Boudreau (1997) #12

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

sjdaines
Copy link
Member

New function

PALEOaqchem.MolecularDiffusion.create_solute_diffusivity_func(species_or_constant::AbstractString)

If 'species_or_constant' is a known species name, returns a function 'f_diffcoeff', which calculates:

f_diffcoeff(TdegK, Pbar, S) -> Dmol (cm^2/s)

If 'species_or_constant' can be parsed into a Float64, returns a function which provides this constant value (units cm^2/s).

Based on data compiled by
Boudreau (1997) 'Diagenetic models and their implementation; modelling transport and reactions in aquatic sediments'
(see Ch 4 in book)

See documentation for details.

New function

    PALEOaqchem.MolecularDiffusion.create_solute_diffusivity_func(species_or_constant::AbstractString)

If 'species_or_constant' is a known species name, returns a function 'f_diffcoeff', which calculates:

    f_diffcoeff(TdegK, Pbar, S) -> Dmol (cm^2/s)

If 'species_or_constant' can be parsed into a `Float64`,  returns a function which provides this constant value (units cm^2/s).

Based on data compiled by
    Boudreau (1997) 'Diagenetic models and their implementation; modelling transport and reactions in aquatic sediments'
    (see Ch 4 in book)

See documentation for details.
@sjdaines sjdaines merged commit 97b27eb into main Feb 28, 2024
3 checks passed
@sjdaines sjdaines deleted the solute_diffusivity branch February 28, 2024 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant