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

How to move mesh node perpendicular to the mesh surface

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By kirmaks

Reply
 
LinkBack Thread Tools Display Modes
Old   August 19, 2016, 10:39
Default How to move mesh node perpendicular to the mesh surface
  #1
New Member
 
Subrat
Join Date: Mar 2016
Posts: 4
Rep Power: 3
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, 09:07
Default
  #2
New Member
 
KirMaks
Join Date: Aug 2016
Posts: 27
Rep Power: 2
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SHM problem : KVLCC2 with appendage mesh sc.park OpenFOAM Native Meshers: snappyHexMesh and Others 1 March 13, 2016 14:28
Running UDF with Supercomputer roi247 FLUENT 4 October 15, 2015 13:41
how to set periodic boundary conditions Ganesh FLUENT 13 January 22, 2014 05:11
The fluent stopped and errors with "Emergency: received SIGHUP signal" yuyuxuan FLUENT 0 December 3, 2013 23:56
Layers:problem with curvature giulio.topazio OpenFOAM Native Meshers: snappyHexMesh and Others 10 August 22, 2012 09:03


All times are GMT -4. The time now is 02:42.