Skip to content

This is an implementation of CFD codes for the Lid Driven Cavity using OpenMP, C++ and Vorticity Streamfunction formulation

License

Notifications You must be signed in to change notification settings

varun-r-mallya/LidDrivenCavity

Repository files navigation

LidDrivenCavity

This is an implementation of CFD codes for the Lid Driven Cavity using OpenMP, C++ and Vorticity Streamfunction formulation.

To run

  • Step 0;
    git clone https://github.com/varun-r-mallya/LidDrivenCavity.git;
    cd LidDrivenCavity; git submodule update --init --recursive`
  • Step 1: meson setup buildDir
  • Step 2: cd buildDir
  • Step 3: ninja
  • Step 4: ./LidDrivenCavity /path/to/your/config/file

Configuration

[LidDrivenCavity]
Re = 500.0              # Reynolds number
length = 2.0            # Length of Grid
grid_points = 100       # Number Of GridPoints
time_step = 0.01        # Time step
max_iterations = 10     # Maximum Number of iterations
tolerance = 1e-6        # tolerance adjust
python_plot = true

About

This is an implementation of CFD codes for the Lid Driven Cavity using OpenMP, C++ and Vorticity Streamfunction formulation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published