|
[Sponsors] |
Wall Shear in Expression as boundary condition |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 10, 2016, 12:07 |
Wall Shear in Expression as boundary condition
|
#1 |
New Member
Willian Andrećo
Join Date: Dec 2015
Posts: 3
Rep Power: 11 |
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. |
|
May 10, 2016, 22:02 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
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. |
|
May 11, 2016, 20:53 |
|
#3 |
New Member
Willian Andrećo
Join Date: Dec 2015
Posts: 3
Rep Power: 11 |
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!! |
|
Tags |
boundary condition, expressions, wall shear stress |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Low torque values on Screw Turbine | Shaun Waters | CFX | 34 | July 23, 2015 09:16 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |
External Radiation Boundary Condition (Two sided wall), Grid Interface | CFD XUE | FLUENT | 0 | July 8, 2010 07:49 |
how to set up a wall boundary condition according to calculated wall shear stress? | gameoverli | OpenFOAM Pre-Processing | 1 | May 21, 2009 09:28 |