|
[Sponsors] |
September 20, 2016, 14:34 |
Isotropic turbulence by DNS using FVM
|
#1 |
New Member
Prakash
Join Date: Jan 2015
Posts: 14
Rep Power: 11 |
I am trying to validate some of the statistics in isotropic turbulence by DNS. I am using Finite volume method, where the inviscid and viscous fluxes at the faces are interpolated by symmetric average.
I am getting a negative pressure which leads to NaN after certain iterations. What could be the problem ? I am stuck for more than a week, someone please suggest me something. Thanks |
|
September 20, 2016, 14:58 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Quote:
for incompressible flows, negative pressure values mean nothing (only the gradient is present in the momentum equation) and cannot be the reason for your problem... I think you get into numerical instability so you have to check if you satisfy the stability requirement that you discretization implies. |
||
September 20, 2016, 17:52 |
|
#3 |
Senior Member
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25 |
Is your mesh structured or unstructured? Collated or staggered? How are you evaluating your pressure terms? If you are using collated pressure/velocity grids, you MUST use Rhie-Chow to implement the pressure (correction) equation. Is your formulation fractional step or SIMPLE/PISO?
Also simple face averaging to construct convective terms is a very unstable formulation. Though it does minimize artificial diffusion on evenly space meshes, it does lead to instabilities arising from characteristic/information flow directions. Upwind convection terms are chosen to match the natural flow of information downstream. If you are going to violate that, you really need to know what you are doing. |
|
September 20, 2016, 18:07 |
|
#4 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Quote:
well, in case of DNS that's not a problem....as the scale between convection and diffusion must be comparable on the size of the DNS grid, you work at cell Reynolds number O(1). In this case, also the FTCS can work (it is unconditionally unstable only for the inviscid case), provided that your computational parameters fulfill the numerical stability constraints. However, I agree that we need further details to understand better the issue. |
||
September 21, 2016, 01:22 |
|
#5 |
New Member
Prakash
Join Date: Jan 2015
Posts: 14
Rep Power: 11 |
I am sorry for not mentioning it earlier. I am solving 3-D compressible Navier-Stokes equation, with Reynolds No. 515... My domain L * B * H with L = B = H = 1.54E-4... I am using structured, collated grids with no. of grids = 96**3.. I am using 4th order R-K time stepping to march in time.
Pressure is calculated from P = (gamma - 1)*(rho* E - 0.5*rho*V**2) P = Pressure rho = density E = int.energy + K.E V = Velocity vector |
|
September 21, 2016, 01:42 |
|
#6 |
Senior Member
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25 |
Is this density-based or pressure-based solver? If you are using RK4, I'd assume density based.
In either case, you need to use Rhie-Chow to turn the pressure differences between cell pairs into mass fluxes on the faces. Collocated meshes require special treatment of the pressure terms to avoid pressure/density/velocity decoupling. Are you seeing checkerboard pressure patterns prior to the NaNs? If so, this is likely the problem. |
|
September 21, 2016, 04:16 |
|
#7 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Your case is a very low-Mach problem, do you use some preconditioner or special low-Mach formulation?
|
|
September 21, 2016, 09:47 |
|
#8 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Quote:
I forgot a relevant question ...is your Re number based on lambda (the Taylor microscale)? Be carefull, your grid resolution could be not sufficient to work in a real DNS. |
||
September 29, 2016, 08:07 |
|
#9 |
New Member
Prakash
Join Date: Jan 2015
Posts: 14
Rep Power: 11 |
I tested the solver with Mt = 0.1 and it works well but not with 0.3. I think its a problem with scheme (Symmetric avg)
|
|
September 29, 2016, 08:12 |
|
#10 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
||
October 3, 2016, 01:30 |
|
#11 |
New Member
Prakash
Join Date: Jan 2015
Posts: 14
Rep Power: 11 |
I am validating the results by my colleagues who did with 96**3 grid points, turbulent Mach No. (Mt = 0.3) and scheme used were spectral by one person and 5th order WENO for inviscid and central difference for viscous flux by other person.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Turbulence postprocessing | Mohsin | FLUENT | 2 | October 3, 2016 15:18 |
Displaying Turbulence Intensity in LES and creating a constant Turbulence Intensity | Anwer | FLUENT | 1 | August 8, 2016 17:59 |
Turbulence dissipation in DNS or LES | sharonyue | Main CFD Forum | 2 | July 28, 2015 04:04 |
Isotropic turbulence | Krishna Rani | Main CFD Forum | 1 | June 20, 2008 16:13 |
Isotropic homogenous turbulence. | Cool Joe. | Main CFD Forum | 4 | August 1, 2004 18:15 |