Skip to content

limit drag when dt is small to prevent blow up#1024

Open
Debraheem wants to merge 2 commits into
mainfrom
EbF/improve_velocity_drag
Open

limit drag when dt is small to prevent blow up#1024
Debraheem wants to merge 2 commits into
mainfrom
EbF/improve_velocity_drag

Conversation

@Debraheem
Copy link
Copy Markdown
Member

This branch computes dynamical time and limits the dt used in the velocity drag expressions by the local dynamical timescale to prevent 1/s% dt blow up in the velocity drag, which can crash models.

The desired behavior is now:
v_drag -> 0 for large dt
v_drag -> finite number , for small dt

@Debraheem Debraheem changed the title compute dynamical time and limit drag when dt is small to prevent blow up limit drag when dt is small to prevent blow up Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant