CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Unable to use expression in ansys cfx correctly.

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By ghorrocks
  • 1 Post By cheap_person
  • 1 Post By Opaque

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 6, 2024, 06:07
Default Unable to use expression in ansys cfx correctly.
  #1
New Member
 
cheap person
Join Date: Mar 2024
Location: New Delhi, India
Posts: 23
Rep Power: 2
cheap_person is on a distinguished road
Hi there!!!
Hope you are doing good today.

I'm trying to make a performance map by performing a cfd simulation of an impeller. it is performing using cfx, turbo mode.

A negative sign is used to change the direction of rotation of the impeller.
But, I am using an expression (speed, as an input parameter) to provide rpm. but i am keep failing to get similar result with negative sign.

I tried the following combinations with negative sign:
1. - speed , 60000 (negative sign with expression speed while putting boundary condition, keeping value positive in input parameter)
2. speed , -60000 (positive sign with expression speed while putting boundary condition, keeping value negative in input parameter)
But the arrow of the direction in pre-processing doesn't change.

Problem: Now I am unable to provide correct direction of rotation to my impeller. it is revolving in opposite direction.
what is the solution?

sending positive vibes...!
cheap person
cheap_person is offline   Reply With Quote

Old   September 6, 2024, 06:08
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
To do this you need to:
* In CFX-Pre define the rotor speed as a Workbench input variable. I think the speed is then defined along the rotation axis you define, so a negative speed should go the opposite way (but check this, I am not sure).
* In Workbench you need to define the value of the speed parameter. This should accept positive and negative values, and that should reverse the direction of rotation.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   September 6, 2024, 10:13
Default
  #3
Senior Member
 
Join Date: Jun 2009
Posts: 1,873
Rep Power: 33
Opaque will become famous soon enough
Quote:
Originally Posted by cheap_person View Post
Hi there!!!
Hope you are doing good today.

I'm trying to make a performance map by performing a cfd simulation of an impeller. it is performing using cfx, turbo mode.

A negative sign is used to change the direction of rotation of the impeller.
But, I am using an expression (speed, as an input parameter) to provide rpm. but i am keep failing to get similar result with negative sign.

I tried the following combinations with negative sign:
1. - speed , 60000 (negative sign with expression speed while putting boundary condition, keeping value positive in input parameter)
2. speed , -60000 (positive sign with expression speed while putting boundary condition, keeping value negative in input parameter)
But the arrow of the direction in pre-processing doesn't change.

Problem: Now I am unable to provide correct direction of rotation to my impeller. it is revolving in opposite direction.
what is the solution?

sending positive vibes...!
cheap person
The "arrow" in the user interface is for the "axis definition", not the rotation direction.

On the creation of the performance map, have you tried the "operating points" functionality? Performance maps for turbomachinery models have been a built-in functionality for a few years.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   September 10, 2024, 02:21
Default
  #4
New Member
 
cheap person
Join Date: Mar 2024
Location: New Delhi, India
Posts: 23
Rep Power: 2
cheap_person is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
To do this you need to:
* In CFX-Pre define the rotor speed as a Workbench input variable. I think the speed is then defined along the rotation axis you define, so a negative speed should go the opposite way (but check this, I am not sure).
* In Workbench you need to define the value of the speed parameter. This should accept positive and negative values, and that should reverse the direction of rotation.
problem solved using first point, warmly thank you so much sir Glenn!!! 😁

I don't know should I ask for it here or not.
"Do you have Instagram id" I want to connect to you there.
I will not ask any simulation related question or any question.
In future if I do, surely you can block me there.

sending warm regards...! ('◡' )
cheap person
cheap_person is offline   Reply With Quote

Old   September 10, 2024, 02:47
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Feel free to PM me if you are sending me a message. Just put CFD questions on the forum, as my footer requests.
cheap_person likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   September 10, 2024, 02:55
Default
  #6
New Member
 
cheap person
Join Date: Mar 2024
Location: New Delhi, India
Posts: 23
Rep Power: 2
cheap_person is on a distinguished road
Quote:
Originally Posted by Opaque View Post
The "arrow" in the user interface is for the "axis definition", not the rotation direction.

On the creation of the performance map, have you tried the "operating points" functionality? Performance maps for turbomachinery models have been a built-in functionality for a few years.
However, the problem is solved.
But no, the arrow which I'm talking about it does tell the direction of rotation.

Here in following image, the white line shows direction, and black line shows the axis of rotation.

click here


Sorry not, I've not seen operating points in cfx yet! 😅

But I'm so amazed to know about it, I've just searched it on google.
Chapter 13: Operating Maps and Operating Point Cases

Thank you so much sir opaque for your reply.
I learned a new thing today!!! 😁

sending positive vibes...! (´◡` )
cheap person
Opaque likes this.
cheap_person is offline   Reply With Quote

Old   September 10, 2024, 12:09
Default
  #7
Senior Member
 
Join Date: Jun 2009
Posts: 1,873
Rep Power: 33
Opaque will become famous soon enough
Quote:
Originally Posted by cheap_person View Post
However, the problem is solved.
But no, the arrow which I'm talking about it does tell the direction of rotation.

Here in following image, the white line shows direction, and black line shows the axis of rotation.

click here
I see, you are using the Turbo Mode in the pre-processor. I do not recall seeing that arrow in General Mode.
cheap_person likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Reply

Tags
ansys, cfx, expression, input parameter, turbo machinery


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Parallel Computing for ANSYS CFX R17 Noco CFX 7 January 17, 2018 17:14
Evaluating expression at a specific location in CFX Pre gotang CFX 4 August 17, 2017 11:33
A CFX-POST error (ver 14.5.7) wangyflp88 CFX 2 July 22, 2017 01:17
Modify SST kw model in CFX Tingyun YIN CFX 6 May 12, 2017 07:44
I got code 1 error from ANSYS CFX zlor1324 CFX 0 March 11, 2014 20:22


All times are GMT -4. The time now is 20:23.