Purahei
- 9
- 0
Does anyone know a simple implementation in FORTRAN 90 of collisions of particles?
Have you done any research on your own?Purahei said:Does anyone know a simple implementation in FORTRAN 90 of collisions of particles?
I have to create a program in Fortran that models a system of particles. Because I'm new in that language, I would like to have a reference to start.pbuk said:Can you clarify what you are looking for - is it
- a library that implements a (not simple) algorithm for modelling collisions in a system of many particles so that you can incorporate it into a project? Or
- some Fortran code that models a collision between two particles so you can copy it for an assignment?
Very ambitious indeed. Again: This your first assignment ? Do you have programming experience with other languages ?Purahei said:program in Fortran that models a system of particles
Purahei said:I have to create a program in Fortran that models a system of particles. Because I'm new in that language, I would like to have a reference to start.
Yes, and then make an animation with those results.BvU said:I get plenty hits with 'fortran code for simple collisions of particles' or 'computer code for simple collisions of particles'.
Very ambitious indeed. Again: This your first assignment ? Do you have programming experience with other languages ?
Why not start with the simplest possible situations
More than good enough to learn fortran
Making things difficult can be a second step
(see first -animated- picture same page)
Anyway: what do you have in mind in the form of output ? long lists of t, x, y, ... or something else ?
Purahei said:Does anyone know a simple implementation in FORTRAN 90 of collisions of particles?
Purahei said:Yes, but most of them are in C++. Actually I'm beginner in Fortran.
This all seems very odd to me, if you're expected to write a program about particle collisions, but have no experience in writing Fortran code. Are you in a university class, and is the expectation that you already know how to write programs?Purahei said:It is an academic requirement