24
1. Drawing geometry in rhinoceros For describing my problem, this time I use very simple geometry that is consist of only flat surfaces.

Star Ccm Problem

Embed Size (px)

Citation preview

Page 1: Star Ccm Problem

1. Drawing geometry in rhinoceros

For describing my problem, this time I use very simple geometry that is consist of only flat

surfaces.

Page 2: Star Ccm Problem

2. Drawing domain box

Once I am satisfied with my domain box I trim the surface in symmetry plane and join all

surfaces. In property window we see the type of geometry (closed polysurface), that shuld be

insurance that there is no leaks. File/export selected and choose parasolid .x_t, and gemoetry is

ready for star-ccm+

3. Importing surface mesh

Page 3: Star Ccm Problem

Start a new simulation File/New Simulation/ Ok

Import geometry CAD File/Import Surface Mesh/simple.x_t/ Ok

In import surface options dialog I choose

-create new region

-one boundary per face

-one region per body

The imported geometry look like in the picture below

Page 4: Star Ccm Problem
Page 5: Star Ccm Problem

4. Rename and combine boundaries

I hold ctrl and select all surfaces that represent hull and right mouse button (RC), then click

combine

The bounduries is now order and rename as shown in the picture below. In property window

type of the boundaries is changed in:

In: velocity Inlet

Out: Pressure Outlet

Sym: Symmetry Plane

Page 6: Star Ccm Problem

5. Make a new Mesh Scene and select meshing models

Scenes / RC New Scene / Mesh

Continua,RC / Mesh1 / Select Meshing models

Page 7: Star Ccm Problem

6. First Meshing test using resurfacer

Click this icon the begin surface meshing

Click and drag the selected item onto the open Mesh 1 Scene on the right to view the surface

mesh

Mesh looks little unnecessary fine. I want to keep mesh fine close to boat and little bit rougher

far from the boat , so I go:

Continua / Mesh1 / Reference Values / Base Size / 5 m

Page 8: Star Ccm Problem

Region 1/ 0-hull / Mesh condition / custom surface size , select (properties)

Region 1/ 0-hull / Mesh Values/ Surface size / Target .. 12% , min ..12%

Region 1/ 0-deck/ Mesh condition / custom surface size , select (properties)

Region 1/ 0-deck/ Mesh Values/ Surface size / Target .. 25% , min ..25%

Page 9: Star Ccm Problem

7. Creating block tools

Tools/ volume shapes/ RC new shape / Block

…and choose as below

Page 10: Star Ccm Problem

8. Anisotropic and mesh align

Continua/ Mesh 1/ volumetric controls / RC new , then click on VolContr 1. In the property

windows click on the square brackets [], choose the “block1” shape as below

Mesh conditions / Trimmer / PW check isotropic and anisotropic

Page 11: Star Ccm Problem

Mesh Values/ Custom size / 50 %

Trimmer anisotropic / PW choose Z / Relative Z size 12 %

Mesh 1 / Trimmer / PW / Check Do mesh alignment

Mesh 1 / Reference Values / Mesh alignment location / leave 0,0,0

Page 12: Star Ccm Problem
Page 13: Star Ccm Problem

9. Volume meshing

Click this icon the start volume meshing

Click on empy part of mesh scene, RC / Apply representation / Volume

10. Creating block tools

Create a second block in front of the boat and a third refinement around the boat

Page 14: Star Ccm Problem

-second block

-third block

Add a second volumetric control with “block2” as input, and 6% anisotropic only mesh size

Add a third volumetric control with 12% isotropic only size

Page 15: Star Ccm Problem
Page 16: Star Ccm Problem

11. Add a wall layer and regenerate Mesh

Continua/ Mesh1/ RC select Meshing models , pick “prism layer mesher”

Continua/ Mesh1/ Reference values / Prism L. Thickness ... 6 %

Continua/ Mesh1/ Reference values / Number of prism layers ... 3

Regenerete mesh we see bellow

Page 17: Star Ccm Problem
Page 18: Star Ccm Problem

12. Physics setup 1

Continua/ physics1/ RC select models

13. Physics setup 2

Continua/ Physics1/ models / Eulerian Multiphase ( Eleurian Phases / RC new (2 times )

Phase 1 / models / RC select models /“Gas”/Constant Density

Phase 2 / models / RC select models /“Liquid” / Constant Density

Page 19: Star Ccm Problem

14. Physics setup 3

Specifiy inlet velocity :

Physics conditions / Flow direction./PW, Method Components

Physics Values / Flow Direction / PW : Value -1 ,0,0

Physics Values / Velocity magnitude : PW : 5.0 m/s

Page 20: Star Ccm Problem

Specifiy initial velocity vector field

Physics 1 / Initial Conditions / Velocity / [-5.0 ,0.0 ,0.0]

Page 21: Star Ccm Problem

15. VOF setup

Continua/ physics1/ RC select models

Select VOF Waves

Continua/ physics1/ models/ VOF Waves /Waves/ (RC) New/ Flat

Page 22: Star Ccm Problem

16. Make a new scalar scene

Scenes / RC new / Scalar

Click & drag “sym” boundary onto scene window / “add to Scalar 1

17. Visualising functions

Page 23: Star Ccm Problem
Page 24: Star Ccm Problem

Obviously this does not work

I should see something like

this: