Topic Options
#15320 - 01/16/08 08:41 AM Direction cosines
Jouko Offline
Member

Registered: 01/11/04
Posts: 383
Is there an easy way to get/calculate the direction cosines for two perpendicular rotational restraints where pipe is in full 3D space, e.g. element cosines are for instance -0.212, 0.334 and -0.918? In this case it would be RX(??,??,??) and RY(??,??,??).
_________________________
Regards,

Jouko
jouko@jat.co.za

Top
#15322 - 01/16/08 09:31 AM Re: Direction cosines [Re: Jouko]
Sid. Offline
Member

Registered: 09/20/07
Posts: 39
Loc: Aberdeen
Jouko

I know you are looking for easy way. I think this should be more easier.

Do not model the support restraint now. Leave it for later. But do model the piping as per the layout you said.

1st rotate the element/s in Y axis by -13.00372042 degrees.
2nd rotate the element/s in X axis by -19.51964238 degrees.
Now include the restraints you want.
I modelled rigid X Y and Z; RX, RY and RZ.

Now rotate the same elements in reverse order but in positive degree signs.
Refresh model.
here is what I have got.
X (.974355, 0, -.22501434)
Y (.075183, .942527, .325560)
Z (.212082, -.33412, .918356)
RX (.974355, 0, -.22501434)
RY (.075183, .942527, .325560)
RZ (.212082, -.33412, .918356)

I would model the 3D model as it is then rotate it to align perfectly with the X Y Z co-ordinate system and then model the supports as needed and then rotate it back to its original position. This way the rigorous (at least for me!) trignometry calculations in 3D can be left to Caesar II to compute.

Hope this helps.
Regards,
Siddharth.


Edited by Sid. (01/16/08 09:33 AM)
Edit Reason: spelling mistake

Top
#15323 - 01/16/08 09:33 AM Re: Direction cosines [Re: Jouko]
Dave Diehl Offline
Member

Registered: 12/14/99
Posts: 2382
Loc: Houston, TX, USA
Dot product for perpendicular lines is zero. A line perpendicular to your line that lies in the horizontal plane (Y is up) would be (0.918,0,-0.212). Take the cross product of these two lines to set a third line perpendicular to both.
_________________________
Dave Diehl

Top
#15324 - 01/16/08 10:17 AM Re: Direction cosines [Re: Dave Diehl]
CraigB Offline
Member

Registered: 05/16/06
Posts: 378
Loc: Denver, CO
Or, more simply, take the cross product of the first restraint's direction cosines and the pipe run axis to generate the second restraint's axis. (Also check the dot product of each restraint against the pipe run axis to make sure they are all mutually perpendicular.)

3D skews are a royal pain.
_________________________
CraigB

Top
#15325 - 01/16/08 10:25 AM Re: Direction cosines [Re: CraigB]
Sid. Offline
Member

Registered: 09/20/07
Posts: 39
Loc: Aberdeen
-0.212, 0.334 and -0.918? In this case it would be RX(??,??,??) and RY(??,??,??).

the XYZ cosines will be same for the RX RY and RZ cosines.

regards,
Siddharth.

Top
#15326 - 01/16/08 12:25 PM Re: Direction cosines [Re: Sid.]
Jouko Offline
Member

Registered: 01/11/04
Posts: 383
Thanks to everybody.

For a person who studied above maths many moons ago on different language not workable.

There is an "easy" solution. Take element delta x, y and z CAESAR II and draw in Cadworx and rotate co-ordinates using AutoCAD/Cadworx. Add both ends elbows and pipes at perpendicular. Export to CAESAR II and read the cosines. Even this is made difficult by COADE (sorry). Co-ordinates do not match between the two programs. If somebody likes to get step by step let me know. After I have done 10 of these I should know them.

Could we have local co-ordinate option for CAESAR II.
_________________________
Regards,

Jouko
jouko@jat.co.za

Top
#15327 - 01/16/08 12:33 PM Re: Direction cosines [Re: Jouko]
Richard Ay Offline
Member

Registered: 12/13/99
Posts: 6226
Loc: Houston, Texas, USA
You might want to try downloading the "Global to Local" utility program and see if that will work for you. (Its on the CAESAR II download page, in the "utility" section.)
_________________________
Regards,
Richard Ay - Consultant

Top
#15329 - 01/16/08 02:26 PM Re: Direction cosines [Re: Richard Ay]
Itchy Offline
Member

Registered: 03/10/03
Posts: 182
Loc: n/a
We have never had any luck with the Global to Local utility program for some reason it just never worked, and so we set up a nice little spreadsheet in excel, using basic maths, so if we have 150 pipe supports (we design long cross country pipelines) we just enter the element cosine into the system and then the spreadsheet spits out the support cosine.

This is well worth doing if you deal frequently with lots of skewed supports and it makes your model easier to QA as you can give the checker a copy of the spreadsheet so they can check that the support cosines have been set up correctly.
_________________________
Miss Itchy

Top



Moderator:  Denny_Thomas, uribejl 
Who's Online
0 registered (), 34 Guests and 2 Spiders online.
Key: Admin, Global Mod, Mod
May
Su M Tu W Th F Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Forum Stats
12065 Members
14 Forums
16973 Topics
75151 Posts

Max Online: 303 @ 01/28/20 11:58 PM
Top Posters (30 Days)