|
[Sponsors] |
March 1, 2004, 06:09 |
u,v,w in local Coordinate System
|
#1 |
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 |
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 |
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 |
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 |
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 |
|
|
|
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 16:33 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 05:03 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |