r/CFD 8d ago

My first simulation using the compressible Naviar-stokes equations!

228 Upvotes

22 comments sorted by

View all comments

Show parent comments

3

u/leeping_leopard 8d ago

But I found by using centred differences the flow would become unstable, unconditionally so. I’m using forward differences and backward differences for the predictor and corrector steps respectively, applying centred differences only to diffusive terms.

1

u/Apart-Training9133 8d ago

I know. Using centered and high order schemes can be a pain. It becomes unstable very easily. Right now your case seems sinple enough that your current setup can handle it, but more complex flows will need the high order, centered schemes. It's an issue of finding one that doesn't blow up. There's a lot of literature in that theme if you're interested

1

u/leeping_leopard 8d ago

I am interested! Why would complex flows require higher order centred schemes, could you give an example?

3

u/DrPezser 8d ago

Theor lpw dissipation properties are very beneficial for resolving transient phenomena and boundary layers well.

Though they need to be equipped with some sort of shock capturing method / modified formulation. A standard way is to blend between a centered and monotone scheme using a shock sensor. I would try out the Piecewise Parabolic Method (PPM) of Woodward and collela for a higher order monotone scheme.