-
Dear all; I am using a shapefile to seed 100,000 particles along our shelf region. When we release the particles at a specific time, it works as expected and particles are evenly released along the shapefile region. Now, we tried to release the 100,000 particles in the shape region but along 15 days. Instead of the particles to be evenly released along the shape region at each time step, we get all particles been released at a specific point (see animation attached). The release point changes with time and in the end all shape region will be "filled" with particles each one released in a different time step. Here is the seeding part of the code:
What we want is to have particles evenly (or randomly) released in the space at each time step. Am I doing anything wrong? I am sending the animation and the figure with the final position at the end of the simulation. Our code is all attached. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, |
Beta Was this translation helpful? Give feedback.
Hi,
Seeding within a polygon/shapefile is only supposed to work for specific times, so OpenDrift should have thrown an error here. I am in fact surprised that it did not crash.
Rather, you must do repeated seeding for each shapefile for each desired release time. Otherwise it would be very difficult for OpenDrift to know how you would like your particles to be distributed in time and space.