# Presentation: 469959

## Meshing Basics

**Setting Meshing Schemes ****and Parameters**

## Surface Map & SubMap

**Structured meshes**
- sides of swept volumes

- Map

- Submap

## Pave

## TriPrimitiveformerly “triangle”

**Quadrilateral elements**
**“****3-sided” surfaces**

## Circle

**Convex surfaces**

## Hole

**Circle without center**

## TriMesh & TriDice

**Triangular elements****, “tri”**
**Trimesh = TriAdvance, TriDice**

- TriAdvance

- TriDice

## Exercise 5: Surface Meshing

**Exercise 5: Surface Meshing**

- Step 1: Import Acis file *schemes.sat*

- 1

- 2

- 3

- 4

- 5

- Go to: Meshing:Surface:Mesh

## Exercise 5: Surface Meshing

## Exercise 5: Surface Meshing

**Exercise 5: Surface Meshing**

- Step 2: Set the *interval size* for all the surfaces to 1.0

- Command line shortcut: CUBIT> surf all size 1.0

- Enter *all *to select all surfaces

- Go to: Meshing:Surface:Mesh

- 1.0

## Exercise 5: Surface Meshing

**Exercise 5: Surface Meshing**

- Step 3: Mesh each front surface.  Use scheme map, submap, pave, 	circle, and hole.  Try remeshing each surface with a different 	scheme

- Set mesh scheme here

- Mesh with current scheme

- Set scheme only (do not mesh)

- Advanced scheme options

## Volume Map & Submap

**Volume Map & Submap**

**Map**

- Submap

## Sweep

**Sweep**

**2.5d - may twist & turn**
- sources & targets unstructured
- sides structured

## Sweep, typical

- rotate

- translate

- inner to outer shell

## Sweep

**Most volumes meshed with scheme sweep**
**Rules to remember**
- Linking surfaces must be meshed with scheme map or submap
- Multiple source surfaces allowable
- Sweep to single target surface
**Most geometry modifications done to make model sweepable**

## Sweep Mesh Scheme Setup

**Sweep Mesh Scheme Setup**

- Select Mesh Scheme *Sweep*

- 2

- Select *Source Surface*

- 3

- Select *Target Surface*

- 4

- Apply scheme and mesh

- 1

**Comment:**
**Make sure mesh **
**is deleted first**

**Comment:**
- Curve and vertex types set
- automatically in 4.0
- Use corner picking tab in 3.1

- Go to: Meshing:Volume:Mesh

## Sphere

- cut-away view

## TetPrimitiveformerly “Tetrahedron”

**Hex elements**
- Uses: 1/4 cones, 4-sided volumes

## Tetrahedral elements, “tet”

**TetMesh**

- Scheme thex for tet->hex mesh

## Mesh Conversion Commands

**Mesh first, then convert w/ command**
**Qtri, ****quad to tri**
- also a scheme, specify base quad scheme
**Tquad, ****tri to quad**
**Thex, ****tet to hex**
**Htet, ****hex to tet**

## Exercise 6: Volume Meshing

- Step 1: Import Acis file *schemes.sat *or reset the volumes
- 	Command line: CUBIT> reset vol all
- Step 2: Set the *interval size* for all the volumes to 1.0
- 	Command line shortcut: CUBIT> vol all size 1.0
- Step 3: Mesh each volume with scheme map, submap, or sweep
- 	Refer to: “Sweep Mesh Scheme Setup” slide for help with 	sweep scheme
- Reminder: Sweeping Rules
-  Linking surfaces must be meshed with scheme map or submap
-  Multiple source surfaces allowable
-  Sweep to single target surface

## Scheme Auto Selection

**Definition:**
- Not a scheme, but automatically sets a scheme (usually).
**Scheme Auto selects**
- Surface: pave, map, submap, triangle
- Volume: sweep, map, submap
**depends on surface schemes**

## CUBIT Meshing Process Review

- Set Size Properties
**Mesh Size**
**Auto Size**
- Set Schemes
**Auto scheme**
**Manual**
- Match Intervals (usually automatic)
- Generate Mesh

- CUBIT meshing steps

## Exercise 7: Auto Scheme

**For each surface in *****schemes.sat***** set the scheme to auto calculate.  What scheme did CUBIT choose?  Were scheme circle or hole ever chosen?**
**Do the same for the volumes.  What schemes are selected?  What source and target surfaces were selected for sweep volumes?**

## MeshingVia Command Line

**Set size - must be unmeshed**
**Curve 10 interval 3**
**Volume all size .5**
**Volume all size factor 2**
**Volume all size auto****[factor <float>]**
**Volume 1 size smallest curve****[factor <float>]**

## MeshingVia Command Line

**Set scheme - must be unmeshed**
**Volume all scheme auto**
**Volume 1 scheme auto**
**Volume 1 scheme sweep**
**Volume 1 scheme sweep **
**	****source surf 7 target surf 4**
**Mesh**
**Mesh volume all**