Top Banner
Mesh Generation Using gmsh to simulate cavity flow Albert S. Kim, Assoc. Prof. CEE, UHM
40

Tutorial 2 - Cavity

Sep 30, 2015

Download

Documents

Otávio Duarte

Tutorial 2 - Cavity
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • Mesh Generation Using gmsh to simulate cavity flow

    Albert S. Kim, Assoc. Prof.CEE, UHM

  • Adding Points

    Go to Modules Geometry Elementary entities Add Point

  • Numbers are arbitrary.

  • Coordinate input (1-4)

  • Coordinate input (5-8)

  • Adding Lines

    Go to Modules Geometry Elementary entities Add Straight Line

  • Adding Surfaces

    Go to Modules Geometry Elementary entities Add Plane Surface

  • Top

    Press e after you select 4 lines.

  • Bottom

  • Left & Right

  • Front & Back

  • Adding Volume

    Go to Modules Geometry Elementary entities Add Volume

  • Adding .geo file

    Go to File Save As

  • Adding Physical Surface

    Go to Modules Geometry Physical groups Add Surface

  • top

  • bottom

  • left & right

  • front & back

  • Adding Physical Volume

    Go to Modules Geometry Physical groups Add Volume

  • My cu be. ge o

  • My cu bes ym

    .ge o

  • Close gmsh program Restart gmsh Load

    mycubesym.geo

    Go to Mesh 3D

  • File Save Mesh

  • Files generated are

    mycube.geo Original file generated by gmsh

    mycubesym.geo Edited file from mycube.geo to include surface

    names such as top, bottom, left, right, front, and back.

    mycubesym.msh Mesh file from mycubesym.geo.

    Slide 1Slide 2Slide 3Slide 4Slide 5Slide 6Slide 7Slide 8Slide 9Slide 10Slide 11Slide 12Slide 13Slide 14Slide 15Slide 16Slide 17Slide 18Slide 19Slide 20Slide 21Slide 22Slide 23Slide 24Slide 25Slide 26Slide 27Slide 28Slide 29Slide 30Slide 31Slide 32Slide 33Slide 34Slide 35Slide 36Slide 37Slide 38Slide 39Slide 40