CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Higher order downwind scheme (http://www.cfd-online.com/Forums/openfoam-solving/60077-higher-order-downwind-scheme.html)

jelmer August 4, 2006 09:09

Does anyone happen to know if
 
Does anyone happen to know if there is second order version available of the downwind scheme? I would like to apply a second order scheme for the convection in the adjoint Euler equations. So far I could only find (and use succesfully) the first order downwind scheme, other schemes seem useless. There is nothing on downwind schemes in the manual either.

I tried to use schemes for vector fields in order to upwind according to the adjoint characteristic direction which is opposite to the physical characteristic direction, but this wasn't a cure either.

regards, jlmr

eugene August 4, 2006 11:03

I think you mean upwind. Downw
 
I think you mean upwind. Downwind is unconditionally unstable.

hjasak August 4, 2006 12:50

Be careful Eugene: he is solvi
 
Be careful Eugene: he is solving the adjoint equation.

Hrv

jelmer August 7, 2006 08:26

Thank you Hrv for explaining..
 
Thank you Hrv for explaining...

So, nobody knows either who has implemented the downwind scheme so I can contact him or her?

Then my other question is: would copying and modifying (for instance) the MUSCL scheme from upwind to downwind be a smart and easy way to write a higher order downwind scheme myself...?

jlmr

jelmer August 9, 2006 06:43

found it! simply add '2': G
 
found it! simply add '2':

Gauss downwind 2;

does the trick. Nice second order accurate solution!

jlmr


All times are GMT -4. The time now is 11:44.