|
[Sponsors] |
June 29, 2007, 06:47 |
Syntax Error
|
#1 |
Guest
Posts: n/a
|
HI
I am using ANSYS CFX 11.0 version and have written an expression to calculate torque acting on a blade in z direction. My expression is : torque_z@Rot Blade 1 where Rot Blade 1 is the location of the blade. This expression looks correct syntaxwise and it worked well in ANSYS CFX 10.0 ..but in CFX 11.0 its showing error. The error is : "locator name may not follow variable name." I am not able to figure out what error says..kindly help me with this.. With regards. Mechstud |
|
June 29, 2007, 07:36 |
Re: Syntax Error
|
#2 |
Guest
Posts: n/a
|
Hi
I think in CFX-10 also it will not work. Modify it with a bracket in between as follows. torque_z()@Rot Blade 1 Pankaj |
|
June 29, 2007, 07:49 |
Re: Syntax Error
|
#3 |
Guest
Posts: n/a
|
Thanks for your reply Pankaj
Ya it worked in ANSYS CFX 11 ...but it worked without bracekts in cfx 10 ..why bracket is needed there if we dont want an expression. thanks for ur help..it worked Mechstud |
|
June 29, 2007, 08:22 |
Re: Syntax Error
|
#4 |
Guest
Posts: n/a
|
Dear Mechstud,
It may have worked just by chance in ANSYS CFX 10.0 because the documentation says: torque [<Fluid>.]torque_[<Axis>[_<Coord Frame>] ]()@<Location> An error is raised if the location specified is not 2-D. The syntax is being enforced in 11.0. Opaque |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
compile errors of boundary condition "expDirectionMixed" | liying02ts | OpenFOAM Bugs | 2 | February 1, 2010 21:11 |
error while running paraFoam! | padmanathan | OpenFOAM | 9 | October 13, 2009 06:17 |
attach/detach (valve opening/closing) | phsieh2005 | OpenFOAM Running, Solving & CFD | 2 | March 21, 2009 06:18 |
user defined function | cfduser | CFX | 0 | April 29, 2006 11:58 |