|
[Sponsors] |
May 23, 2014, 00:51 |
Any commercial CFD code for DNS?
|
#1 |
New Member
Anvesh
Join Date: Jan 2014
Posts: 25
Rep Power: 12 |
Is there any commercial CFD code (like.. FLUENT, CFX etc) to perform DNS (Direct numerical simulations)? If no, why?
|
|
May 23, 2014, 02:14 |
|
#2 |
Member
Join Date: Dec 2012
Posts: 47
Rep Power: 14 |
The main reason for this is the same reason CFD was once limited to academia: DNS in its current state is tractable for simple, idealized problems only. Most commercial packages are written to be usable by engineers with BS degrees and college level fluid dynamics knowledge. DNS doesn't fit that description (yet), which limits its commercial market.
Last I heard from ANSYS about DNS - at a conference of theirs - they have no plans to implement it in any of their products.
__________________
Find me online here. |
|
May 23, 2014, 02:22 |
|
#3 |
New Member
Anvesh
Join Date: Jan 2014
Posts: 25
Rep Power: 12 |
Thanks for the reply. But if developing DNS code for a specific problem takes a considerable amount of time, atleast t some already developed versions should have been made available in the market for free .
This saves the time and there is no point in re-inventing the wheel |
|
May 23, 2014, 02:34 |
|
#4 | |
Member
Join Date: Dec 2012
Posts: 47
Rep Power: 14 |
Quote:
I'm sure there are academic DNS codes out there, but if you're not aware of the method's limitations it might best for you to learn more about it before you try using them.
__________________
Find me online here. |
||
May 23, 2014, 03:53 |
|
#5 |
Senior Member
|
First of all, any given code can work in DNS mode, which is just no model at all. What makes the difference is the amount of grid points required by a spectral method when compared to other approaches with low accuracy. Even a first order upwind could be used, but the amount of required points would soon become proibitive even for the cases which are today routinely computed.
This roughly means that you can use Fluent to perform DNS if you know how to do it. Having said so, Nekton, a spectral element code, was commercialized by Fluent in the 90's. Today it is open source (Nek5000) but, possibly, is what is more close to a user friendly DNS code. There are alternative options, but open and, from my point of view, with much less user friendliness and flexibility. |
|
May 24, 2014, 07:41 |
|
#6 | |
New Member
Shawn
Join Date: Mar 2012
Posts: 21
Rep Power: 14 |
Quote:
Q: Can you tell me where I can find the Nekton? My Fluent does not seem to have this stuff. Thanks, Shawn |
||
May 24, 2014, 13:41 |
|
#7 |
Senior Member
|
I actually used Fluent for DNS (pseudo-DNS, coarse-DNS or whatever is the name you like for it) and there is a growing trend in the journals in accepting such kind of works. If you want to succeed, in using Fluent for DNS you should use a grid which is at least a factor 2 finer in each direction when compared to grids used in spectral methods, and the time step set up accordingly to have a low courant number. Beside this and the fact that the viscous model has to be set as laminar, the remaining setting are those for LES (you can find several of my posts here concerning LES in Fluent).
You can find Nek5000 at http://nek5000.mcs.anl.gov/index.php/Main_Page but, nowadays, it has nothing to do with Fluent. |
|
May 24, 2014, 15:04 |
|
#8 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
just to say that OpenFOAM as any other CFD software you can get (I remember a 3D FV code available by ftp site - from the book of Peric & Ferziger ) can produce a DNS solution simply setting laminar model. The key is that the grid resolution is so fine to resolve all the physical turbulent scale. This is also the reason why much engineering turbulent flows can not be resolved (yet).
|
|
May 25, 2014, 01:40 |
|
#9 |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,290
Rep Power: 34 |
While on the surface there is nothing special in DNS that commercial codes can not do (at least on paper), there are few issues.
Having written a code that was specifically designed for DNS/LES (even though having access to commercial codes) the major issues that specifically designed code would do better: 1. We are talking about large sizes of calculations, our minimum was 1 billion cells or so. In this situation data export, management , post processing of data etc could be real pain in A with commercial code. In case of code designed for specific purposes, this would be better (it was in my code compared to commercial codes). 2. Efficiency. A typical DNS codes that is used in univ etc uses direct solvers that are much more faster than AMG that one uses in commercial codes. Many times commercial codes are 10 to 20 times slower than specifically designed code. (I estimated my codes was at least 30 times faster than fluent for same mesh sizes). Also note that if you are doing laminar flows and if your mesh is DNS fine, I would prefer lattice boltzman based methods for their efficiency. They might be much more efficient here. |
|
May 25, 2014, 05:40 |
|
#10 | |
Senior Member
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 20 |
Quote:
We are running spectral element codes with high N (8th order and above), and with that you can get down to 4 PPW, so that would be a factor of 2 compared to spectral. Low order FV is a totally different game.... |
||
May 25, 2014, 05:43 |
|
#11 | |
Senior Member
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 20 |
Quote:
Still, you need a highly efficient parallelization of both the code and the postprocessing... |
||
May 25, 2014, 05:48 |
|
#12 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
yes, in principle, the linear modified wavenumber analysis shows that a second order scheme compared to spectral scheme requires a much more refined grid...
However: - in DNS the smoothing of the energy content caused by FV discretization is quite acceptable if the grid is enough fine to superimpose this effect to the physical dissipation of the energy spectrum. The problem is much more relevant for LES where the cut of the grid filter lies in the inertial range. - In practice, the spectral method acts on the product (ui uj) causing aliasing. Any technique for de-aliasing causes the resolution fo the spectral method to be much more than the linear wavenumber analysis prescribe ... |
|
May 25, 2014, 06:02 |
|
#13 | ||
Senior Member
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 20 |
Quote:
Quote:
What does change is the work you have to do per grid point, and that's of course where FV is usually way more efficient - unless you do WENO on unstructured grids or so.... but for a DNS, I haven't seen a comparison of FV vs spectral where FV gets close to Spectral in terms of efficiency....please correct me if I'm wrong! I like FV, it just needs a good inner-cell polynomial connected to it |
|||
May 25, 2014, 06:09 |
|
#14 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
We experienced some comparisons for DNS with FV/SM, if you want have a look here
http://link.springer.com/article/10....162-010-0202-x |
|
May 25, 2014, 06:46 |
|
#15 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Quote:
I wanted to say that on a grid size h, the SM linear analysis predicts spectral resolution until to kc=pi/h but when the de-alaising is used, the last 1/3 of the range would be affected (similarly to a smoothing in FV) and in practice you are forced to work on a grid h_f = h/r (r>1) to re-obtain the spectral resolution up to kc. |
||
May 25, 2014, 08:57 |
|
#16 |
Senior Member
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 20 |
Yes, I understand your point, I agree that if you do classical (Orszag) de-aliasing in a spectral setting, 1/3 (even 1/2 for compressible) of the "nodes" would be filtered / cut off.
But on a grid of size h, a spectral method can resolve kc/pi/h accurately, if the dealiasing is done on a grid of size 2/3*h. In my opinion, de-aliasing does not change the grid spacing of the solution, it is just a method of removing numerical errors. The non-linear terms are just evaluated in a different way, it is not an actual change of the grid or the resolution. Yes, the best way to do de-aliasing is by interpolating to a finer grid, doing the non-linear evaluations there and projecting back, but that is not a grid change / resolution change. On a grid of spacing h, the waves that can be represented are kc=pi/h. The solution of the PDE is represented on this grid, and only the modes on this grid are filled. The de-aliasing might be done on an intermediate fine grid, but it is - in my opinion - not a fair comparison to count the intermediate grid as the solution grid. What you are saying is that the de-aliasing increases the degrees of freedom one needs to resolve a wave. I disagree. The de-aliasing needs additional information do to its job, I agree. But e.g. a simple second order reconstruction ALSO introduces new DOF (and WENO even more) that you need to get the properties of your scheme. In that sense I could argue that a higher order FV also creates additional DOF (the slopes, or the WENO weights) during its process, so the total number of DOF to represent a wave would not only be the centroids, but the reconstruction DOF as well. This might be bit of a philosophical discussion, but let's be fair to spectral methods |
|
May 25, 2014, 12:28 |
|
#17 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
To tell the truth, I am not sure about your observation.... how do you manage the de-aliasing if you want that all components until kc=pi/h are cleared but without affecting them by the de-aliasing? This is particular relevant for LES when the SGS model has "as input" the resolved field...
|
|
May 25, 2014, 22:10 |
|
#18 | |
Senior Member
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 14 |
Quote:
|
||
May 26, 2014, 10:36 |
|
#19 | |
Senior Member
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 14 |
Quote:
Ummm,sorry for the wrong calculation. E is not equals to 192*129*160,but should divided by 7^3,so the memory should be about 18 GB |
||
May 26, 2014, 10:47 |
|
#20 |
Senior Member
|
Dear Huang,
a very rough estimate for your case leads me to 14 GBytes of memory required when using the typical number N=16 for the local polynomial degree (or number of points, i don't remember now but it is ininfluential). Indeed, roughly speaking: N=16 -> E = (192/16)*(128/16)*(160/16) you have to compare the same case with the same number of degrees of freedom. |
|
Tags |
dns |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFD Design...The CFD Future | John C. Chien | Main CFD Forum | 20 | November 20, 2015 00:40 |
CFD code structure (F90) | ma | Main CFD Forum | 4 | January 10, 2005 21:47 |
Design Integration with CFD? | John C. Chien | Main CFD Forum | 19 | May 17, 2001 16:56 |
CFD for fans & blower housings | David Carroll | Main CFD Forum | 8 | August 24, 2000 18:25 |
Which is better to develop in-house CFD code or to buy a available CFD package. | Tareq Al-shaalan | Main CFD Forum | 10 | June 13, 1999 00:27 |