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

Turbulent Jet

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 21, 2017, 11:44
Default Turbulent Jet
  #1
Senior Member
 
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 10
selig5576 is on a distinguished road
I am interested in simulating turbulent jets with a 3D solver I've been working on. I was curious if anyone has suggestions on what I should use as an inlet condition. So far I'm using Gaussian noise where my standard deviation is equal to the maximum velocity. I am also setting u, v, w, p = 0 for my initial condition. I am using no-slip everywhere except the inlet and outlet. Does anyone have suggestions on some an inlet condition?
Attached Images
File Type: png Domain.png (3.0 KB, 20 views)
selig5576 is offline   Reply With Quote

Old   September 21, 2017, 12:04
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 suppose you are working with an incompressible formulation, therefore you cannot simulate the pysical transient from the rest.
At the first time step the flow immediately accomodate for the balance between inflow and outflow and the divergence-free constraint in the interior. That means you have to wait that the solution forgets the initial condition to get a physically correlated flow condition. Therefore, don't worry too much about the initial condition.
selig5576 likes this.
FMDenaro is offline   Reply With Quote

Old   September 21, 2017, 14:42
Default
  #3
Senior Member
 
Timofey Mukha
Join Date: Mar 2012
Location: Stockholm, Sweden
Posts: 118
Rep Power: 14
tiam is on a distinguished road
What type of simulation are you doing, LES or RANS? Is the incoming flow turbulent or laminar?


Sent from my iPhone using CFD Online Forum mobile app
tiam is offline   Reply With Quote

Old   September 22, 2017, 14:28
Default Jet parameters
  #4
Senior Member
 
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 10
selig5576 is on a distinguished road
So far I have not implemented any turbulence models (RANS or LES). I want to start with a simple jet. Should I expect it to take awhile for the jet to form given my initial condition for my velocities are 0 however my inlet is just noise. Just to confirm, u, v, w = 0 except the outlet, is that the correct set of BCs?
selig5576 is offline   Reply With Quote

Old   September 22, 2017, 14:39
Default
  #5
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
If you have a good fine grid, you can work in a DNS formulation just setting a parabolic inlet profile (laminar inflow) and let the transition of the jet along x (that is for increasing Re_x). You need a sufficient lenght of the domain and have to wait a physical correlation of the velocity.
FMDenaro is offline   Reply With Quote

Old   September 24, 2017, 12:41
Default Inlet condition
  #6
Senior Member
 
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 10
selig5576 is on a distinguished road
I have also reached the conclusion that a parabolic inlet profile is good. Is the following parabolic profile sufficient? (X = left, right, Y = front, back, Z = top, bottom)

Code:
for (int i=0; i < nx; i++)
{
  for (int k=0; k < nz; k++)
  {
    u[i][0][k] = y[i][0][k]*(2.0 - y[i][0][k])
  }
}
In other words

u_{i,0,k} = y_{i,0,k} \left(2 - y_{i,0,k}\right)
selig5576 is offline   Reply With Quote

Old   September 24, 2017, 13:08
Default
  #7
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
You need the inlet solution coming from a pipe flow, not a 2D channel
FMDenaro is offline   Reply With Quote

Old   September 24, 2017, 14:56
Default Inlet BC (correction)
  #8
Senior Member
 
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 10
selig5576 is on a distinguished road
Much apologies about that, what I meant to say was

Code:
for (int i=60; i < 80; i++)
{
  for (int k=60; k < 80; k++)
  {
    u[i][0][k] = y[i][0][k]*(2.0 - y[i][0][k])
  }
}
Essentially I define my inlet (in terms of the grid) to be a square shaped pipe. Is a square pipe that is 20 x 20 points sufficient in side, for now? I am running nx = 140, ny = 280, nz = 140 for testing purposes.
selig5576 is offline   Reply With Quote

Old   September 24, 2017, 15:09
Default
  #9
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 selig5576 View Post
Much apologies about that, what I meant to say was

Code:
for (int i=60; i < 80; i++)
{
  for (int k=60; k < 80; k++)
  {
    u[i][0][k] = y[i][0][k]*(2.0 - y[i][0][k])
  }
}
Essentially I define my inlet (in terms of the grid) to be a square shaped pipe. Is a square pipe that is 20 x 20 points sufficient in side, for now? I am running nx = 140, ny = 280, nz = 140 for testing purposes.

if the inlet is a duct with squared section, the solution is not that of circular pipe or plane channel... you have to solve the equation

Lap u = Re*dp/dx
u= 0 on the boundaries of the duct
FMDenaro is offline   Reply With Quote

Old   September 24, 2017, 15:17
Default Inlet BC
  #10
Senior Member
 
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 10
selig5576 is on a distinguished road
You are 100% correct. If my paper work is right I should have

