|
[Sponsors] |
October 13, 2015, 22:27 |
Stop criteria in CFX
|
#1 |
Senior Member
Join Date: Aug 2014
Posts: 160
Rep Power: 11 |
Is it possible to set a convergence criteria to stop once it has reached an asymptotic limit ?
Thank you very much for your help |
|
October 14, 2015, 05:36 |
|
#2 |
Senior Member
Join Date: Feb 2011
Posts: 496
Rep Power: 18 |
||
October 14, 2015, 08:11 |
|
#3 |
Senior Member
Join Date: Aug 2014
Posts: 160
Rep Power: 11 |
||
October 15, 2015, 09:58 |
|
#4 | |
Senior Member
Join Date: Feb 2011
Posts: 496
Rep Power: 18 |
Quote:
1. quantity value becomes close enought to target value 2. its time derivative -> 0. In this case there's no problem to implement such condition using if-CEL expression, for example: if((abs(quantity - target) < eps1) && abs(quantity.dt) < eps2,1,0) |
||
October 23, 2015, 16:50 |
|
#5 | |
Senior Member
Join Date: Aug 2014
Posts: 160
Rep Power: 11 |
Sorry, but I don't understand how work the Interrupt Control Conditions in CFX !
Where and how I have to write the logical expression ? In the tab ''Expressions'' or in ''Logical Expression'' of the tab ''Solver Control'' ? What am I supposed to write in ''Logical Expression'' of the tab ''Solver Control'' ? I would like that the solver stops when the imbalance of mass flow is below a certain level. So I have the expression following: if(Imbalance < 10^-4, 1,0). Quote:
|
||
October 23, 2015, 18:47 |
|
#6 |
Senior Member
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32 |
MyImbalance = abs(massFlow()@MyInlet - massFlow()@MyOutlet)
Logical Expression = if(MyImbalance < 10^-4 [kg s^-1], 1,0) Hope the above helps, |
|
October 24, 2015, 03:27 |
|
#7 | |
Senior Member
Join Date: Feb 2011
Posts: 496
Rep Power: 18 |
Quote:
Anyway, interrupt conditions are set inside Solver Control on Basic Settings tab (look for 'Interrupt Control' checkbox). |
||
August 7, 2022, 16:20 |
|
#8 |
New Member
Join Date: Mar 2022
Posts: 5
Rep Power: 4 |
Yes, it is possible to do it so. Check "ANSYS CFX Solver Modeling Guide". A section called "Using Interrupt Control in Cases with Transient Convergence Behavior" describes how you can do it.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX Pre & Post Startup Error | vigges | CFX | 12 | March 17, 2023 03:30 |
CFX problems I got in Workbench | Anna Tian | CFX | 13 | July 3, 2017 01:49 |
cfx solve error and stop solve and fail solve | mahdidelfan | CFX | 4 | July 3, 2014 02:01 |
Trying to stop CFX running mannually | cfxmar | CFX | 8 | August 27, 2010 11:00 |
CFX pressure in Simulations problem | nasdak | CFX | 1 | April 14, 2010 13:22 |