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

Rotating Coordinate System Error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2022, 20:40
Default Rotating Coordinate System Error
  #1
New Member
 
Aspen
Join Date: Nov 2022
Location: Canada
Posts: 11
Rep Power: 3
imagineaspen is on a distinguished road
Hi all,

I have a simulation with an object rotating about a point. I am trying to set up a coordinate frame that rotates with the object. I made a new coordinate frame and set the frame motion to 'Rotating'. However, when I try to run the simulation I get this error and the simulation stops:

ERROR #001100279 has occurred in subroutine ErrAction.
Message:
Stopped in routine GET_CBCK_VALUE

Does anyone know what this means/how to resolve it? I know it has to do with the rotating coordinate frame because if I set the frame motion to stationary then I stop getting the error.
imagineaspen is offline   Reply With Quote

Old   November 22, 2022, 01:11
Default
  #2
Senior Member
 
Daniel
Join Date: Feb 2017
Location: Germany
Posts: 162
Rep Power: 9
zacko is on a distinguished road
Do I understand correct, that you have a fixed point and an object, that is rotating around this point ? And then you created a new coordinate frame that is rotating?
Did you specify the correct coordinate frame for your object in the rotating frame ? If the object rotates around the point P, then you should specify a coordinate frame where the rotating axis goes through P. Have a look if you maybe used the global axis instead of your new axis.
zacko is offline   Reply With Quote

Old   November 22, 2022, 03:41
Default
  #3
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,854
Rep Power: 27
Gert-Jan will become famous soon enough
Quote:
Originally Posted by imagineaspen View Post
Hi all,

I have a simulation with an object rotating about a point. I am trying to set up a coordinate frame that rotates with the object. I made a new coordinate frame and set the frame motion to 'Rotating'. However, when I try to run the simulation I get this error and the simulation stops:

ERROR #001100279 has occurred in subroutine ErrAction.
Message:
Stopped in routine GET_CBCK_VALUE

Does anyone know what this means/how to resolve it? I know it has to do with the rotating coordinate frame because if I set the frame motion to stationary then I stop getting the error.



What are you tring to do? Do you have 2 rotations at the same time? Something like a spinning object that rotates around a central point?
Gert-Jan is offline   Reply With Quote

Old   November 22, 2022, 08:08
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,832
Rep Power: 33
Opaque will become famous soon enough
Quote:
Originally Posted by imagineaspen View Post
Hi all,

I have a simulation with an object rotating about a point. I am trying to set up a coordinate frame that rotates with the object. I made a new coordinate frame and set the frame motion to 'Rotating'. However, when I try to run the simulation I get this error and the simulation stops:

ERROR #001100279 has occurred in subroutine ErrAction.
Message:
Stopped in routine GET_CBCK_VALUE

Does anyone know what this means/how to resolve it? I know it has to do with the rotating coordinate frame because if I set the frame motion to stationary then I stop getting the error.
What Ansys CFX version are you using?

I think you may also have some expression using the rotating coordinate frame? Say something along

Function(Variable)_x_MyRotatingFrame@Location
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   November 22, 2022, 12:40
Default
  #5
New Member
 
Aspen
Join Date: Nov 2022
Location: Canada
Posts: 11
Rep Power: 3
imagineaspen is on a distinguished road
Quote:
Originally Posted by zacko View Post
Do I understand correct, that you have a fixed point and an object, that is rotating around this point ? And then you created a new coordinate frame that is rotating?
Did you specify the correct coordinate frame for your object in the rotating frame ? If the object rotates around the point P, then you should specify a coordinate frame where the rotating axis goes through P. Have a look if you maybe used the global axis instead of your new axis.

Yes, that is correct. I have an object in a domain rotating around a point, and created the rotating coordinate frame at the center of rotation. The center of rotation and the rotating coordinate frame are both at the global origin.
imagineaspen is offline   Reply With Quote

Old   November 22, 2022, 12:42
Default
  #6
New Member
 
Aspen
Join Date: Nov 2022
Location: Canada
Posts: 11
Rep Power: 3
imagineaspen is on a distinguished road
Quote:
Originally Posted by Gert-Jan View Post
What are you tring to do? Do you have 2 rotations at the same time? Something like a spinning object that rotates around a central point?
I have a rotating domain which contains the object, and this is rotating around the global z axis. I am trying to make a rotating coordinate frame at the origin so that I can monitor the forces on the object with respect to the rotating frame.
imagineaspen is offline   Reply With Quote

Old   November 22, 2022, 12:43
Default
  #7
New Member
 
Aspen
Join Date: Nov 2022
Location: Canada
Posts: 11
Rep Power: 3
imagineaspen is on a distinguished road
Quote:
Originally Posted by Opaque View Post
What Ansys CFX version are you using?

I think you may also have some expression using the rotating coordinate frame? Say something along

Function(Variable)_x_MyRotatingFrame@Location
I'm using the 2022 version of Ansys and I do have expressions like that.
imagineaspen is offline   Reply With Quote

Old   November 22, 2022, 15:18
Default
  #8
Senior Member
 
Join Date: Jun 2009
Posts: 1,832
Rep Power: 33
Opaque will become famous soon enough
Quote:
Originally Posted by imagineaspen View Post
I'm using the 2022 version of Ansys and I do have expressions like that.
Remove the expression, and check how far the setup proceeds.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   November 24, 2022, 11:08
Default
  #9
New Member
 
Aspen
Join Date: Nov 2022
Location: Canada
Posts: 11
Rep Power: 3
imagineaspen is on a distinguished road
Quote:
Originally Posted by Opaque View Post
Remove the expression, and check how far the setup proceeds.
When the expressions are removed the simulation proceeds normally without errors. Are expressions not able to reference rotating coordinate frames?
imagineaspen is offline   Reply With Quote

Old   November 26, 2022, 12:04
Default
  #10
Senior Member
 
Join Date: Jun 2009
Posts: 1,832
Rep Power: 33
Opaque will become famous soon enough
Quote:
Originally Posted by imagineaspen View Post
When the expressions are removed the simulation proceeds normally without errors. Are expressions not able to reference rotating coordinate frames?
As far as I understand, they are not supported as part of the CEL-integrated functions.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   November 27, 2022, 16:32
Default
  #11
New Member
 
Aspen
Join Date: Nov 2022
Location: Canada
Posts: 11
Rep Power: 3
imagineaspen is on a distinguished road
Quote:
Originally Posted by Opaque View Post
As far as I understand, they are not supported as part of the CEL-integrated functions.
Alright, good to know. Thank you!
imagineaspen is offline   Reply With Quote

Old   November 27, 2022, 16:45
Default
  #12
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,854
Rep Power: 27
Gert-Jan will become famous soon enough
In CFD post you can create a coordinate frame which can be used in expressions to calculate forces, moments, etc. You can use the syntax as examples for expressions in Pre. Not sure if Pre or the solver manager will eat it, as Opaque explains, but then at least you cannot blame the syntax.
Gert-Jan is offline   Reply With Quote

Reply


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
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 13:21
[swak4Foam] swak4foam openfoam 7 installation problem Andrea23 OpenFOAM Community Contributions 1 February 17, 2020 18:11
Pressure outlet boundary condition rolando OpenFOAM Running, Solving & CFD 62 September 18, 2017 06:45
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31


All times are GMT -4. The time now is 01:41.