CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

URGENT!!! Please help with UDM!!

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

LinkBack Thread Tools Search this Thread Display Modes
Old   August 25, 2009, 16:47
Default URGENT!!! Please help with UDM!!
New Member
Join Date: Jun 2009
Posts: 11
Rep Power: 13
dfytanid is on a distinguished road
Hi all,
I have to finish a project and i just anderstood that i have to use UDM in order to find the solution i need.
I have the following udf which is used as boundary condition for a UDS simulation:
DEFINE_PROFILE(uds_at_wall, t, position)
{face_t f; cell_t c0; real k = 200; real D = 25;real Vwall = 55;real x[ND_ND],xc[ND_ND],dx[ND_ND],rootk,dy,drootkdy;Thread *t0 = t->t0;
begin_f_loop(f, t)
c0 = F_C0(f,t);
F_PROFILE(f, t, position) = rootk*D/((-Vwall+k)*dy+D);
end_f_loop(f, t)

I have already used it succesfully but now i have to use these boundary values in an other UDF. I tried to add the following code in the udf in order to use a UDM:
C_UDMI(f,t,0) = C_UDSI(f,t,0);

Unfortunately, the values in Display/contour/user defines memory/ isn't the same as display/contour/user define scalar.
It's my first time that i use UDM, so please help me.

thank you in advance for your valuable help.

P.S.: sorry for the long msg.
dfytanid 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Segmentation violation louiza FLUENT 16 June 27, 2017 15:41
UDM derivatives for - for EHD flow Sandilya Garimella FLUENT 7 September 9, 2013 03:17
No data is written into UDM ivanbuz Fluent UDF and Scheme Programming 1 August 13, 2009 18:49
how could i get the value of udm on last time step Rebecca FLUENT 0 June 10, 2007 08:00
UDM: statistically averaged variabls lcw FLUENT 4 January 8, 2006 02:39

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