salome occ tut 1

Upload: dougbooyens

Post on 31-Oct-2015

49 views

Category:

Documents


8 download

DESCRIPTION

SALOME TUTORIAL

TRANSCRIPT

  • Example of Nut

    Example of Nut

    This sample is known to work on the latest SALOME release. The compatibility with previous versions of SALOME is not guaranteed, though the sample can work on old versions also.

    Objectives:

    This exercise illustrates the use of Geometry and SMESH SALOME functionalities for building and meshing the nut shape. Shape is built using Sketch, Transformations and Boolean operations,

    Geometry functionalities used in exercise:

    Basic Create Point, Vector

    Build Face Explode

    Sketch Transformation Extrusion, Revolution, Fillet, Chamfer Boolean Cut, Common

    Import brep

    Mesh functionalities used in exercise:

    3D algorithm Tetrahedron (Netgen), Hypothesis Max Element Volume 2D algorithm Triangle (Mefisto), Hypothesis Max Element Area 1D algorithm Wire discretization, Hypothesis Average Lengt

    Geometry

    The sequence of actions is as follows:

    Launch SALOME. Create a new study. Launch GEOM module.

    Creation of a wire using the sketcher:

    (menu New Entity/Basic/2D Sketch).Validate using Apply after each line.)First Point: 100 ; -57.7Segment (Point - absolute): 100 ; 57.7Segment (Point - absolute): 0 ; 115.47Segment (Point - absolute): -100 ; 57.7Segment (Point - absolute): -100 ; -57.7Segment (Point - absolute): 0 ; -115.47Sketch Closure => Wire_1.

    Page 1 of 5Example of Nut SALOME Platform

    2012/11/03http://www.salome-platform.org/user-section/salome-tutorials/example-of-nut

  • Create a new Local coordinate syatem (menu New Entity / Basic / Local CS )(First constructor)

    select "X axis" direction Dx = 1

    select "Y axis" direction Dz = 1

    Creation of a second wire using the sketcher: (menu New Entity/Basic/2D Sketch) Select LocalCS_1 coordinate system. (Validate using Apply after each line.)X Y Z: 50 ; 0X Y Z: 80 ; 0X Y Z: 112 ; 13X Y Z: 112 ; 48X Y Z: 80 ; 63X Y Z: 80 ; 90X Y Z: 50 ; 90

    Sketch Closure = Wire_2

    Creation of a face: (menu New Entity/Build/Face).Objects: Wire_1Validation = Face_1.Objects: Wire_2Validation = Face_2.

    Creation of reference vector: (menu New Entity/Basic/Vector).2nd Vector Constructor: (0 ; 0 ; 10.)Validation = VZ.

    Page 2 of 5Example of Nut SALOME Platform

    2012/11/03http://www.salome-platform.org/user-section/salome-tutorials/example-of-nut

  • Extrusion: (menu New Entity/Generation/Extrusion)Base: Face_1 Vector: VZ Height: 100 Validation = Extrusion_1

    Revolution: (menu New Entity/Generation/Revolution).Object: Face_2Axis : VZAngle : 360Validation = Revolution_1

    Boolean Operation: (menu Operation/Boolean/Common)Object 1: Extrusion_1Object 2: Revolution _1Validation = Common_1

    Creation of Fillet: (menu Operations/Fillet)2nd Constructor: Fillet by selection of edgesMain Object: Common_1Selected edges: Common_1:5Radius = 10.Validation = Fillet_1

    Creation of Chamfer: (menu Operations/Chamfer)4th Constructor: Chamfer on selected

    Page 3 of 5Example of Nut SALOME Platform

    2012/11/03http://www.salome-platform.org/user-section/salome-tutorials/example-of-nut

  • edgesMain Object: Fillet_1Selected edges: D1 = 10, D2 = 10Validation = Chamfer_1

    Import a geometry: (menu File/Import).Select Files of type *.brepSelect File name slots.brep Validation = slots.brep_1File is located at \SAMPLES\SAMPLES_SRC\Shapes\Brep

    Boolean Operation: (menu Operation/Boolean/Cut)Main Object: Chamfer_1Tool Object: slots.bep_1Validation = Cut_1

    Construction of the mesh

    Page 4 of 5Example of Nut SALOME Platform

    2012/11/03http://www.salome-platform.org/user-section/salome-tutorials/example-of-nut

  • Launch SMESH module.

    Creation of Mesh_1 : (menu Mesh/Create Mesh)Geometry : Cut_13D algorithm: Tetrahedron (Netgen)3D hypothesis: MaxElementVolume = 502D algorithm: Triangle (Mefisto)2D hypothesis: MaxElementArea = 201D algorithm: Wire Discretization1D hypothesis: Local Length = 5Validate => Mesh_1

    Compute Mesh_1

    Page 5 of 5Example of Nut SALOME Platform

    2012/11/03http://www.salome-platform.org/user-section/salome-tutorials/example-of-nut