https://github.com/cda-tum/mmft-lbmcore

A lightweight LBM solver that can handle CFD simulators in MMFT-Simulator

https://github.com/cda-tum/mmft-lbmcore

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (4.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

A lightweight LBM solver that can handle CFD simulators in MMFT-Simulator

Basic Info
  • Host: GitHub
  • Owner: cda-tum
  • License: mit
  • Language: CMake
  • Default Branch: main
  • Size: 3.91 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.md

mmft-LbmCore

A lightweight 2D LBM (D2Q9, BGK) solver focused on plane Poiseuille flow.

BCs: no-slip walls (bounce-back) at y=0 and y=ny-1, inlet/outlet boundary conditions in x.
Validation: compares simulated velocity profile with analytical parabola


1) Requirements

  • C++17 compiler (MSVC 2022 / clang / gcc)
  • CMake ≥ 3.20
  • (optional) GoogleTest

2) Build

Windows cd mmft-LbmCore cmake -B build -A x64 -G "Visual Studio 17 2022" cmake --build build --config Release

The executable is build/Release/MMFTLBM.exe


3) Run

CLI: MMFTLBM [w_phys] [nu_phys] [rho_phys] [umaxphys] [tau] [nx] [ny] [steps]

Arguments:

wphys — channel width [m]
nu
phys — kinematic viscosity [m²/s]
rhophys — density [kg/m³]
u
max_phys — target peak velocity [m/s]
tau — relaxation time
nx, ny — lattice size in x (streamwise) and y (wall-normal) directions
steps — number of time steps

Example:

.\build\Release\MMFTLBM.exe 0.01 1.0e-5 1000 0.05 0.8 100 50 20000

Output: velocityprofile.csv
Two columns: y m, u
x(y) [m/s] at x = nx/2 (streamwise flow speed)

Analytical profile: uexact(y) = 4 * umax_phys * (y/w) * (1 – y/w), y ∈ [0, w]


4) Tests

Build & run tests

Windows: cmake -B build -A x64 -G "Visual Studio 17 2022" -DTEST=ON cmake --build build --config Release ctest --test-dir build -C Release --verbose

The test constructs a Poiseuille case and asserts the RMS error between numerical and analytical profiles is below a tolerance (e.g., 1e-3).

Owner

  • Name: Chair for Design Automation, TU Munich
  • Login: cda-tum
  • Kind: organization
  • Location: Germany

The CDA provides expertise for all main steps in the design and realization of integrated circuits, embedded systems, as well as cyber-physical systems.

GitHub Events

Total
  • Member event: 1
  • Push event: 1
  • Pull request review comment event: 2
  • Pull request review event: 5
  • Create event: 2
Last Year
  • Member event: 1
  • Push event: 1
  • Pull request review comment event: 2
  • Pull request review event: 5
  • Create event: 2

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 3
  • Total Committers: 1
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 3
  • Committers: 1
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
micheltakken m****n@g****m 3

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels