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

UDF using streamline coordinate?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 13, 2020, 11:21
Default UDF using streamline coordinate?
  #1
Member
 
Join Date: Feb 2019
Posts: 69
Rep Power: 7
cfdnewb123 is on a distinguished road
I can't find anywhere on Fluent which uses streamline coordinate. For instance, I need the flow velocity along the streamline and the derivative of the velocity w.r.t. the normal of its streamline.

Fluent's x[ND_ND] seems to be for x-y Cartesian coordinate and likewise is its velocity gradient (C_DUDX). Is there anyway I can convert to streamline coordinate?
cfdnewb123 is offline   Reply With Quote

Old   June 15, 2020, 09:02
Default Coordinate Transformation
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
The only coordinate available in Fluent is spatial and that's too in Cartesian. One solution is to write the pathlines. Those are nothing but particles tracks for massless particles. These will have all the information you need, i.e., velocities at each point on the path, representing streamlines and then you can determine gradient using difference in velocities along the normal, which essentially requires calculation of curvature.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Reply

Tags
coordinate, streamli, udf


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
Error code: 126 when loading parallel UDF Coop Fluent UDF and Scheme Programming 0 July 13, 2018 09:33
How to get the local coordinate Z via UDF or other way in Fluent JoaoSilva Fluent UDF and Scheme Programming 0 July 17, 2015 08:33
UDF doesn't work how I need it to - problems with the coordinate system in Fluent SarahG Fluent UDF and Scheme Programming 10 January 25, 2015 17:51
WILLING TO PAY/ FREELANCER REQUIRED / small UDF coding force loads over body / 6DOF acasas CFD Freelancers 1 January 23, 2015 08:26
radial coordinate in UDF varghese FLUENT 1 September 25, 2003 10:43


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