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

calculating cell edge length in 2D and call UDM into other udf code

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 30, 2014, 06:27
Question calculating cell edge length in 2D and call UDM into other udf code
  #1
New Member
 
Join Date: Jan 2014
Posts: 5
Rep Power: 12
pibea is on a distinguished road
Hi
I have two questions about UDF coding.
As said in the title, I wonder how can I calculate the length of one side of mesh(almost quadrilateral) in 2D no matter which of length is vertical or horizontal. The calculated cell length data could be saved by using C_UDMI.

Then, I want to use UDM data(mesh edge length) in other udf code(in my case, DEFINE_SOURCE). If I save the mesh edge length data in User Memory 0, can I just call C_UDMI(c,t,0)??
pibea 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



All times are GMT -4. The time now is 21:23.