Introduction
Introduction Statistics Contact Development Disclaimer Help
tlid_driven_cavity.py - ns2dfd - 2D finite difference Navier Stokes solver for …
git clone git://src.adamsgaard.dk/ns2dfd
Log
Files
Refs
LICENSE
---
tlid_driven_cavity.py (235B)
---
1 #!/usr/bin/env python
2 import ns2dfd
3
4 sim = ns2dfd.fluid()
5 sim.U[:,-1] = 1.0
6 sim.U[:,-2] = 1.0
7 sim.reynolds_number(1000)
8 sim.end_time(20.0)
9 sim.boundary_conditions(2, 2, 2, 2)
10 sim.run()
11 sim.read(sim.sim_id + '00008.dat')
12 sim.plot_PUV()
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.