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

How to move mesh node perpendicular to the mesh surface

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By kirmaks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 19, 2016, 11:39
Default How to move mesh node perpendicular to the mesh surface
  #1
New Member
 
Subrat
Join Date: Mar 2016
Posts: 4
Rep Power: 10
Subrat@cgpl is on a distinguished road
Hello,

I want to move surface nodes perpendicular to the neighbouring surface, could you please suggest how to do it using fluent UDF.

Regards
Subrat
Subrat@cgpl is offline   Reply With Quote

Old   August 23, 2016, 10:07
Default
  #2
Member
 
KirMaks
Join Date: Aug 2016
Posts: 34
Rep Power: 10
kirmaks is on a distinguished road
Hello Subrat,

You may use the face area vector F_AREA to get the direction of the face normal. You will probably need to identify the face by its ID and divide the area vector by its magnitude (NV_MAG) to get the unity normal. The UDF guide and this forum have examples of this.

Regards, Maks.
kirmaks is offline   Reply With Quote

Old   November 10, 2016, 00:42
Default
  #3
New Member
 
Subrat
Join Date: Aug 2016
Posts: 1
Rep Power: 0
subrat@cgpl.iisc.ernet.in is on a distinguished road
Thank you Maks.
I got the idea and implemented.

Regards
Subrat
subrat@cgpl.iisc.ernet.in 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
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
[snappyHexMesh] SHM problem : KVLCC2 with appendage mesh sc.park OpenFOAM Meshing & Mesh Conversion 1 March 13, 2016 14:28
Running UDF with Supercomputer roi247 FLUENT 4 October 15, 2015 14:41
The fluent stopped and errors with "Emergency: received SIGHUP signal" yuyuxuan FLUENT 0 December 3, 2013 23:56
[snappyHexMesh] Layers:problem with curvature giulio.topazio OpenFOAM Meshing & Mesh Conversion 10 August 22, 2012 10:03


All times are GMT -4. The time now is 18:45.