CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Unit vector from cell centroid to the boundary face

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By AlexanderZ

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 11, 2020, 04:00
Default Unit vector from cell centroid to the boundary face
  #1
Member
 
L.A.Isanka
Join Date: Jul 2020
Posts: 55
Rep Power: 5
Achini is on a distinguished road
Hello!

I am planning to model particle attractions with the channel wall.
To get the force exerted by the channel wall to the particle, I'm planning to use DPM_BODYFORCE macro.

In order to get the resultant force, I need to get the unit vector from a cell to the boundary. how can i find it?

also how can i create a loop to loop over the cells in the boundary?

I'd be greatful if anyone could help me with this.

Thank you!

Last edited by Achini; October 11, 2020 at 04:00. Reason: fluent, udf, vector, loop, position vector
Achini is offline   Reply With Quote

 


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
[snappyHexMesh] Boundary face cell does not match with cell face of internal mesh leonardo13 OpenFOAM Meshing & Mesh Conversion 0 May 20, 2020 15:46
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
Out File does not show Imbalance in % Mmaragann CFX 5 January 20, 2017 10:20
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 05:15


All times are GMT -4. The time now is 12:22.