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

Ramp BC per Iteration

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 25, 2010, 11:21
Default Ramp BC per Iteration
  #1
New Member
 
Andy Robertson
Join Date: Mar 2009
Location: Long Island NY
Posts: 22
Rep Power: 8
AndyR is on a distinguished road
I have a converged Steady State solution. I am running a family of solutions with slightly different boundary conditions. In this case I am varying the swirl at an inlet. For low values of swirl I find that I can use the existing solution simply change the values and keep running. As the absolute value gets large, I find that the amount of change the solution can absorb without diverging gets small. Even with signifcant relaxation and a small CFL number.

I think it would be simplest to define a UDF which ramps the swirl from one value to the next over some number of iterations. I understand how to define the profile, but not how to access the iteration number in an UDF.

Any help is appreciated
Thanks
- Andy R
AndyR is offline   Reply With Quote

Old   August 26, 2010, 03:04
Default
  #2
Senior Member
 
Max
Join Date: Mar 2009
Posts: 133
Rep Power: 8
coglione is on a distinguished road
N_ITER is the macro you are looking for. It retutns the number of iterations performed since you initialized your solution. As far as i know it works only in compiled udfs.

cheers
coglione is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to increase "Newton Pressure Iteration Limit" kus CFX 9 April 21, 2013 01:54
non stoppage of iteration alastormoody11 CFX 0 July 15, 2010 04:33
Parallel runs slower with MTU=9000 than MTU=1500 Javier Larrondo FLUENT 0 October 28, 2007 23:30
Creating, loop or iteration using expression edito Jan CFX 3 July 28, 2003 11:01
Heat exchanger problem chiseung FLUENT 16 October 20, 2001 04:36


All times are GMT -4. The time now is 00:19.