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

Logical Expression Interupt Control

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 15, 2014, 07:25
Default Logical Expression Interupt Control
  #1
Senior Member
 
RicochetJ's Avatar
 
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 265
Rep Power: 5
RicochetJ 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
RicochetJ is offline   Reply With Quote

Old   January 15, 2014, 11:10
Default
  #2
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 510
Rep Power: 11
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, 06:08
Default
  #3
Senior Member
 
RicochetJ's Avatar
 
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 265
Rep Power: 5
RicochetJ is on a distinguished road
Hi!

Thanks for the reply. I'll try it and report back.
RicochetJ 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
logical expression for cfx interrupt control wjy-c CFX 0 November 29, 2013 05: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 19:44
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 07:25
Lift, Drag Vs time chart,calculations Jamesd69climber CFX 8 February 17, 2005 18:23


All times are GMT -4. The time now is 16:53.