CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   About the Use of Crank Nicholson scheme (https://www.cfd-online.com/Forums/openfoam/70284-about-use-crank-nicholson-scheme.html)

And November 19, 2009 07:11

About the Use of Crank Nicholson scheme
 
Hello OpenFOAM community,

I'm working on LES of turbulent channel flow and so I'm deeply interested in your discussions and in particular on the validation on the OpenFOAM results.

As I'm concerned in the study of both spatial than temporal discretizations OpenFOAM schemes for LES, my doubt is if selecting the flag CrankNicholson in ddt schemes would mean the correct use of such scheme as in the FOAM ProgrammersGuide P-43 it is said that:

"The Crank Nicholson scheme can be implemented by the mean of implicit and explicit terms:

solve
(
fvm::ddt(phi)
==
kappa*0.5*(fvm::laplacian(phi) + fvc::laplacian(phi))
)
".

If is this so, I'have to rewrite the left hand side of the corresponding UEqn.H exploiting both fvm and fvc operator in order to implement the Crank Nicholson scheme. Otherwise I would not have an effective Crank Nicholson time integration schemes and consequently losing the second order time accuracy.

Any hints about that

Regards

Andrea

Houthuys November 14, 2017 12:25

I've exactly the same question. Can someone answer this one?


All times are GMT -4. The time now is 08:40.