truong-dang-4k / flo2d Goto Github PK
View Code? Open in Web Editor NEWThis project forked from cpraveen/flo2d
Automatically exported from code.google.com/p/flo2d
This project forked from cpraveen/flo2d
Automatically exported from code.google.com/p/flo2d
The flo solver requires GMRES library. Get double precision version from here http://www.cerfacs.fr/algor/Softs/GMRES/ Put the file dPackgmres.f in directory flo2d/gmres You also need Tapenade to compile the code. Get it from here http://www-sop.inria.fr/tropics/tapenade/downloading.html Set the variable TAPENADE_HOME to point to your Tapenade installation. Compile the flo solver cd src-flo make flo2d Compile the adjoint solver cd src-flo make adj2d Compile deformation code cd src-utl make ------------------------------------------------------------------------------- Grid file format <No of points> <No of triangles> <No of boundary edges> 1 x1 y1 . . . . . . . . . . . . 1 a1 b1 c1 . . . . . . . . . . . . . . . . . . . . 1 a1 b1 typ1 . . . . . . . . . . . . Node numbering starts from one (fortran style) In each triangle, the nodes (a1,b1,c1) are ordered counter-clockwise. For each boundary edge, when you move from node a1 to node b1, the computational domain lies to your left. Boundary edge types: Solid wall = 3 farfield = 5 ------------------------------------------------------------------------------- Running the code Setup flo.in file with all parameters. Copy flo.gnu to the directory where you want to run the code. Run the flo2d $ /path/to/flo2d flo.in ------------------------------------------------------------------------------- Post processing View domain and grid $ gnuplot grid.gnu The file flo.png is updated with some result as the code is running. gnuplot> set size ratio -1 gnuplot> p 'FLO.P' w l,'BD.DAT' w l gnuplot> p 'FLO.M' w l,'BD.DAT' w l View FLO.vtk in mayavi/visit/paraview. There is a mayavi python script: plot_mayavi.py
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.