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

Defination of NV_D(psi, =, a,b) in UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 1, 2006, 17:35
Default Defination of NV_D(psi, =, a,b) in UDF
  #1
summer
Guest
 
Posts: n/a
Hello. Does anyone know the defination of NV_D(psi, =, F_U(f,t), F_V(f,t), F_W(f,t)) in UDF? I notice that it appears in the chapter of defining flux in 3D. I would like to use it in 2D and mofified it as NV_D(psi, =, F_U(f,t), F_V(f,t))but the program reports that I need one more parameter. Does anyonw could give the defination or some examples of it? Thanks in advance.
  Reply With Quote

Old   September 4, 2006, 05:36
Default Re: Defination of NV_D(psi, =, a,b) in UDF
  #2
RoM
Guest
 
Posts: n/a
I have no problems compiling
real NV_VEC(psi);
NV_D(psi,=,F_U(f,t),F_V(F,t));

in 2d. Maybe your error is sowhere else. An equivalent formulation for 2d wihout macros is

real psi[2];
psi[0]=F_U(f,t);
psi[1]=F_V(f,t);
Hope this helps, RoM
  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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 08:37
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 22:38
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 05:03
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01


All times are GMT -4. The time now is 17:49.