CFD Online Logo CFD Online URL
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 Members List Search Today's Posts Mark Forums Read

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
New Member
Join Date: Jan 2014
Posts: 5
Rep Power: 11
pibea is on a distinguished road
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


Thread Tools Search this Thread
Search this Thread:

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

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