OpenFOAM/C3/Creating-and-meshing-a-curved-pipe-geometry-in-Salome-for-OpenFOAM/English-timed

From Script | Spoken-Tutorial
Jump to: navigation, search
Time Narration
00:01 Hello and welcome to the spoken tutorial on Creating and meshing a Curved-Pipe Geometry in Salome for OpenFOAM.
00:10 In this tutorial, we will see:

To create curved pipe geometry in Salome. To mesh the geometry in the Salome. To modify the mesh using submesh.

00:23 To record this tutorial, I am using:

Linux operating system Ubuntu version 12.10 and Salome version 6.6.0

00:35 To practice this tutorial, the learner should have Salome installed on his computer. If not, you may refer to the tutorial on Downloading and Installing Salome.
00:51 Open Salome software by clicking on the Salome icon on the desktop.
00:57 Click on the Geometry module in the Modules bar
01:00 and click on New.
01:03 Let's click on New Entity in the top menu bar.
01:06 In the drop down options, go to Basic and then 2d sketch.
01:12 First Point is zero zero, by default. Press Apply. In front of 'Y', type 30
01:22 and click on Apply. Now, go to second Element Type Arcs.
01:26 Select Type as Direction and Direction as Tangent.
01:32 Type the Radius as -10 (minus ten) and the Angle as 90. Press Apply. Now select the Element Type Lines.
01:43 Select the Type as Direction and Direction as Tangent.
01:47 Type the length as 30. Press Apply and Close.
01:54 Let me zoom in for the closer view.
01:58 Open the Geometry tree in the Object Browser. We can see sketch_1.
02:04 You can check off to hide the sketch and check on to see it back.
02:09 Now, go to New Entity >> Blocks >> Divided Disk.
02:16 Select the orientation as OZX and type the Radius equal to 1.
02:21 Click on Apply and Close. Now, go to New Entity >> Generation >> Extrusion Along Path.
02:31 Select the Base Object as Divided Disk_1 and Path Object as Sketch_1 from Geometry tree.
02:38 Click on Apply and Close. We see Pipe_1 has been created.
02:45 Now, go to New Entity >> Explode. Select the Main Object as Pipe_1. In the Sub-shapes Type drop down menu, select Face. Check on Select sub-shapes.
03:03 Let me move this window. Let me zoom-in by scrolling up. I can rotate the object by clicking on this Rotation menu.
03:16 Hold the left mouse button and move the mouse upwards to rotate the object. Take the mouse pointer at the place shown on the screen.
03:28 Hold the left mouse button.
03:30 Drag the mouse so that all the inlet faces fall into the rectangular area.
03:37 Release the mouse button.
03:41 Now, click on Show only selected button to ensure that all the inlet faces have been selected.
03:49 Click on Apply and Close. We see five faces have been Exploded in the geometry tree.
03:58 Now, click on New Entity >> Group >> Create.
04:05 Select the Main shape as Pipe_1 from the geometry tree.
04:11 Select the Shape Type as Face.
04:16 Now, select the five faces from the geometry tree. Add them by clicking on this Add button. Name the group as inlet.
04:30 Click on Apply and close. We see inlet group has been created.
04:38 Follow the similar procedure on the other end of the pipe and group those faces as outlet.
04:45 I have created outlet face group. Now, to mesh the object, go to Modules drop-down menu, select Mesh.
04:57 Now, in the top menu bar, click on Mesh >> Create Mesh.
05:04 Select the Geometry as Pipe_1 from the Geometry tree.
05:09 Click on Assign a set of hypotheses button . Click on 3D: Automatic Hexahedralization.
05:20 Type the Number of Segments 12.
05:23 Click on OK. Click on Apply and Close. We see Mesh_1 in the Geometry tree.
05:32 Right-click on it. Click onCompute. Close the window.
05:40 We see Mesh has been created.
05:43 Let me Zoom-in.
05:45 I can move the object by this panning option.
05:51 Now, we will refine the mesh in the flow direction.
05:56 To do so, go back to the geometry module from Modules drop-down menu.
06:03 Now, let me get the proper view by using panning and rotation option. Let me zoom-out.
06:15 Go to New Entity >> Explode.
06:20 Select the Main Object as Pipe_1.
06:24 Sub-shapes Type, Edge.
06:29 Check on Select sub-shapes.
06:34 Let me move the window to the corner.
06:37 Now, take the mouse pointer as shown on the screen. Hold the left mouse button.
06:43 Drag the mouse so that all the outlet face edges fall inside the window.
06:50 Release the left mouse button. The selected edges are seen in white color.
06:57 click on Hide selected. Similarly, there are 3 more face edges that we need to select one by one and hide.
07:14 After that, you would only see the edges in the flow direction. Let me zoom-out. Move the object.
07:25 Select all of these edges using similar method and click on Apply and Close.
07:33 In the geometry tree, below outlet, we see 24 edges have been exploded.
07:40 To group these edges ,go to New Entity >> Group >>Create.
07:46 Select the Shape Type as Edge.
07:50 Select the Main Shape as Pipe_1 from the geometry tree.
07:56 Now, select all of these 'edges and click on Add button to add these edges.
08:04 Name the group as flow edges. Click on Apply and close.
08:11 We see, flowedges group has been created.
08:17 Now go to Mesh module from modules drop-down option.
08:22 Right click on Mesh_1 and click on Create Sub-mesh.
08:28 Select the Geometry as flowedges.
08:33 Select the Algorithm wire discretization.
08:37 Now, to select the appropriate Hypothesis, click on first button to the right of the drop-down menu.
08:47 Click on Nb. Segments.
08:50 Type the Number of segments as 30.
08:54 Click on Ok. Click on Apply and Close.
09:00 Now, click on Mesh_1 . Click on Compute.' Refined mesh has been created. Close the window.
09:12 We see the mesh has been refined in the flow direction.
09:18 To save this work, go to File >> Save As. Type the File name as "Curved-geometry".
09:28 I am saving this work on the Desktop. Save. Minimize Salome.
09:37 We see the file has been saved as Curved-geometry.hdf.
09:43 In this tutorial, we have learned:

To create curved pipe geometry in Salome. To mesh the geometry in Salome.

To modify the mesh using submesh.

09:55 For assignment- Create a pipe having inner diameter 6 units smaller than the outer diameter.

Change the angle of the bent.

10:06 The video is available at the following URL: http://spoken-tutorial.org/What_is_a_Spoken_Tutorial

It summarizes the Spoken Tutorial project. If you do not have good bandwidth, you can download and watch it.

10:18 The Spoken Tutorial Project team-

Conducts workshops using spoken tutorials. Gives certificates to those who pass an online test.

For more details, please write to: contact@spoken-tutorial.org

10:35 Spoken Tutorials project is a part the of Talk to a Teacher project. It is supported by the National Mission on Education through ICT, MHRD, Government of India. More information on this mission is available at: http://spoken-tutorial.org/NMEICT-Intro
10:57 I am Saurabh Sawant, from IIT Bombay. Thank you.

Contributors and Content Editors

PoojaMoolya, Pratik kamble, Sandhya.np14