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

Defining coordinate system using parameters in CFX-Pre

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2018, 16:39
Default Defining coordinate system using parameters in CFX-Pre
  #1
New Member
 
Michael
Join Date: May 2017
Posts: 12
Rep Power: 9
mbranag is on a distinguished road
Hi,
I am trying to run my simulation in a rotating reference frame. I want the reference frame to be offset from the global coordinate system in the global x-y frame. When I add a coordinate system I can only enter numerical values into the defining points. Is there a way to add this using parameters?
Thanks
mbranag is offline   Reply With Quote

Old   April 12, 2018, 16:52
Default
  #2
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,885
Rep Power: 27
Gert-Jan will become famous soon enough
Yes, this is possible. For example, you can create three expressions. Lets say a,b &c

a=1[m]
b=1[m]
c=a+b

Then, in Pre, right click on your coordinate frame and select "Edit in Command Editor".
This opens the definition of your coordinate frame in text format.
Now you can replace numbers with your expressions a,b&c

Make sure that your expressions always have the dimension [m].
Gert-Jan is offline   Reply With Quote

Old   May 4, 2018, 09:14
Default Thanks
  #3
New Member
 
Michael
Join Date: May 2017
Posts: 12
Rep Power: 9
mbranag is on a distinguished road
Thanks! That solved the issue.
mbranag is offline   Reply With Quote

Reply

Tags
cfx pre, coordinate system, parameters


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
Define a cylindrical Coordinate System in CFX!!! mohammad CFX 0 September 10, 2014 02:27
Defining local coordinate system bastil OpenFOAM Pre-Processing 11 August 8, 2011 08:26
Creating Coordinate System ashtonJ CFX 0 February 17, 2011 21:07
CFX 5.7 pre Neser CFX 0 January 27, 2005 11:22
CFX 4.4 installation problem Pandu Sattvika CFX 1 December 1, 2001 04:07


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