CFD Online Logo CFD Online URL
Home > Forums > CFX

Expression Error

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

LinkBack Thread Tools Display Modes
Old   November 16, 2012, 08:54
Default Expression Error
New Member
Join Date: Jul 2012
Posts: 11
Rep Power: 7
stefan85r is on a distinguished road
Sponsored Links

I get this error when I want to use this expression:

probe(Total Mesh Displacement Y)@MP1

"Attempt to evaluate the CEL callback function 'probe'.
Although it is valid to create an expression that
uses such a function, the preprocessor does not support
its evaluation."

How can I get the "Total Mesh Displacement Y" from MP1 (MonitorPoint) to use in an another expression?

stefan85r is offline   Reply With Quote
Sponsored Links

Old   November 16, 2012, 09:20
Darren Leong
Join Date: Dec 2010
Posts: 63
Rep Power: 8
Darren Leong is on a distinguished road
It's a solution dependent function and will work fine when solving.

Just add the following to expression list, e.g. MP1LocY

probe(Total Mesh Displacement Y)@MP1

For your other expression you can refer to the above by its expression name, e.g.


Instead of probe, you can also use ave i think
Darren Leong is offline   Reply With Quote

Old   November 16, 2012, 09:34
New Member
Join Date: Jul 2012
Posts: 11
Rep Power: 7
stefan85r is on a distinguished road
Thank you!

I will try it...

expression name: dy --> probe(Mesh Displacement Y)@MP1

expression name: Fy --> (-0.0011 [N m^-2]*dy^2+0.13 [N m^-1]*dy+95.419 [N])*1000

So the force (Fy) is depend on the high (opening Flap) and MP1 is fix on the Flap and moves up.

is that okay?
stefan85r is offline   Reply With Quote


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
Undeclared Identifier Errof UDF SteveGoat Fluent UDF and Scheme Programming 7 October 15, 2014 07:11
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 18:38
user defined function cfduser CFX 0 April 29, 2006 10:58

Sponsored Links

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