trixi-framework / trixi-framework/TrixiParticles.jl

Revise fluid CFL condition

Open
#1,048 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Julia
Stars
83
Forks
24
Avg merge
8d 18h
Merged PRs (30d)
3

Description

Currently, we have implemented:

  1. Multiple different time step conditions, but only one of them is scaled by the CFL number. When using very stable time integration methods, this leads to situations where a larger time step would still be stable, but the StepsizeCallback doesn't make it larger when the CFL number is increased. IMO, the CFL number should linearly scale all time step conditions.
  2. Only static time step conditions. Nothing based on the current solution. We should investigate if that makes sense, i.e. if a simulation like a Taylor-Green vortex where the velocity tends to zero can increase the time step throughout the simulation.

Contributor guide

Open the contributing guide

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.

Research direction

Start by locating the StepsizeCallback and the existing time-step conditions in the repository. Read how the CFL number is applied and how current-solution state is available during a simulation. Done should include a decided approach for scaling all conditions and determining whether solution-dependent time steps are supported, with corresponding validation.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.