Skip to content

Partition FieldSets? #1304

Answered by erikvansebille
hblumberg asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @hblumberg, thanks for your question. I don't think that what you want to do is possible out-of-the-box with FieldSets.

Options to still implement this are

  1. as you suggest yourself, by using array, as you suggest. array is much more versatile than the FieldSet object of Parcels
  2. by cutting the simulation into two simulations, for the first and second day separately. If you store the particle locations and then use ParticleSet.from_particlefile to create a new FieldSet and ParticleSet with the ending locations of the first day simulation as starting locations
  3. by writing your own Kernel that, based on the time, uses a different advection scheme (i.e. multiplying the velocities by a differ…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hblumberg
Comment options

Answer selected by hblumberg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants