CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

The problems about the turbulentDFSEMinlet method for non-reacting jet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 18, 2019, 13:30
Default The problems about the turbulentDFSEMinlet method for non-reacting jet
  #1
New Member
 
lgz
Join Date: Apr 2019
Posts: 4
Rep Power: 7
xgyn is on a distinguished road
Hi,

I have run a non-reacting case with the initial turbulent inlet boundary condition which was created by the turbulentDFSEM method. However, the results there are no velocity fluctuation (u') in the streamline. I don't know how to deal with this problem.

I would appreciate any help on this matter. Thanks in advance! The cases including the files: 0/ were attached.

The turbulentDFSEMinlet was introduced in this website:
https://www.openfoam.com/releases/op...conditions.php
Attached Files
File Type: zip 0.zip (65.6 KB, 36 views)
xgyn is offline   Reply With Quote

Old   January 27, 2020, 05:23
Default
  #2
Member
 
Marc
Join Date: May 2017
Posts: 42
Rep Power: 9
Dreoasteh is on a distinguished road
Maybe it's a bit late but the line:

Code:
L        uniform 0;
In your 0/U file defines the lengthscale of your incomming eddies as zero - so there will be no turbulence!


If you used a precursor RANS simulation there are correlations to obtain L from you data. For example for a k-\omega simulation you have that:

L=C_{\nu}^{-1/4}\frac{\sqrt{k}}{\omega}


You can find similar correlations for the model you employed. If you didn't get that data from a precursor RANS, I would suggest looking a two-point correlations to obtain L.
Dreoasteh is offline   Reply With Quote

Old   May 20, 2020, 17:19
Default
  #3
New Member
 
Xiangjie Wang
Join Date: Jul 2019
Posts: 26
Rep Power: 7
XJ_Wang is on a distinguished road
Hi Marc,

I encountered the same problem.

Could you please give me some suggestions on how to do the RANS precursor simulation?

I set turbulentDFSEMInlet as my inlet velocity.




My computational domain is a wind tunnel with a 50(streamwise)*27.5(width)*22.5(height).

I have run my simulation with a uniform velocity inlet and the results showed that it could work. But when I changed my inlet boundary condition of U, it couldn't.

After inputing blockMesh and decomposePar, I input:
mpirun -np 12 pisoFoam -parallel.
But it was stuck at the first time step, which showed:
Time = 0.005
Courant Number mean: 0 max: 0


In my simulation, the simulation type is RAS, RAS model is KEpsilon.

I only defined the mean velocity profile in ./constant/boundaryData/inlet directory, and for R and L, I set them to a fixed value.
This is how my inlet boundary of U looks like:

inlet
{
type turbulentDFSEMInlet;
delta 12;
nCellPerEddy 1;
d 1;
R uniform (0.5 0.1 0.1 0.03 0.01 0.01);
L uniform 0.005;
mapMethod nearestCell;
value $internalField;
}


I will appreciate it if you can give me some suggestions!

Thanks!
Xiangjie
XJ_Wang is offline   Reply With Quote

Old   July 20, 2023, 14:57
Default turbulentDFSEMInlet gets stuck
  #4
New Member
 
Alireza Maleki
Join Date: Aug 2017
Location: United State
Posts: 20
Rep Power: 9
alireza94 is on a distinguished road
Quote:
Originally Posted by XJ_Wang View Post
Hi Marc,

I encountered the same problem.

Could you please give me some suggestions on how to do the RANS precursor simulation?

I set turbulentDFSEMInlet as my inlet velocity.




My computational domain is a wind tunnel with a 50(streamwise)*27.5(width)*22.5(height).

I have run my simulation with a uniform velocity inlet and the results showed that it could work. But when I changed my inlet boundary condition of U, it couldn't.

After inputing blockMesh and decomposePar, I input:
mpirun -np 12 pisoFoam -parallel.
But it was stuck at the first time step, which showed:
Time = 0.005
Courant Number mean: 0 max: 0


In my simulation, the simulation type is RAS, RAS model is KEpsilon.

I only defined the mean velocity profile in ./constant/boundaryData/inlet directory, and for R and L, I set them to a fixed value.
This is how my inlet boundary of U looks like:

inlet
{
type turbulentDFSEMInlet;
delta 12;
nCellPerEddy 1;
d 1;
R uniform (0.5 0.1 0.1 0.03 0.01 0.01);
L uniform 0.005;
mapMethod nearestCell;
value $internalField;
}


I will appreciate it if you can give me some suggestions!

Thanks!
Xiangjie

Hi Wang,

It is late, but I have the same problem, it just got stuck in the first iteration and even it does not start making the turbulence and solving the velocity equation.
my simulation is a LES and I gave the R, L, and U, and I'm using the turbulentDFSEMInlet with the following setup

PHP Code:
    inlet
    
{
        
type            turbulentDFSEMInlet;
        
delta           0.0762;   // 0.0762(building width)   typically represents the characteristic scale of flow or flow domain
        
    
        
U
        
{
            
type        mappedFile;
            
mapMethod   nearest;
        }
        
R
        
{
            
type        mappedFile;
            
mapMethod   nearest;
        }
        
L
        
{
            
type        mappedFile;
            
mapMethod   nearest;
        }
        
        

        
d               1;
        
nCellPerEddy    3;   // should be 3 to 5
        
scale           1;
        
value           $internalField;
        
m                 0.333333333333// 0.3333 lead to a nondimensional c1 in Eq. 11
    

Another issue is that I'm getting the following warner as well that I don't know the problem of the turbulence generator caused by that or not!

PHP Code:
Reynolds stress (0.50486214 0.50627394 0.61918657 -0.086360121 0.093858697 -0.042078017at index 0 does not obey the constraintRxx*Ryy sqr(Rxy) >= 
alireza94 is offline   Reply With Quote

Old   July 20, 2023, 15:35
Default
  #5
New Member
 
Xiangjie Wang
Join Date: Jul 2019
Posts: 26
Rep Power: 7
XJ_Wang is on a distinguished road
Hi Alireza,

I guess you have found out how to solve the problem. You are using an old version of Openfoam, am I right?


Quote:
Originally Posted by alireza94 View Post
Hi Wang,

It is late, but I have the same problem, it just got stuck in the first iteration and even it does not start making the turbulence and solving the velocity equation.
my simulation is a LES and I gave the R, L, and U, and I'm using the turbulentDFSEMInlet with the following setup

PHP Code:
    inlet
    
{
        
type            turbulentDFSEMInlet;
        
delta           0.0762;   // 0.0762(building width)   typically represents the characteristic scale of flow or flow domain
        
    
        
U
        
{
            
type        mappedFile;
            
mapMethod   nearest;
        }
        
R
        
{
            
type        mappedFile;
            
mapMethod   nearest;
        }
        
L
        
{
            
type        mappedFile;
            
mapMethod   nearest;
        }
        
        

        
d               1;
        
nCellPerEddy    3;   // should be 3 to 5
        
scale           1;
        
value           $internalField;
        
m                 0.333333333333// 0.3333 lead to a nondimensional c1 in Eq. 11
    

Another issue is that I'm getting the following warner as well that I don't know the problem of the turbulence generator caused by that or not!

PHP Code:
Reynolds stress (0.50486214 0.50627394 0.61918657 -0.086360121 0.093858697 -0.042078017at index 0 does not obey the constraintRxx*Ryy sqr(Rxy) >= 
XJ_Wang is offline   Reply With Quote

Old   July 20, 2023, 16:22
Default
  #6
New Member
 
Alireza Maleki
Join Date: Aug 2017
Location: United State
Posts: 20
Rep Power: 9
alireza94 is on a distinguished road
Quote:
Originally Posted by XJ_Wang View Post
Hi Alireza,

I guess you have found out how to solve the problem. You are using an old version of Openfoam, am I right?
No, indeed I'm using the openFoam 2212, but still I have this problem!
alireza94 is offline   Reply With Quote

Old   July 20, 2023, 16:24
Default
  #7
New Member
 
Xiangjie Wang
Join Date: Jul 2019
Posts: 26
Rep Power: 7
XJ_Wang is on a distinguished road
Then the Reynold stress tensor might not be correct or pyhsical. You can check the source code and find the corresponding line then you can substitute your reynold tensor to that code.

Quote:
Originally Posted by alireza94 View Post
No, indeed I'm using the openFoam 2212, but still I have this problem!
XJ_Wang is offline   Reply With Quote

Reply

Tags
turbulent boundary


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
Low temp. (~ 300 K) turb. jet & JANAF problems bart_weisser OpenFOAM Running, Solving & CFD 0 February 11, 2010 19:50
Problems with ansys 12 multizone method jflacerda ANSYS Meshing & Geometry 2 November 19, 2009 12:31
Jet penetration problems Ahmad CFX 6 May 6, 2006 12:51
Solution method for transient problems Roberto Ciardulli Siemens 10 November 28, 2000 05:38
Has the pressure correction method problems? X. Ye Main CFD Forum 17 September 1, 1999 17:14


All times are GMT -4. The time now is 17:15.