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

Wall Shear in Expression as boundary condition

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

Like Tree4Likes
  • 2 Post By ghorrocks
  • 2 Post By w.andreao

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2016, 11:07
Default Wall Shear in Expression as boundary condition
  #1
New Member
 
Willian Andrećo
Join Date: Dec 2015
Posts: 3
Rep Power: 10
w.andreao is on a distinguished road
Hi everyone,

I have an expression that calculates an emission rate that I want to use as boundary condition for an wall as flux in, which is based on the shear stress.

The expressions I`m using is:

friction velocity = (Wall Shear/Density)^0.5 #unit [m s^-1]

kl = 1e-6[m s^-1] + 6.3e-4[s^1.2 m^-1.2] * friction velocity^2.2 #unit[m s^-1]

emission rate = 0.01[kg m^-3] * kl #unit [kg m^-2 s^-1]

But, when I set this last expression in the additional variable flux, an error has occurred:

Non-scalar variable 'Wall Shear' referenced by parameter 'Additional Variable Flux' in object '/FLOW:Flow Analysis 1/DOMAINefault Domain/BOUNDARY:interface/BOUNDARY CONDITIONS/ADDITIONAL VARIABLE:Concentration'.
Non-scalars are only allowed as arguments to integrated quantity functions.

I tried to simulate anyway, but in the calculation of my additional variable the program crashes.
Do you know how can I solve this problem?

I can input the values of shear stress from other simulation using initialize profile data. But I could not find a way to use these values in the expression.
w.andreao is offline   Reply With Quote

Old   May 10, 2016, 21:02
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,771
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Two comments:

* Does your equation work if you use the Wall Shear X components? Then you will have three equations for each XYZ direction.

* I am not sure how well CFX can handle units with non-integer exponents. Most people do this in CFX by making the variables unitless so then you can use non integer exponents with no issues with units.
Mazze[ITA] and jingxinrushui like this.
ghorrocks is offline   Reply With Quote

Old   May 11, 2016, 19:53
Default
  #3
New Member
 
Willian Andrećo
Join Date: Dec 2015
Posts: 3
Rep Power: 10
w.andreao is on a distinguished road
Yes, CFX-Pre works with the wall shear components. I wrote the shear stress as (Wall Shear X^2 + Wall Shear Y^2 + Wall Shear Z^2)^0.5

Thank you!!
Mazze[ITA] and jingxinrushui like this.
w.andreao is offline   Reply With Quote

Reply

Tags
boundary condition, expressions, wall shear stress

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
Low torque values on Screw Turbine Shaun Waters CFX 34 July 23, 2015 08:16
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
External Radiation Boundary Condition (Two sided wall), Grid Interface CFD XUE FLUENT 0 July 8, 2010 06:49
how to set up a wall boundary condition according to calculated wall shear stress? gameoverli OpenFOAM Pre-Processing 1 May 21, 2009 08:28


All times are GMT -4. The time now is 23:34.