|
[Sponsors] |
September 21, 2017, 12:44 |
Turbulent Jet
|
#1 |
Senior Member
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 11 |
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?
|
|
September 21, 2017, 13:04 |
|
#2 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
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. |
|
September 21, 2017, 15:42 |
|
#3 |
Senior Member
Timofey Mukha
Join Date: Mar 2012
Location: Stockholm, Sweden
Posts: 119
Rep Power: 14 |
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 |
|
September 22, 2017, 15:28 |
Jet parameters
|
#4 |
Senior Member
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 11 |
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?
|
|
September 22, 2017, 15:39 |
|
#5 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
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.
|
|
September 24, 2017, 13:41 |
Inlet condition
|
#6 |
Senior Member
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 11 |
||
September 24, 2017, 14:08 |
|
#7 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
You need the inlet solution coming from a pipe flow, not a 2D channel
|
|
September 24, 2017, 15:56 |
Inlet BC (correction)
|
#8 |
Senior Member
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 11 |
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]) } } |
|
September 24, 2017, 16:09 |
|
#9 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
Quote:
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 |
||
September 24, 2017, 16:17 |
Inlet BC
|
#10 |
Senior Member
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 11 |
||
September 24, 2017, 16:30 |
|
#11 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
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 |
|
September 26, 2017, 14:04 |
Strange problem
|
#12 |
Senior Member
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 11 |
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; } } } |
|
September 26, 2017, 14:52 |
|
#13 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
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. |
|
September 26, 2017, 16:10 |
Clarification
|
#14 |
Senior Member
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 11 |
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!
|
|
September 30, 2017, 20:58 |
|
#15 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
At the inlet plane the u velocity or the magnitude are the same. Plot the isovalue lines of the velocity over the inlet plane
|
|
October 4, 2017, 16:12 |
Jet formulation
|
#16 |
Senior Member
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 11 |
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.
|
|
October 4, 2017, 16:25 |
|
#17 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
And do you get a steady state solution with the jet not entering in the domain?
|
|
October 5, 2017, 13:43 |
Jet formation
|
#18 |
Senior Member
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 11 |
I am of the understanding I should change the inlet to u = 0 so the solution is appropriately contained in the domain?
|
|
October 5, 2017, 13:47 |
|
#19 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
Quote:
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. |
||
October 5, 2017, 15:34 |
Jet
|
#20 |
Senior Member
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 11 |
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]); } } } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with divergence | TDK | FLUENT | 13 | December 14, 2018 07:00 |
LES of Turbulent Jet | knuckles | OpenFOAM Running, Solving & CFD | 1 | March 31, 2016 20:33 |
turbulent jet | ramo | Main CFD Forum | 1 | September 4, 2005 08:43 |
Modelling a turbulent jet and k-epsilon constants | Ant | Siemens | 3 | January 24, 2005 16:56 |
Turbulent Intensity good or bad for a jet | Christian | Main CFD Forum | 0 | November 19, 2003 06:47 |