CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

icoFoam as DNS turbulent solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 15, 2018, 13:15
Default icoFoam as DNS turbulent solver
  #1
New Member
 
George
Join Date: Jun 2017
Posts: 12
Rep Power: 9
last_jedi is on a distinguished road
Dear All,

I understand that this topic has already been explained, but there are still some questions regarding the use of icoFoam for turbulent DNS.

1)First of all except Re is, there any other change that should be conducted in this solver in order to achieve turbulent DNS??

2)I know that a small timestep should be implemented but what order should that be?

(trying to model turbulent DNS channel flow)
last_jedi is offline   Reply With Quote

Old   March 15, 2018, 13:36
Default
  #2
Senior Member
 
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 16
Santiago is on a distinguished road
A more fundamental question would be: Why DNS with OF?

I mean, you could perfectly do it but is not the right tool for that...

I correct myself, you could EVENTUALLY do it.
Santiago is offline   Reply With Quote

Old   March 16, 2018, 05:51
Default
  #3
New Member
 
George
Join Date: Jun 2017
Posts: 12
Rep Power: 9
last_jedi is on a distinguished road
The answer is, that i would like to test a code that i will later implement in OF and study turbulence prediction. So i can not use any commercial solver.
last_jedi is offline   Reply With Quote

Old   March 16, 2018, 06:15
Default
  #4
Senior Member
 
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 16
Santiago is on a distinguished road
Quote:
Originally Posted by last_jedi View Post
The answer is, that i would like to test a code that i will later implement in OF and study turbulence prediction. So i can not use any commercial solver.
I never said to use any FVM commercial software for DNS. All evidence to the contrary, I would discourage its use for DNS for the same reasons (and some more) I discourage the use of OF.

The reasons are too vast to list them here, but I will give you 2 of them, having pisoFoam as a baseline:

1. The primary property you're interested in when doing DNS is ENERGY conservation, as understood in functional analysis (not talking about thermo here). The primitive formulation of the NSE only conserve mass discretely (velocity is projected into solenoidal space using a "corrector" step), so it does for the energy! Velocity-vorticity formulations of the NSE equations, often used in Discontinuous Galerkin, Spectral Element, methods conserve mass by definition, so conservation of energy is only dependant on the spatio-temporal schemes used.

2. PISO is a formulation that, strictly speaking, is inconsistent in the formulation of the convective term. This is a fact that is recognized even by Issa in his article. This problem is usually mitigated by using low Courant numbers, in my experience with PISO Co<=0.1. You should use a different algorithm in OF if your prime interest is to resolve turbulence (having in mind what i said in 1.)


There are excellent spectral/DG codes available in the wild, not commercial, for free. One salient example is NEK5000.

To conclude, I'm not making an argument against OF or FLUENT or anything of the sorts. I'm saying that you should use the right tool for the right job.
Santiago is offline   Reply With Quote

Reply

Tags
dns, icodymfoam, openfoam, turbulent channel flow


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Choice of Solver for calculation of water hammer effect under turbulent conditions silencebreak OpenFOAM 4 August 21, 2022 23:04
fluent divergence for no reason sufjanst FLUENT 2 March 23, 2016 17:08
Adding porous zones in icoFoam solver josephn OpenFOAM Running, Solving & CFD 4 March 7, 2015 01:28
IcoFoam stationary solution STRONGLY dependent on the tolerance of the linear solver Mehrez OpenFOAM Running, Solving & CFD 1 February 16, 2015 07:59
Working directory via command line Luiz CFX 4 March 6, 2011 21:02


All times are GMT -4. The time now is 05:25.