Code:
r = sqrt(pow((x[i][0][k] - 50),2.0) + pow((z[i][0][k] - 50,2.0))

if ( r < radius)
{
u[i][0][k] = y[i][0][k]*(2.0 - y[i][0][k]);
}
This should ensure a circular pipe like profile.

To put it more cleanly,

r = \sqrt{(x_{i,0,k} - r_{a})^{2} + (z_{i,0,k} - r_{b})^{2}}
selig5576 is offline   Reply With Quote

Old   September 24, 2017, 15:30
Default
  #11
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
But you do not have a circular pipe...the 2d profile in a squared section is quite different.
Here you can find the solution
https://books.google.it/books?hl=it&...20duct&f=false
FMDenaro is offline   Reply With Quote

Old   September 26, 2017, 13:04
Default Strange problem
  #12
Senior Member
 
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 10
selig5576 is on a distinguished road
So, I decided to change my test for the round jet as its more related to what I need to do. As such,

Code:
for (int i=0; i < nx; i++)
{
      for (int k=0; k < nz; k++)
      {
           round_jet = sqrt((X[i][0][k]-0.5)*(X[i][0][k]-0.5) + (Z[i][0][k]-0.5)*(Z[i][0][k]-0.5));

           if (round_jet < 0.08)
           {
               u[i][0][k] = 1;
           }
      }
}
Even though I'm setting the u-velocity to be 1, I should still get a jet, however I get this weird problem. For some reason I get this build up by the outlet and it ultimately "kills" the development of my jet. Even after 10k time steps, the jet starts going to the side (??). I've also tried gaussian noise and I get the same result of the jet not forming.....
Attached Images
File Type: jpg Jet1.jpg (67.0 KB, 21 views)
File Type: jpg Jet2.jpg (65.3 KB, 19 views)
selig5576 is offline   Reply With Quote

Old   September 26, 2017, 13:52
Default
  #13
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 are you plotting....
Start debugging the first time step, check if the flow rate in inlet is equal to that at the outlet, check the continuity in the interior.
Plot the 1D sections of the inlet profile.
FMDenaro is offline   Reply With Quote

Old   September 26, 2017, 15:10
Default Clarification
  #14
Senior Member
 
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 10
selig5576 is on a distinguished road
The plots I attached are that of the u-velocity from a top perspective and a rotated perspective. I will double check the inlet and outlet. On a side note, for visualization, should I be plotting the magnitude of the velocities? Thanks!
selig5576 is offline   Reply With Quote

Old   September 30, 2017, 19:58
Default
  #15
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 selig5576 View Post
The plots I attached are that of the u-velocity from a top perspective and a rotated perspective. I will double check the inlet and outlet. On a side note, for visualization, should I be plotting the magnitude of the velocities? Thanks!
At the inlet plane the u velocity or the magnitude are the same. Plot the isovalue lines of the velocity over the inlet plane
FMDenaro is offline   Reply With Quote

Old   October 4, 2017, 15:12
Default Jet formulation
  #16
Senior Member
 
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 10
selig5576 is on a distinguished road
So after a few days of working on this problem. I have the following findings. With a parabolic inlet profile I have a problem where the jet does not fully form. What I mean is it starts expanding in terms of the radius of the jet, but not the length of the jet. I have been checking my conservation of mass and it is on the order of 1e-7.
Attached Images
File Type: jpg Jet01.jpg (28.4 KB, 9 views)
File Type: jpg Jet02.jpg (28.7 KB, 7 views)
File Type: jpg Jet03.jpg (30.5 KB, 9 views)
File Type: jpg Jet04.jpg (28.9 KB, 8 views)
File Type: jpg Jet05.jpg (30.9 KB, 6 views)
selig5576 is offline   Reply With Quote

Old   October 4, 2017, 15:25
Default
  #17
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
And do you get a steady state solution with the jet not entering in the domain?
FMDenaro is offline   Reply With Quote

Old   October 5, 2017, 12:43
Default Jet formation
  #18
Senior Member
 
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 10
selig5576 is on a distinguished road
I am of the understanding I should change the inlet to u = 0 so the solution is appropriately contained in the domain?
selig5576 is offline   Reply With Quote

Old   October 5, 2017, 12:47
Default
  #19
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 selig5576 View Post
I am of the understanding I should change the inlet to u = 0 so the solution is appropriately contained in the domain?

No, I wonder what happens just after 1 time step and if you have a flow rate in outlet. Then plot in the plane yz the contour of the u velocity to understand if the inlet profile is correct.
FMDenaro is offline   Reply With Quote

Old   October 5, 2017, 14:34
Default Jet
  #20
Senior Member
 
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 10
selig5576 is on a distinguished road
Dr. Denaro, my jet profile at t = 1.0 is attached. My inlet profile is

Code:
for (int i=0; i < nx; i++)
    {
        for (int k=0; k < nz; k++)
        {
            round_jet[i][0][k] = sqrt((X[i][0][k]-1.0)*(X[i][0][k]-1.0) + (Z[i][0][k]-1.0)*(Z[i][0][k]-1.0));

            if (round_jet[i][0][k] < 0.05)
            {
                u[i][0][k] = X[i][0][k]*(5.0 - X[i][0][k]);
            }
        }
    }
Attached Images
File Type: png Test.png (13.5 KB, 6 views)
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
Problem with divergence TDK FLUENT 13 December 14, 2018 06:00
LES of Turbulent Jet knuckles OpenFOAM Running, Solving & CFD 1 March 31, 2016 19:33
turbulent jet ramo Main CFD Forum 1 September 4, 2005 07:43
Modelling a turbulent jet and k-epsilon constants Ant Siemens 3 January 24, 2005 15:56
Turbulent Intensity good or bad for a jet Christian Main CFD Forum 0 November 19, 2003 05:47


All times are GMT -4. The time now is 18:12.