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

first time with UDMI

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 1, 2003, 10:31
Default first time with UDMI
  #1
Andrew Garrard
Guest
 
Posts: n/a
I am trying to use UDM for the first time. I have written the part of the code shown below, where eta(f) is a function in another part of the code. I would have assumed the same value that is printed for over_pot in the printf line would be the value that appeared in my xy plots in fluent. When I make the xy plot I only get a value of 0.00000. Any reason why this is occuring?

DEFINE_PROFILE(tile_conc_spec, thread_sol, i)

{

face_t f;

begin_f_loop(f, thread_sol)

{

real over_pot = eta(f);

F_UDMI(f, thread_sol, 0) = over_pot;

printf ("\nover_pot = %g, at face %d", over_pot, f);

F_PROFILE(f, thread_sol, i) = c_bulk*concvar(f)/(concvar(f)+1);

} end_f_loop(f, thread_sol)

}
  Reply With Quote

 


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
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 32 June 16, 2021 06:55
Time step size and max iterations per time step pUl| FLUENT 33 October 23, 2020 22:50
calculation diverge after continue to run zhajingjing OpenFOAM 0 April 28, 2010 04:35
Problems with simulating TurbFOAM barath.ezhilan OpenFOAM 13 July 16, 2009 05:55
Modeling in micron scale using icoFoam m9819348 OpenFOAM Running, Solving & CFD 7 October 27, 2007 00:36


All times are GMT -4. The time now is 10:04.