| Contents |   | Trans | |
|---|---|---|---|
| Home
Ames Test Annex XX Certification Design Codes
Furling MT2 Airfoils SWRT Other Links NWTC Forums NWTC (Official) NWTC Internal NWTC Weather |
A coordinate transformation utility.
by Marshall Buhl National Wind Technology Center When modeling wind turbines with a multi-body dynamics program called ADAMS®, I need to know the global coordinates and orientation of specific parts. I usually only know the location and orientation of parts with respect to their adjacent parts. This means I need to go through several coordinate transformations from the ground up to get a single global transformation matrix. I then need to find Euler angles that will give me the same transformation matrix. Doing these multiple transformations is not a trivial task and is virtually impossible to do with a calculator. This prompted me to write a program to do it for me. At first, I wrote TRANS to do only orientations, but decided later to add translations. You can run TRANS in orientation-only mode or do both. To use TRANS, you simply enter a series of translations (if desired) and Euler-angle rotations. After each entry, TRANS outputs the current orientation and (possibly) location in the ground coordinate system. It is quite simple to use and gives virtually instantaneous response on my SGI Indigo2 workstation. TRANS is of generic use to anyone doing coordinate transformations and is not specific to the Wind Energy industry. If you would like to use TRANS, you may download its source code. I wrote it for my SGI f77 compiler, but I wrote it in the most transportable fashion I know how. All (I hope) compiler-specific code is in the sys_sgi.f or sys_pcl.f files. You may need to make some changes to one of those files to get it to work with another compiler. Many (if not all) of the routines found there are the same as those used for GPP. You can download a copy of the GPP UNIX source code to get versions of these routines for other UNIX compilers. Check out the sys_*.f files for system-specific routines for other compilers. You may download the following files from our server:
If you want to refer to the Trans website in a report, here is a reference you can use:
This page was last updated by M. Buhl on 26-May-2005. |
| NREL is a national laboratory of the U.S. Department of Energy, Office of Energy Efficiency & Renewable Energy,
operated by the Alliance for Sustainable Energy, LLC |