Tuesday, March 4, 2014





Please watch the entire module 7 for Unstructured grid generation methods.




Collection of Computation Fluid Dynamics (CFD) source codes, freely downloadable and intended to be useful for educational purposes.

  • Hyperbolic and parabolic model equations
    Schemes for model equations
    C codes that implement conservative difference schemes, explicit and implicit, for hyperbolic and parabolic model equations in 1D - modeq.tar.gz

    FCT-schemes
    Sample C/C++ codes that implement some FCT schemes for hyperbolic model equations in 1D - fct.tar.gz

  • One-dimensional conservation laws of gas dynamics

    First order Godunov schemes
    Piecewise-constant approximation to the solution within computational cells, single step advancing in time. Several source codes in ANSI C with different solvers of the Riemann problem are available:
    •  exact procedure of Godunov - godunov.tar.gz
    • approximate flux-difference splitting (FDS) of Roe - roe_fds.tar.gz
    • approximate linearized characteristic-based Riemann solver (LCS): lcs.tar.gz - (Fortran 77 and C sources available). Description of LCS solver downloadable as gzipped PS file - solver.ps.gz
    Higher order Godunov-type schemes
    Piecewise-parabolic spatial reconstruction, minmod() limiter function, LCS solver, three- and two- step Runge-Kutta in time. Sources in C are available for:
    • Two- and three-step schemes that use non-iterative (LCS), iterative (LCSS), and weakly linearized (WLCS) versions of characteristic-based Riemann solver and a program for exact solution of Riemann problem: lcs3.tar.gz
    • Two-step scheme for variable composition mixture of gases: lcs2mix.tar.gz
     A set of different 1D schemes; demo package
    Four different schemes solving "subsonic" and "supersonic" Riemann problems, with numerical and exact solutions
    compared - sch1d.tar.gz. This package contains:
        1) a non-conservative characteristic-based scheme,
        2) Godunov scheme (as in godunov.tar.gz),
        3) three step higher-order scheme (as in lcs3.tar.gz),
        4) one-step higher-order scheme.

  • Two-dimensional conservation laws of gas dynamics

    Higher order Godunov-type "generic" 2D scheme
    Rectangular mesh, piecewise-parabolic spatial reconstruction, minmod() limiter function, characteristic-based solver LCS, three step Runge-Kutta in time. C source - lcs2d3.tar.gz

    Higher order scheme for 2D equations in axisymmetrical form
    Higher order Godunov-type scheme applied to aeroacoustical problem: a finite-amplitude wave issuing from 1D duct into the 2D atmosphere. Standard C source code - noise.tar.gz

  • Large Eddy Simulation

    Cartesian grid compressible LES
    Piecewise-parabolic distribution within computational cells, two-step time integration, 3D, unsteady filtered Navier-Stokes equations.
    Description of LES numerical scheme downloadable as gzipped PS file - les.ps.gz.
    Test examples in C are available for:
    High performance LES
    Parallel implementation of LES of turbulent flows (uses MPI):

  • Combustion
    Propagation of 1D pre-mixed laminar (normal) flame
    Numerical scheme for 1D normal premixed combustion based on above listed high-resolution Godunov scheme lcs2mix. C source code - normal.tar.gz

  • Flow Visualization
    WinField 1.07
    Visualization of scalar flowfield given by rectangular table. Win32 binary and C source - winfield.zip


    source : http://www.reocities.com/MotorCity/pit/9939/freecfd.htm

Sunday, March 2, 2014


Essential Startup kit for Parallel Development

Got a new laptop with some serious horse-power, and here are the tolls that I am setting up for some CFD (some scientific computing) development stuff. Apart from some compilers, libraries, dependencies, etc I adding some post-processors and CFD related tools to make our lives easier. So here's the list (I am on Ubuntu by the way). Feel free to comment on adding more stuff.

The keywords for Ubuntu's sudo apt-get install * are presented in brackets, wherever applicable.

Compilers
gcc / g++ (gcc / g++)
gfortran (gfortran)
openmpi (openmpi)
opencl / cuda
octave

IDE
kate (kate)
vim (vim)
ECLIPSE Parallel (get from eclipse website)

Version-Control
Github (git-core)

Pre-Processors
GMSH ( link )

Debuggers
valgrind (valgrind)
gprof (comes with gcc)

Post-Processors
ParaView (paraview)
ViSiT
MayaVi
gnuplot
engauge-digitizer

Documentation
Doxygen (doxygen)
LaTeX (texlive-full)

Thursday, December 26, 2013

Lecture on convective heat transfer

Instructuer : Prof. C. J. Chen
Number of lectures : 9
Duration : 1hr+ approx.
Source : youtube


Lecture on Turbulence

Instructuer : Prof. C. J. Chen
Number of lectures : 19
Duration : 1hr+ approx.
Source : youtube



Lecture on Turbulent heat transfer

Instructuer : Prof. C. J. Chen
Number of lectures : 7
Duration : 1hr approx.
Source : youtube





Friday, December 13, 2013


Some awesome projects to look out for... MUSCLE 2

MUSCLE 2 - The Multiscale Coupling Library and Environment is a portable framework to do multiscale modeling and simulation on distributed computing resources. The generic coupling mechanism of MUSCLE is suitable for many types of multiscale applications, notably for multiscale models as defined by the  MAPPER project or complex automata as defined in the  COAST project. Submodels can be implemented from scratch, but legacy code can also be used with only minor adjustments. The runtime environment solves common problems in distributed computing and couples submodels of a multiscale model, whether they are built for high-performance supercomputers or for local execution.

Within the MAPPER project, MUSCLE is being enhanced and adapted to the Grid infrastructures. Parts of the reservation and management interacts with the  QCG-Computing middleware stack, intended for job management on e-Infrastructure.
The software that is hosted here was initially developed by Jan Hegewald as part of the COAST project.

Visit at


Some awesome projects to look out for... OpenPALM

In order to efficiently represent complex systems, numerical modelling has to rely on many physical models at a time: an ocean model coupled with an atmospheric model is at the basis of climate modelling; a combustion model coupled with a radiation model allows the computation of a combustion chamber temperature. The continuity of the solution is granted only if these models can constantly exchange information.
OpenPALM is a software allowing the concurrent execution and the intercommunication of programs based on in-house as well as commercial codes.

The OpenPALM team proposes training to the coupler several times each years at CERFACS. Moreover, don't hesitate to contact us directly (thierry.morel@cerfacs.fr and palmhelp@cerfacs.fr) if you want informations on the coupler, on the instrumentations on the code to couple as well as on coupling algorithms.

Visit at

Tuesday, November 26, 2013



Short LaTeX Tutorial


Here is a short introduction to LaTeX that I taught to Surrey PhDs....



Monday, November 18, 2013



quickly some ... Quick Reference Cards




Let me know to add more ....
Subscribe to RSS Feed Follow me on Twitter!