Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Can this SPH solver reproduce Hagen–Poiseuille?

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale

Research direction

No files, tests, or entry points are named. Start by locating the solver and any existing flow examples, then compare a plain 2D channel run with the stated Hagen–Poiseuille velocity profile; done means determining whether diffSPH can reproduce it.

Written by the indexing model from the issue text.

Description

Pipe flow is one of the few areas in which we can derive a mathematical solution to the Navier–Stokes equation.
Over the last few months I was exposed to some SPH solvers and it was interesting to see that non was able to acurately reproduce the velocity profile

u(y) = \frac{G}{2\mu} y(h-y), \quad G = -\frac{dp}{dx}

for the plain Poiseuille flow. The pressure gradient that drives the flow can be any body force, $h$ is the width of the 2d channel, $\mu$ the viscosity and $u$ is the velocity.

Would it be possible to simulate something like this with diffSPH?

Dominant language
Jupyter Notebook
Stars
61
Forks
9
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tum-pbs/diffSPH

All issues in tum-pbs/diffSPH

Similar issues

More Computer Graphics issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.