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

Boundary Conditions for Turbulent Flat plate

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 2 Post By FMDenaro
  • 2 Post By sbaffini

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 28, 2017, 14:40
Default Boundary Conditions for Turbulent Flat plate
  #1
New Member
 
Aranya Dan
Join Date: Oct 2017
Posts: 19
Rep Power: 8
crazyshock is on a distinguished road
Hi,
I am trying to validate my 2d NS code (WENO5) by simulating flow over a flat plate.
These are my Boundary conditions (i am using non dimensional variables):

Inlet:
\rho(1,:)=1,\ u(1,:)=1,\ v(1,:)=0,\ E(1,:)=\frac{1}{\gamma-1}+\frac{1}{2}

Upper Boundary condition:
\rho(:,yend)=1,\ u(:,yend)=1,\ v(:,yend)=0,\ E(:,yend)=\frac{1}{\gamma-1}+\frac{1}{2}

Lower Boundary Condition (Reflection):
u(x,1)=u(x,2)\ if\ x<x_{LE}
u(x,1)=-u(x,2),\ for\ x>x_{LE}
v(:,1)=-v(:,2),\ E(:,1)=E(:,2),\ \rho(:,1)=\rho(:,2)

Outlet Boundary Conditions:
u/v/\rho/E(xend,:)=u/v/\rho/E(xend-1,:)


I am getting erreneous results using these conditions. Can somebody please verify if these are correct?

I took these boundary conditions from MacCormak's paper (A Numerical Method for Solving the Equations of Compressible Viscous Flow)


Note: For energy expression at boundary, p=rho=u=1,\ v=0 so it reduces to \frac{1}{\gamma-1}+\frac{1}{2}
Attached Images
File Type: png u_velocity000025.png (29.2 KB, 28 views)
crazyshock is offline   Reply With Quote

Old   November 28, 2017, 15:14
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
I don't understand what you are doing... that is a 2D RANS simulation of a developing turbulent BL??
FMDenaro is offline   Reply With Quote

Old   November 28, 2017, 15:19
Default
  #3
New Member
 
Aranya Dan
Join Date: Oct 2017
Posts: 19
Rep Power: 8
crazyshock is on a distinguished road
No I am solving just the compressible Navier Stokes equations with no turbulence models. Since i am using the conservative form, the variables i am using are rho, u, v and E (total energy). Stating turbulent BL on the topic name might have been a misnomer. This is just a simple DNS solution I am going for.
crazyshock is offline   Reply With Quote

Old   November 28, 2017, 15:32
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by crazyshock View Post
No I am solving just the compressible Navier Stokes equations with no turbulence models. Since i am using the conservative form, the variables i am using are rho, u, v and E (total energy). Stating turbulent BL on the topic name might have been a misnomer. This is just a simple DNS solution I am going for.

What you are doing makes no sense. With a 2D NS code, you can only simulate the laminar zone of the developing BL. That means you can solve until Rex<O(10^5). But you need a refined grid such to resolve the thickness delta(x).
FMDenaro is offline   Reply With Quote

Old   November 28, 2017, 15:35
Default
  #5
New Member
 
Aranya Dan
Join Date: Oct 2017
Posts: 19
Rep Power: 8
crazyshock is on a distinguished road
I see, then i am just solving for the laminar zone with a Re of 100. Please ignore the turbulent part. I just want to validate this thing and get it over with
crazyshock is offline   Reply With Quote

Old   November 28, 2017, 15:40
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
In solving the low-Mach flow using a compressible flow solver, you must be aware of:
1) the problem is stiff in the limit M->0
2) for subsonic flow you need to prescribe correct inflow/outflow condition according to the characteristic direction. You have to let free one condition in inflow and you have to set one condition in outflow.

Be also careful to the upper conditions, the normal component velocity is zero only asymptotically
sbaffini and crazyshock like this.
FMDenaro is offline   Reply With Quote

Old   November 29, 2017, 03:28
Default
  #7
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,152
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Quote:
Originally Posted by FMDenaro View Post
In solving the low-Mach flow using a compressible flow solver, you must be aware of:
1) the problem is stiff in the limit M->0
2) for subsonic flow you need to prescribe correct inflow/outflow condition according to the characteristic direction. You have to let free one condition in inflow and you have to set one condition in outflow.

Be also careful to the upper conditions, the normal component velocity is zero only asymptotically
I can only confirm Filippo's doubts. In particular:

1) You are using fully supersonic bcs at both inlet and outlet.
2) Your domain seems to be square. Give this BL some space

For what concerns the MacCormak's method, you need to verify that it is well suited for your case (I also suspect that for M->0 that might not be the case).

However, your solution doesn't appear to be qualitatively wrong.
FMDenaro and crazyshock like this.
sbaffini is offline   Reply With Quote

Old   November 29, 2017, 07:02
Default
  #8
New Member
 
Aranya Dan
Join Date: Oct 2017
Posts: 19
Rep Power: 8
crazyshock is on a distinguished road
Thank you so much for the inputs. So the method I am going to go with is to ask my professor to provide the BCs he used in his code validatons
crazyshock is offline   Reply With Quote

Old   November 29, 2017, 11:56
Default Some thoughts
  #9
Senior Member
 
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 10
selig5576 is on a distinguished road
I am by no means an expert as Dr. Denaro is, however from my *very limited* experience with compressible flows, the AUSM+ scheme is quite nice. It provides accurate numerical solutions in the presence of shocks (when compared to MacCormack). AUSM+ coupled with WENO5 should then provide a very accurate solution.
selig5576 is offline   Reply With Quote

Reply


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
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 01:27
Compressible Flat Plate with coupled hydrodynamic/thermal boundary layer Obad OpenFOAM Pre-Processing 0 September 14, 2016 14:45
Flat Plate Boundary Layer Height kennedy1992 Fidelity CFD 7 February 24, 2016 04:45
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 14:32


All times are GMT -4. The time now is 04:40.