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

Logical Expression Interupt Control

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2014, 06:25
Default Logical Expression Interupt Control
  #1
Senior Member
 
JuPa's Avatar
 
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 361
Rep Power: 14
JuPa is on a distinguished road
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
JuPa is offline   Reply With Quote

Old   January 15, 2014, 10:10
Default
  #2
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
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) ?
Lance is offline   Reply With Quote

Old   January 16, 2014, 05:08
Default
  #3
Senior Member
 
JuPa's Avatar
 
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 361
Rep Power: 14
JuPa is on a distinguished road
Hi!

Thanks for the reply. I'll try it and report back.
JuPa 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
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


All times are GMT -4. The time now is 14:09.