JuliaOcean / PlanktonIndividuals.jl

This package simulates the behaviors of an ensemble of phytoplankton individuals.
MIT License
30 stars 4 forks source link

Arbitrary Functions for Nutrients and Velocity Field #73

Open Atreyu-94 opened 3 months ago

Atreyu-94 commented 3 months ago

I know that nutrients are imposed as initial conditions. But could some variations of the nutrients be inserted during the simulation, for example through a function?

zhenwu0728 commented 3 months ago

Yes, you can use boundary conditions to do that. The code is here. Sorry it's not well documented, but let me know if you run into any problems.