|
[Sponsors] |
May 19, 2004, 07:52 |
UDF of iterations
|
#1 |
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; } .................................................. .. |
|
|
|
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 |