CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Isotropic turbulence by DNS using FVM

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 20, 2016, 13:34
Default Isotropic turbulence by DNS using FVM
  #1
New Member
 
Prakash
Join Date: Jan 2015
Posts: 14
Rep Power: 11
prak_1989 is on a distinguished road
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
prak_1989 is offline   Reply With Quote

Old   September 20, 2016, 13:58
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,781
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by prak_1989 View Post
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

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.
FMDenaro is offline   Reply With Quote

Old   September 20, 2016, 16:52
Default
  #3
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
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.
mprinkey is offline   Reply With Quote

Old   September 20, 2016, 17:07
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,781
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by mprinkey View Post
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.

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.
FMDenaro is offline   Reply With Quote

Old   September 21, 2016, 00:22
Default
  #5
New Member
 
Prakash
Join Date: Jan 2015
Posts: 14
Rep Power: 11
prak_1989 is on a distinguished road
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
prak_1989 is offline   Reply With Quote

Old   September 21, 2016, 00:42
Default
  #6
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
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.
mprinkey is offline   Reply With Quote

Old   September 21, 2016, 03:16
Default
  #7
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,781
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Your case is a very low-Mach problem, do you use some preconditioner or special low-Mach formulation?
FMDenaro is offline   Reply With Quote

Old   September 21, 2016, 08:47
Default
  #8
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,781
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by prak_1989 View Post
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

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.
FMDenaro is offline   Reply With Quote

Old   September 29, 2016, 07:07
Default
  #9
New Member
 
Prakash
Join Date: Jan 2015
Posts: 14
Rep Power: 11
prak_1989 is on a distinguished road
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)
prak_1989 is offline   Reply With Quote

Old   September 29, 2016, 07:12
Default
  #10
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,781
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by prak_1989 View Post
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)

I would assume that an increasing in the Mach number corresponds to an increasing in the Reynolds number. Do you have enough grid points?
FMDenaro is offline   Reply With Quote

Old   October 3, 2016, 00:30
Default
  #11
New Member
 
Prakash
Join Date: Jan 2015
Posts: 14
Rep Power: 11
prak_1989 is on a distinguished road
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.
prak_1989 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Turbulence postprocessing Mohsin FLUENT 2 October 3, 2016 14:18
Displaying Turbulence Intensity in LES and creating a constant Turbulence Intensity Anwer FLUENT 1 August 8, 2016 16:59
Turbulence dissipation in DNS or LES sharonyue Main CFD Forum 2 July 28, 2015 03:04
Isotropic turbulence Krishna Rani Main CFD Forum 1 June 20, 2008 15:13
Isotropic homogenous turbulence. Cool Joe. Main CFD Forum 4 August 1, 2004 17:15


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