Convert Euler code to full NS
Hi
Simpel question: What are needed in terms of code midification when I want to convert a Euler code to simulate incompressible NS with keps turbulence model ? Thanks in advance. Regards Soren 
Re: Convert Euler code to full NS
Dear Soren,
The question is indeed simple  the answer is not... o You have to include the viscous terms in the transport equations; o You should add the ke transport equations (after deciding if you need the high or low Re model, and exactly which variant of the ke family); o You should allow for BC treatment including viscosity (e.g., no slip at walls) and appropriate BC for ke (either by corresponding wall functions or direct approach resolving the viscous sublayer); o You should choose an appropriate algorithm to allow for the incompressibility constraint (e.g., SIMPLElike or artificial comressibility); o You should adapt or modify altogether the discretization and numerical solution algorithm to allow stable and accurate solution to the full NS equations system; o and more... (e.g., treatment of additional inputs, additional output, further submodels, like the viscosity variaton with temperature). I assume that if you do such a conversion, there will be little resemblance between the final and the original codes. 
Re: Convert Euler code to full NS
just add the additional terms explicitly.

Re: Convert Euler code to full NS
Hi Soren,
I think it would be a very big job for you to implement all these. I suggest that you should get such a code from an expert in CFD or have a check the book from Ferziger and Peric. Regards Li 
All times are GMT 4. The time now is 20:48. 