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

u,v,w in local Coordinate System

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 1, 2004, 05:09
Default u,v,w in local Coordinate System
  #1
martin weghaus
Guest
 
Posts: n/a
hi

I need to have u,v,w in local coordinate System.

It should be easy to calculate it, but I do not get access to the coord-frame-values. Following will produce an error.

LIBRARY: CEL:

EXPRESSIONS:

zx1 = Coord 1.Axis 3 Point X Coord

END END END

Bye martin
  Reply With Quote

Old   March 3, 2004, 01:51
Default Re: u,v,w in local Coordinate System
  #2
Neale
Guest
 
Posts: n/a
Unfortunately the u,v,w velocity components are not automatically transformed by the flow solver into a local coordinate frame.

With knowledge of the orientation of your user defined coordinate frame with respect to the global coordinate frame (Coord 0), which the flow solver solves in, you can do this yourself using user fortran. Just pass u, v and w into your user fortran and multiply out by the transformation matrix.

Neale

  Reply With Quote

Old   March 3, 2004, 02:17
Default Re: u,v,w in local Coordinate System
  #3
martin weghaus
Guest
 
Posts: n/a
That is what I want, but For calculating the transformation matrix I need information about the coordinate frame like

"zx1=Flow.Coord 1.Axis 3 Point X Coord"

and on this I fail.

martin

  Reply With Quote

Old   March 4, 2004, 00:13
Default Re: u,v,w in local Coordinate System
  #4
Neale
Guest
 
Posts: n/a
If you managed to setup your local coordinate frame properly in CFX-Pre then you should be able to manually calculate the transformation. A velocity vector is non-variant under a translation so that part of the transform does not matter. You only need to calculate the direction cosine matrix and then multiply the flow solver u,v,w values by that to get velocity in your local frame.

Do you have a book with some documentation on coordinate transformations?

Neale
  Reply With Quote

Old   March 12, 2004, 10:06
Default Re: u,v,w in local Coordinate System
  #5
BAK_FLOW
Guest
 
Posts: n/a
Hi Neal,

what is your recommendation on the best simple but complete guide to transforms. I have seen many texts on vector and tensor analysis but few that explain things physically.

Any suggestions are useful.

Thanks.......BAK_FLOW
  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
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


All times are GMT -4. The time now is 05:16.