Amass Tutorial: Introduction To The 2.20 Applet

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6
At a glance
Powered by AI
The tutorial introduces the 2.20 Java AMass applet which can be used to approximate the added mass of objects composed of spheres and cylinders. It guides the user through basic functions like adding different shapes, changing motions, and investigating forces.

The purpose of the 2.20 Java AMass applet is to approximate the added mass of various objects composed by spheres and cylinders. It can be used as a tool to solve homework problems related to added mass calculations.

To add different shapes using the applet, you first select the shape you want to add from the options and then provide the necessary parameters like coordinates, radii, lengths etc. Shapes like spheres, cylinders, cones, elliptic cylinders can be added.

2.

20 Marine Hydrodynamics

AMass Tutorial: Introduction to the 2.20 Java AMass applet

The purpose of this document is to familiarize you with the 2.20 Java AMass applet. This applet can be found at http://web.mit.edu/2.20/www/software.html. It has been constructed for 2.20 students and can be used to approximate the added mass of various objects composed by spheres and cylinders. It may also be used as a tool to solve homework problems.

This Java applet can be used on any PC that has JAVA 3D installed. However it should be emphasized that it is still under construction. On-line announcements will be made each time updated/ improved versions are available (for general 2.20 announcements refer to: http://web.mit.edu/2.20/www/announce.html).

What follows is a short tutorial that will guide you through the basics of the AMass. The end result will produce four figures, which you do NOT need to hand in.

1. To install JAVA 3D go to: http://java.sun.com/products/java-media/3D/download.html. 2. To launch the applet go to: http://web.mit.edu/2.20/www/software.html and click on the AMASS icon. 3. On the MAIN MENU click Build Structure twice. 4. You will see a screen as in Figure 1. Choose Build Structure, again.

Page 1 of 6

2.20 Marine Hydrodynamics

Figure 1

5. Choose Add sphere. In Input radius set the radius of the sphere to be 1. In Input X/ Y/ Z displacement place the coordinates of the center of the sphere at (1,2,3). Press Enter. You may choose to Zoom out to obtain a general view. By moving the cursor on the display area you obtain views of the object at various angles. Observe that the Added Mass Coefficient Matrix changes. 6. Choose Add cylinder. In the box Input top radius set the radius of the top to be 1. In Input X/ Y/ Z top center place the coordinates of the top center at (0,0,0). Repeat for the (bottom) base, with base radius 2 and coordinates of the base center at (1,2,3). See Figure 2.

Page 2 of 6

2.20 Marine Hydrodynamics

Figure 2 7. Choose Delete. Highlight both objects holding the Shift key, and press

Delete. Everything will now be erased. 8. Choose Add cone. Now input the coordinate of the top (0,0,0), the coordinates of the base (1,1,1) and finally the base radius (2). Press Enter. You can Zoom out to have a more general view of the object. 9. Choose Add elliptic cylinder. In the first three boxes enter the coordinates of the bottom center (0,0,0). In the next three boxes enter only TWO of the coordinates of the end point of the 1st axis (x,z) = (-1,0). In Input top second axis length choose 0.5. For Base in Input the X/ Y/ Z base center set the coordinates of the base center (0,5,0). In Input base first axis length set the length of the 1st axis to 1. In Input base second axis length set the length of the 2nd axis to 0.5. See Figure 3.

Page 3 of 6

2.20 Marine Hydrodynamics

C:\Documents and Settings\Legena Henry \Desk top\2.20 Hy dro F07\2.20 TA 2007\2.20 TA folders\2007\WebSite\2.20_2007\applets\PFlow\A Mass3DV1.4\A MassTutorial_files\image008.gif

Figure 3

10. Click on Delete, highlight the cone option and press Delete. In the display area you will now see only the elliptic cylinder. 11. Choose Working menu and then Investigate Menu. In the investigate menu choose Change motion and specify velocities (6 d.o.f.) and accelerations (6 d.o.f.). Choose unit acceleration in 1 i.e. set velocity equal to (0,0,0,0,0,0) and acceleration to (1,0,0,0,0,0) respectively. Press Enter. Click on Find force and Find moment to find the forces and moments exerted on the body from the fluid. See Figure 4.

Page 4 of 6

2.20 Marine Hydrodynamics

Figure 4

12. Enter various velocities and accelerations and observe how the forcing on the cylinder changes. In the example of the cylinder note that it is the m22 coefficient that is approximated by zero. You can also change the origin of the coordinate system (i.e. displace the cylinder wrt the origin) and observe how the added mass coefficient matrix changes. 13. Choose Working menu Build structure Delete. Add a sphere of radius 1 at (0,0,0) and verify the added mass coefficients we found in the example given in Recitation 7. Go to Working menu Change motion, add an acceleration (1,1,1,0,0,0) and observe the forces. Click on Change origin and place the

Page 5 of 6

2.20 Marine Hydrodynamics

center of the sphere at (10,0,0). Verify the added mass coefficients evaluated in the example given at Recitation 7. Find the forces and moments for this case. 14. At this stage you might wish to save the information. Go to the Main menu and click on Save information. Save the file with a .txt extension. Click Delete all. You can re-open your work be choosing Recover information.

Suggestions/ advice / concerns regarding the functionality of the applet are always welcome.!

Page 6 of 6

You might also like