Skip to content

What's the best way to avoid CFL-related instabilities in the early simulation steps of LES #1361

Discussion options

You must be logged in to vote

I've used a time-dependent CFL in the past with some good results. It's easy to implement in the simulation progress function but a bit awkward. This is how I did it for the stratified Couette flow validation experiment (the script needs some real TLC):

# We will ramp up the CFL used by the adaptive time step wizard during spin up.
cfl(t) = min(0.01t, 0.1)
function print_progress(simulation)
model = simulation.model
clock = model.clock
wizard.cfl = cfl(model.clock.time)

Switching model properties is not allowed since that would modi…

Replies: 1 comment 23 replies

Comment options

You must be logged in to vote
23 replies
@glwagner
Comment options

@tomchor
Comment options

tomchor Feb 16, 2021
Collaborator Author

@glwagner
Comment options

@tomchor
Comment options

tomchor Feb 17, 2021
Collaborator Author

@glwagner
Comment options

Answer selected by tomchor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants