# u,v,w in local Coordinate System

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

 March 1, 2004, 06:09 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

 March 3, 2004, 02:51 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

 March 3, 2004, 03:17 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

 March 4, 2004, 01:13 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

 March 12, 2004, 11:06 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