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

Iterate till a condition is satisfied

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 17, 2014, 09:16
Default Iterate till a condition is satisfied
  #1
New Member
 
Burak Kaya
Join Date: Nov 2011
Posts: 21
Rep Power: 14
ferroburak is on a distinguished road
Hi,
Instead of iterating a fixed amount of times in Fluent, I want to iterate till a condition (say, Pnew - P, difference between inlet and exit pressures, less than 1e-3) is satisfied. Is this possible with Fluent?

Thanks.
ferroburak is offline   Reply With Quote

Old   September 18, 2014, 23:54
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by ferroburak View Post
Hi,
Instead of iterating a fixed amount of times in Fluent, I want to iterate till a condition (say, Pnew - P, difference between inlet and exit pressures, less than 1e-3) is satisfied. Is this possible with Fluent?

Thanks.
It might be possible. In the convergence manager, you can set additional convergence criteria (found in the monitors tab of the GUI). However, the only criteria supported is iterate until monitor is less than a set stopping criteria. You cannot for example set an asymptotic criteria or standard deviation as a criteria.

These additional convergence checks can only be applied to existing surface/volume monitors. You would need to think of a creative way to make a monitor that represents the desired difference in pressures. The worst case, you would need to use a udf to create a new variable which could be monitored and used as the convergence criteria.
LuckyTran is offline   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
what "If" condition means in rebound brbbhatti OpenFOAM Programming & Development 0 August 12, 2014 09:18
Internal flow operating condition? kookguy FLUENT 2 June 26, 2014 00:15
PotentialFOAM - meeting the Kutta condition moser_r OpenFOAM Running, Solving & CFD 3 January 11, 2012 16:42
CFX problems with supersonic inlet condition - Inlet values in CFX-Post are wrong jannnesss CFX 5 February 25, 2011 16:24
Airfoil boundary condition Frank Main CFD Forum 1 April 21, 2008 18:36


All times are GMT -4. The time now is 02:52.