|January 8, 2010, 01:44||
Can some one show me a sample program of 3D k-epsilon?
Join Date: Jan 2010
Posts: 6Rep Power: 7
I want to learn how k-epsilon model works in low level. I googled many programs but none satisfy my needs.
Most mature codes depend on many libraries (like MPI, ParMetis, Petsc, etc). They are very complicated (FreeCFD contains thousands of lines of code, OpenFOAM tarball is 30MB big). And Most of them are too high level (kEpsilon.C in OpenFOAM is quite simple: it just described the equations. Investigating the low level solving strategies takes forever for beginners.)
So my question is, is there a simple clean k-epsilon code for the beginners to learn the brief idea of a CFD solver? Such program might not be full-featured (solving one case is enough. no need to include pre/post processing, meshing, etc.), but should be small (a few hundreds lines of code) and clean (use ANSI C, do not depends on libraries).
For LBM, there are some sample code for the newbies to learn: http://www.ndsu.edu/physics/people/f...ltzmann_codes/
|January 8, 2010, 18:52||
Join Date: Nov 2009
Posts: 411Rep Power: 11
You could also try NSC2KE (Google and you shall find) and the accompanying book:
Analysis of the K-epsilon turbulence mode, by B. Mohammadi.
The software is open source and self containing but in Fortran 77 (it should take a few hours to a C programmer to learn Fortran 77 syntax), anyway it should give you an idea of a code like this can be structured.
|Thread||Thread Starter||Forum||Replies||Last Post|
|SimpleFoam k and epsilon bounded||nedved||OpenFOAM Running, Solving & CFD||13||November 4, 2013 15:13|
|SimpleFoam k and epsilon bounded||nedved||OpenFOAM Running, Solving & CFD||1||November 25, 2008 21:21|
|about my old post||Rogerio Fernandes Brito||CFX||1||February 8, 2008 20:19|
|CAE program for heat conducting||Rogerio Fernandes Brito||FLUENT||0||February 3, 2008 12:22|
|UDS sample program||J.Y.Shin||FLUENT||0||January 24, 2007 22:41|