CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   How to locate all the edge node by UDF? (https://www.cfd-online.com/Forums/fluent-udf/121788-how-locate-all-edge-node-udf.html)

hadesmajesty August 5, 2013 12:00

How to locate all the edge node by UDF?
 
Hi, I want to implement Womersley velocity profile on inlet of a 3D vessel. However, the inlet face is not strictly a circle, so I need to map a profile for circle to the non-regular inlet face. The implementation involves finding the nodes on the edges of inlet face, which means the nodes on the vessel inlet and vessel wall.



I am wondering if there are any Fluent udf macro can do this or how to write a code to locate (get the coordinate) all the edge nodes? Thank you in advance.

vasava August 7, 2013 03:52

Have a look at macro C_FACE.

Also look at these pages
http://www.sharcnet.ca/Software/Flue...udf/node94.htm


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