|
[Sponsors] |
January 15, 2014, 06:25 |
Logical Expression Interupt Control
|
#1 |
Senior Member
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 361
Rep Power: 14 |
Hi,
I have defined a new dimensionless variable called Tstar. I am monitoring Tstar at various points in the domain whilst the simulation is running. I would like to set an interupt control which tells CFX to stop the simulation when Tstar > 0 at a particular point of my choice. Is there a way to do this using CEL and not user Fortran? If user Fortran is the only way then do you invisage it being simple to implement? Something along the lines of If Tstar > 0 @ Monitor Point 6 then stop End if Thanks |
|
January 15, 2014, 10:10 |
|
#2 |
Senior Member
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22 |
Im not sure you can do that with CEL. Have you tried:
if(probe(Tstar)@MyMonitor > 0,1,0) ? (MyMontior being the name of the montitor) If that wont work you might be able to create a source point and go with if(probe(Tstar)@Source Point 1 > 0,1,0) ? |
|
January 16, 2014, 05:08 |
|
#3 |
Senior Member
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 361
Rep Power: 14 |
Hi!
Thanks for the reply. I'll try it and report back. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
logical expression for cfx interrupt control | wjy-c | CFX | 0 | November 29, 2013 04:30 |
writing execFlowFunctionObjects | immortality | OpenFOAM Post-Processing | 30 | September 15, 2013 06:16 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 18:44 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 06:25 |
Lift, Drag Vs time chart,calculations | Jamesd69climber | CFX | 8 | February 17, 2005 17:23 |