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

Non uniform Turbulence intensity at the inlet

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 15, 2016, 02:03
Default Non uniform Turbulence intensity at the inlet
  #1
Member
 
Mujahid Badshah
Join Date: Oct 2015
Posts: 32
Rep Power: 10
mujahidbadshah is on a distinguished road
Hi all,
I want to specify a non uniform turbulence intensity at the inlet boundary conditions. I have a two columns csv file. The first column represent the depth and the second the turbulence intensity.
"Can I use this csv file of depth versus Turbulence intensity directly? Please tell me the procedure in the CFX? and what is the variable name to be used in the CFX user expression for turbulence intensity?
mujahidbadshah is offline   Reply With Quote

Old   May 15, 2016, 06:59
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You can set turbulence intensity at inlets. It does not have a native CFX variable, it is a derived variable - so when you define turbuelnce intensity at the inlet it is converted to k and e/w.

To apply you data put your data into a 1D interpolation function, and use that function as the turbulence intensity input variable at your inlet.
ghorrocks is offline   Reply With Quote

Old   May 15, 2016, 07:01
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I have just seen this post is essentially the same as this post: http://www.cfd-online.com/Forums/cfx...ndary-cfx.html

Please do not post duplicate posts. It wastes everybody's time.
ghorrocks is offline   Reply With Quote

Old   May 15, 2016, 07:38
Default
  #4
Member
 
Mujahid Badshah
Join Date: Oct 2015
Posts: 32
Rep Power: 10
mujahidbadshah is on a distinguished road
Thanks for the reply. I will avoid duplicating threads in the future. Can you please tell me what should be the variable name that I should use for the turbulence intensity in the csv file. I have tried the variable name fractional intensity but it gives me error.
Thanking in anticipation.
mujahidbadshah is offline   Reply With Quote

Old   May 15, 2016, 08:10
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You do not use CSV files to set up 1D interpolation functions. Have a look at the CFX documentation or tutorials for a description of how to set them up.
ghorrocks is offline   Reply With Quote

Old   May 15, 2016, 09:27
Default
  #6
Member
 
Mujahid Badshah
Join Date: Oct 2015
Posts: 32
Rep Power: 10
mujahidbadshah is on a distinguished road
Thanks a lot. I will read the documentation and then discuss.
mujahidbadshah is offline   Reply With Quote

Old   May 15, 2016, 11:08
Default
  #7
Member
 
Mujahid Badshah
Join Date: Oct 2015
Posts: 32
Rep Power: 10
mujahidbadshah is on a distinguished road
I have created a user function using 1D interpolation and data points available. Now the problem is that when I input this function at the inlet boundary it gives me an error. I think I am missing a step in between. Kindly, explain a bit more if not inconvenient to you.
mujahidbadshah is offline   Reply With Quote

Old   May 16, 2016, 02:29
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
What error message are you getting?
ghorrocks is offline   Reply With Quote

Old   May 16, 2016, 05:21
Default
  #9
Member
 
Mujahid Badshah
Join Date: Oct 2015
Posts: 32
Rep Power: 10
mujahidbadshah is on a distinguished road
I followed the following procedure:
1. In CFX Pre inserted a new expression named" TurbInt"
2. On the basic setting Tab of the function,selected the:
i. Option--- interpolation(Data)
ii. Argument Units--- m
iii. Result Units--- percent(Because Turbulence Intensity is dimensionless)
iv. Interpolation data
option--- One Dimensional
v. in the window for coordinate and value--- Right click and imported the coordinate points and values and click ok
-----------------------------------------------------------
3. Edit inlet boundary
a. On the boundary detail tab
i. Turbulence Option---Intensity and autocompute length
ii. Fractional Intensity---TurbInt()(This is the name of interpolation function created)
------------------------------------------------------------
4. I got the following error message:
Bad expression value 'TurbInt()' detected in parameter 'Fractional Intensity' in object '/FLOW:Flow Analysis 1/DOMAIN:fluid domain/BOUNDARY:inlet/BOUNDARY CONDITIONS/TURBULENCE'.
CEL error:
In the expression assigned to 'Fractional Intensity', the function 'TurbInt' is called with the wrong number of arguments (0 - expected 1).

mujahidbadshah is offline   Reply With Quote

Old   May 16, 2016, 06:35
Default
  #10
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Quote:
Originally Posted by mujahidbadshah View Post
ii. Argument Units--- m
[...]
option--- One Dimensional
[...]
ii. Fractional Intensity---TurbInt()(This is the name of interpolation function created)
[...]
In the expression assigned to 'Fractional Intensity', the function 'TurbInt' is called with the wrong number of arguments (0 - expected 1).
You need to call your function with a coordinate. If your turbulence values are varying on your inlet along the x-direction, use TurbInt(x) instead of TurbInt().
Lance is offline   Reply With Quote

Old   May 16, 2016, 10:20
Default
  #11
Member
 
Mujahid Badshah
Join Date: Oct 2015
Posts: 32
Rep Power: 10
mujahidbadshah is on a distinguished road
Thanks a lot to all of you for giving me your time. You have solved my problem. The issue of specifying non uniform turbulence intensity has resolved.

Best Regards
mujahidbadshah 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
How to calculate turbulence intensity when use power law profile inlet Jamamoto takasi OpenFOAM Pre-Processing 20 September 5, 2021 21:09
possible to have a controller on inlet turbulence intensity? mrshives CFX 6 February 2, 2016 18:55
Using a variable (increasing) inlet to get an easy convergence/initialization ? fredo490 OpenFOAM Running, Solving & CFD 8 April 9, 2014 10:35
Question on Turbulence Intensity Eric FLUENT 1 March 7, 2012 05:30
turbulence intensity at inlet raju Main CFD Forum 1 November 16, 2006 01:13


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