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

Calculating wall normal vector

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 19, 2020, 11:39
Default Calculating wall normal vector
  #1
New Member
 
John
Join Date: Jan 2020
Posts: 12
Rep Power: 6
ArtSimulatingLife is on a distinguished road
Hello everyone,

I'm trying to calculate the wall normal vector in CFX to then use in a particle routine, I found an equation online that said: (Fluid.Wall Scale.Gradient X+Fluid.Wall Scale.Gradient Y+Fluid.Wall Scale.Gradient Z)/mag(Fluid.Wall Scale.Gradient)

But don't really understand what those values are, when you extract the wall scale gradient in a user function you get 9 numerical values out at each location as the format for gradients on a vector is (3,NLOC,3) and it says the first number is the number of gradient components and the second number is the number of tensor components, how do I use the values from CFX and manipulate them into the equation?
ArtSimulatingLife is offline   Reply With Quote

Old   March 19, 2020, 15:39
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
Have you tried using

Normal X,
Normal Y
Normal Z

variables instead?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Reply


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
[snappyHexMesh] snappyHexMesh error "Cannot determine normal vector from patches." lethu OpenFOAM Meshing & Mesh Conversion 1 June 3, 2020 08:49
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
Calculating pressure along curved wall (Normal Pressure) hxaxtma OpenFOAM Programming & Development 1 June 14, 2015 18:42
UDF to Access Wall Normal Concentration Gradient Daniel Tanner Fluent UDF and Scheme Programming 4 February 18, 2015 15:35
Radiation interface hinca CFX 15 January 26, 2014 18:11


All times are GMT -4. The time now is 13:57.