作者rinb0919 (冷叶)
看板Fortran
标题[问题] 周期性空间内的弹性碰撞问题
时间Fri Nov 4 20:03:53 2011
老师出了一个作业
总共有8个步骤
但我光是前4个步骤就写了一个多礼拜...
刚刚发现
我不懂第6步骤的意思
附上题目
想请各位帮我解释一下题目在说甚麽
希望有好心人士可以救救我......T_T
作业大致上是要在一个20x20的周期性边界内(二维
模拟2个等质量等半径的圆 进行弹性碰撞的结果
(1) To write a Hard-Sphere Molecular Dynamics simulation program,
we start from:
Step 1.
Assume the system has only two spheres with the same mass and same size (r=1)
in a periodic 2-D space that is 20 unit size by 20 unit size. The spheres
initially stay at (1,1) and (5,5) with velocity (0.3, 0.4) and (-0.3,-0.4),
respectively.
Step 2.
Write a code (subroutine) to read initial conditions of the system
Step 3.
Write a code (subroutine) to estimate the collision time
Step 4.
Write a code (subroutine) to advance the spheres to the collision point.
Step 5. Write a code (subroutine) to perform collision (change velocity)
**Step 6. Write a code (subroutine) to advance the spheres without collision
for a small timestep=0.1 (step 4 and step 6 may combine together)
Step 7. Assemble subroutines from Step 3 to Step 6 to form a Simple Hard-Sphere
Molecular Dynamics simulation program
不知道是否适合在这里问
但因为这作业要用fortran写
所以希望各位可以帮我....
不适合在此发问的话
我会尽快删文
谢谢!!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.116.24.165
1F:推 terryys:6是让你写一段程式,让那两个球体在一段短时间(0.1)前进 11/04 22:58
2F:→ terryys:不考虑碰撞 11/04 22:59
3F:→ rinb0919:谢谢! 11/05 07:47