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

UDF of iterations

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By FJ

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 19, 2004, 07:52
Default UDF of iterations
  #1
h6h6
Guest
 
Posts: n/a
I want to have UDF :

from 1 ~ 500 iteration , pressure-outlet=101000pa

when 500 iteration finished, 101200pa.

file of *.c is below, but have error.

Anyone help me? ............................................. #include "udf.h"

DEFINE_PROFILE(unsteady_velocity, thread, position) { face_t f; int iter;

iter = N_ITER;

if (iter < 500)

F_PROFILE(f, thread, position) = 101000; else

F_PROFILE(f, thread, position) = 101200;

} .................................................. ..
  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
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
Orifice Plate with a fully developed flow - Problems with convergence jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 05:24
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 11:16


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