Equation of rotated cylinder in 3-D
Equation of rotated cylinder in 3-D
(OP)
I need to find out intersection of 2 cylinders crossing themselves. Actually this is a manhole (600 mm dia) on a 5500 mm dia pipe, but with an angle like
______//_______
_______________
If one pipe is y^2+z^2=2750
what the equation of other pipe is, considering an angle of rotation of "theta" and 300 mm radius?
Hope my question is clear.
______//_______
_______________
If one pipe is y^2+z^2=2750
what the equation of other pipe is, considering an angle of rotation of "theta" and 300 mm radius?
Hope my question is clear.
Ciao.





RE: Equation of rotated cylinder in 3-D
x2/(rcosecΘ)2+z2/r2 = 1
RE: Equation of rotated cylinder in 3-D
This is my trial.
In the system given by quark with the origin at the intersection of the centerlines, the run pipe has the equation
y2+z2=R2
R being run's radius.
Branch pipe equation may be obtained by observing that its section in the xz plane is an ellipse with axes 2r in the z direction and 2r/cosθ in the x direction, r being branch's radius.
Moreover its center lies on the line of equation y=x tanθ; by combining one should obtain:
(x cosθ)2-2xy cos3θ/sinθ+(y cos2θ)2+z2=r2
(hope with no residual mistake after the fourth correction
prex
http://www.xcalcs.com
Online tools for structural design
RE: Equation of rotated cylinder in 3-D
The easiest way to do this is to model the two cylinders in a 3D CAD package and then let it perform the intersection. The result will be a spline line.
The next easiest way to calculate this is to solve using MathCad or similar software. Set up the 3D equation for each cylinder in parametric vector notation and press the button. Remember to put the origin at the intersection of the two centre lines and align one cylinder along a primary axis.
RE: Equation of rotated cylinder in 3-D
Cheers
Greg Locock
Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
RE: Equation of rotated cylinder in 3-D
Thanks all!
Ciao.
RE: Equation of rotated cylinder in 3-D
Flamby - if this is for a fabrication that you are doing yourself you could simplify things. I notice that the manhole cover is quite a lot smaller than the main pipe and the saddle shape will not be very deep. Treat the intersection as a cylinder with a plane - this is a simple elipse equation. Cut out a piece of paper with the elipse on it and draw around it on the main pipe. Cut just inside the line and fettle the hole until the fit is good.
RE: Equation of rotated cylinder in 3-D
I think there was a mixup in your post. The axis of the elllipse should be 2r/sin?, not 2r/cos?, if you maintain the equation of branch centre-line as y=tan(?).
Only if I was as smart as you in maths after this point...
Ciao.
RE: Equation of rotated cylinder in 3-D
Now the equation of the branch takes a more elegant form:
(x sinθ-y cosθ)2+z2=r2
To get at this simply observe that the equation of an ellipse in the xz plane is
(x-xc)2/a2+(z-zc)2/c2=1
with xc=y/tanθ,zc=0,a=r/sinθ,c=r.
Now by substituting z2=R2-y2 a quite simple equation for the intersection is obtained:
(x sinθ-y cosθ)2-y2=r2-R2
where y can be obtained as a function of x, x being in the range R/tanθ±r/sinθ.
That's not really a very difficult math, just a second order algebraic equation...
For x=R/tanθ±r/sinθ as expected one has y=R: hope this indicates that I'm correct now...
prex
http://www.xcalcs.com
Online tools for structural design
RE: Equation of rotated cylinder in 3-D
y^2 +z^2= R^2
to complete the solution.
RE: Equation of rotated cylinder in 3-D
one may take a value for x, determine y from my last equation, then z is calculated from the equation of main cylinder.
prex
http://www.xcalcs.com
Online tools for structural design
RE: Equation of rotated cylinder in 3-D
If the angle is not too severe, a good welder can set that neck in on the pipe, cut the hole, and trim the neck inside quicker than you can calculate all the curves and plot them out.