|
[Sponsors] |
November 16, 2012, 08:54 |
Expression Error
|
#1 |
New Member
stefan
Join Date: Jul 2012
Posts: 11
Rep Power: 14 |
Hi,
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? Thx |
|
November 16, 2012, 09:20 |
|
#2 |
Member
Darren Leong
Join Date: Dec 2010
Posts: 64
Rep Power: 16 |
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. 0[m]+MP1LocY Instead of probe, you can also use ave i think |
|
November 16, 2012, 09:34 |
|
#3 |
New Member
stefan
Join Date: Jul 2012
Posts: 11
Rep Power: 14 |
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? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Undeclared Identifier Errof UDF | SteveGoat | Fluent UDF and Scheme Programming | 7 | October 15, 2014 08:11 |
Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 03:32 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 18:38 |
user defined function | cfduser | CFX | 0 | April 29, 2006 11:58 |