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

Disappearing Particles #762

Closed
hlokavarapu opened this issue Feb 20, 2016 · 2 comments
Closed

Disappearing Particles #762

hlokavarapu opened this issue Feb 20, 2016 · 2 comments

Comments

@hlokavarapu
Copy link
Contributor

I have accidentally stumbled on this "bug" while investigating the convergence rate of particle integration scheme, Euler using Richardson extrapolation. The input data for my script are the particle position data generated with variable CFL numbers: 1.0, 0.5, 0.25, 0.125, and 0.0625.

The particles are vanishing when the CFL >= 1.0

vanishingparticles

Because of the numerical error of Euler, the particles are being pushed outside of the domain and are being "lost."

Should this be the expected behavior of a flow such as this?

To reproduce:
mpirun -np 1 circular_tracer_flow_1.0.prm

circular_tracer_flow_1.0.prm.zip

@hlokavarapu
Copy link
Contributor Author

After reconvening with Dr. Puckett, it is clear that this is expected.

@gassmoeller
Copy link
Member

Ah, you were too fast, I was about to write an answer 😄. Yes this is expected. The forward euler integration accumulates errors over time and in this flow field they all increase the distance of the particles to the center. Increasing the CFL number increases the accumulated error.
But the animation is still nice to watch.

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

No branches or pull requests

2 participants