CFD Online Logo CFD Online URL
Home > Forums > CFX

Syntax Error

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

LinkBack Thread Tools Display Modes
Old   June 29, 2007, 05:47
Default Syntax Error
Posts: n/a

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.

  Reply With Quote

Old   June 29, 2007, 06:36
Default Re: Syntax Error
Posts: n/a

I think in CFX-10 also it will not work. Modify it with a bracket in between as follows.

torque_z()@Rot Blade 1

  Reply With Quote

Old   June 29, 2007, 06:49
Default Re: Syntax Error
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 worked

  Reply With Quote

Old   June 29, 2007, 07:22
Default Re: Syntax Error
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.


  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
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 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 05: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 10:58

All times are GMT -4. The time now is 15:30.