Skip to content
Explicit scheme for CFD
C++ C Other
Branch: master
Clone or download
Pull request Compare This branch is 8 commits ahead of chennachaos:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
src
.gitignore
CMakeLists-Chenna-JADE.txt
CMakeLists-Chenna-laptop.txt
CMakeLists.txt
LICENSE
README-JADE.md
README.md
explicitINS-paper-GH.pdf

README.md

XCFD

Explicit scheme for CFD using a new finite element scheme. At the moment limited to incompressible Navier-Stokes in 2D and 3D.

  • Programming language: C++
  • C++ standard: C++11 (or above)
  • Required third-party libraries: 1.) Eigen 2.) VTK (This is optional. Can output in VTK legacy format by defining the VTK_LEGACY_FORMAT variable in the compiler options.

Compilation and building

  • Create build and bin directories.
  • Modify the CMakeLists.txt file accordingly.
    • Change the paths to the compilers, Eigen and VTK libraries.
    • Change the path to bin.
  • Run the following commands (from the repository folder)
    • mkdir build
    • cd build
    • cmake ..
    • make install

Execution

./incexplicitSerial <inpfileprefix>

One input file for the 2D lid-driven cavity benchmark is provided; this input is for the mesh B, Figure 13(b) in the paper. The control parameters in control-parameters.dat file are set to produce the results for Re=1000.

You can also test this by running the Python program test-LDCT6-stru-meshB-Re1000.py. This program makes a system call to the execution of the CFD program with the corresponding input file and compares the convergence data once the simulation is finished.

The simulation also produces 320 VTK files.

You can’t perform that action at this time.