Skip to content

Gaussian blob sph#211

Draft
spossann wants to merge 89 commits into
develfrom
gaussian-blob-sph
Draft

Gaussian blob sph#211
spossann wants to merge 89 commits into
develfrom
gaussian-blob-sph

Conversation

@spossann
Copy link
Copy Markdown
Member

Add a verification test for SPH velocity diffusion in 1d, with Gaussian initial condition (no push eta to avoid shock formation).

@aminrai2000

This class will replace main.run and main.pproc. Conceptually, a
StruphyModel represents the physics model, including its variables and
equation parameters. A simulation takes StruphyModel as input and
additionally deals with geometry, initial conditions, allocation of
memory, and the actual solution process.

I started moving some methos/functions into the new Simulation class.
…class; it now orks for fields; restart logic becomes simpler too.
spossann and others added 29 commits February 20, 2026 13:00
… particles; this happens by default at first_free_idx for noslip boundary conditions. Unit test still needs to be adapted.
@spossann
Copy link
Copy Markdown
Member Author

Hi @aminrai2000 - this branch is now ready to be worked on. To run the new 1d velocity diffusion test:

python src/struphy/models/tests/verification/test_verif_ViscousEulerSPH.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants