CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

Stop Run by user point convergence

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 27, 2014, 02:39
Default Stop Run by user point convergence
  #1
Member
 
Daniel Frederik
Join Date: Apr 2014
Location: Switzerland
Posts: 38
Rep Power: 4
Daniel Frederik is on a distinguished road
Hi

Does anyone know if there's a way to stop a solver run by a user point convergence criterion. For instance, I'm plotting the user point of isentropic efficiency. Is it possible to stop the solver run saying that it should stop when the efficiency does not change any more than 1% within 50 timesteps?
Daniel Frederik is offline   Reply With Quote

Old   June 27, 2014, 08:51
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 550
Rep Power: 13
Opaque is on a distinguished road
From the ANSYS CFX documentation.

Quote:
Interrupt control conditions are used to specify the interrupt criteria for a solver run. These conditions are specified using logical expressions that are evaluated by CFX-Solver and reported in the CFX output file. After executing each coefficient iteration and time step (or outer iteration), the solver evaluates all internal termination conditions and user defined interrupt control conditions. If any of these conditions are true, then solver execution stops and the outcome is written to the CFX output file.

Typically, interrupt control conditions are defined by single-valued logical expressions. However, single-valued mathematical expressions can also be used. In this case, a single-valued mathematical expression is considered to be true if, and only if, the result of the expression is greater than or equal to 0.5. Otherwise it is deemed to have a value of false. For a discussion of logical expressions, see CFX Expression Language Statements in the CFX Reference Guide.
You may need to evaluate the running average of the quantity of interest, and able to provide the return value to the logical expression described in the documentation. You could ask ANSYS CFX support if there is any existing UserFortran for your needs, or similar that you could use as a starting point.
Opaque is offline   Reply With Quote

Old   June 27, 2014, 09:01
Default
  #3
Member
 
Daniel Frederik
Join Date: Apr 2014
Location: Switzerland
Posts: 38
Rep Power: 4
Daniel Frederik is on a distinguished road
Thanks Opaque that's a good hint right there! I will try that out
Daniel Frederik 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
Unable to create dll, lib files to run User Functions in CFX lucky_m_m CFX 0 July 19, 2013 02:23
Choosing convergence criteria on monitor point Torque_Converter CFX 1 June 3, 2012 06:59
Force can not converge colopolo CFX 13 October 4, 2011 22:03
Should I stop the run? Need urgent help. Sam CFX 4 October 20, 2005 18:50
CFX 5.5 Roued CFX 1 October 2, 2001 16:49


All times are GMT -4. The time now is 01:30.