60 likes | 145 Views
Scientific Computing in Computer Science. Institut für Informatik. Practical Course SC & V. Time Discretisation. Dr. Miriam Mehl. Time Discretisation. Euler step for momentum equations pressure ensures mass conservation poisson equation correction of velocities. Time Step – Stability.
E N D
Scientific Computing in Computer Science Institut für Informatik Practical Course SC & V Time Discretisation Dr. Miriam Mehl
Time Discretisation • Euler step for momentum equations • pressure ensures mass conservation • poisson equation • correction of velocities
Time Step – Stability • small reynolds number: dt < dx2 • high reynolds number:dt < dx
Algorithm (One Time Step) • compute time step dt • set boundary values • compute preliminary velocities • solve pressure equation • compute final velocities
Debugging • simple setup: • one(!!!) time step • external forces zero • test preliminary velocities at boundaries • test residual of the pressure equation
Debugging • enhanced setup: • initialize velocities constant butwith nonzero boundary values • test preliminary velocities