|
[Sponsors] |
Error:Non-scalars are only allowed as arguments to integrated quantity functions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 3, 2019, 09:44 |
Error:Non-scalars are only allowed as arguments to integrated quantity functions
|
#1 |
New Member
Arvind
Join Date: May 2016
Posts: 26
Rep Power: 10 |
I am writing an expression CFX which includes angular velocity ( i will give it as input when setting up the simulation )
the expression is tc =(8*torque_y()@R1 Blade)/(1.225*(Angular Velocity)^2*(0.3^5)) But whenever i am giving it as monitor point, it shows error :Non-scalar variable 'Angular Velocity' referenced by parameter 'Expression Value' in object '/FLOW:Flow Analysis 1/OUTPUT CONTROL/MONITOR OBJECTS/MONITOR POINT:tcc'. Non-scalars are only allowed as arguments to integrated quantity functions. i can define the angular velocity as fixed value and it works, but i want it to take from my input. What is wrong here? please suggest |
|
December 3, 2019, 09:58 |
|
#2 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,928
Rep Power: 28 |
Did you try areaAve(Angular Velocity)@R1 Blade
|
|
December 3, 2019, 10:40 |
|
#3 |
New Member
Arvind
Join Date: May 2016
Posts: 26
Rep Power: 10 |
No, it does not work
|
|
December 3, 2019, 11:56 |
|
#4 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
There is some confusion here.
The CFX expression language cannot access values from the parametes provided, i.e. you are trying to access the domain angular velocity. It only access from a list of variables which are categorized as field variabels or single valued variables (see install_dir/etc/VARIABLES or documentation) If you want to centralize your input, you should create a variable and later used elsewhere, i.e. MyAngularVelocity = 100 [rpm] Then use DOMAIN: DOMAIN MOTION: Option = Rotating Angular Velocity = MyAngularVelocity END END Then tc =(8*torque_y()@R1 Blade)/(1.225*(MyAngularVelocity)^2*(0.3^5)) Also, Angular Velocity is a CEL provided variable for rigid body model. This may be why the message is even more confusing because the variable exists, but it is not the one you expect it. |
|
December 4, 2019, 05:37 |
|
#5 |
New Member
Arvind
Join Date: May 2016
Posts: 26
Rep Power: 10 |
Yes, i understand it, Thanks for the reply.
i found out other way what i was intended to do. |
|
April 29, 2021, 05:03 |
|
#6 |
Member
Lorenzo Mazzei
Join Date: Dec 2010
Posts: 60
Rep Power: 16 |
Personally I sorted out the problem moving from Wall Shear to sqrt(Wall Shear X^2 + Wall Shear Y^2 + Wall Shear Z^2)
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 08:24 |
CFX-Pre problem, pls help!!! | cth_yao | CFX | 0 | February 17, 2012 01:52 |
integrated quantity functions | ekhilore | CFX | 3 | July 7, 2011 10:59 |
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 |