Sei sulla pagina 1di 24

1.

Drawing geometry in rhinoceros


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

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

Start a new simulation Import geometry CAD

File/New Simulation/ Ok 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

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

5. Make a new Mesh Scene and select meshing models


Scenes / RC New Scene / Mesh

Continua,RC / Mesh1 / Select Meshing models

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

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%

7. Creating block tools


Tools/ volume shapes/ RC new shape / Block

and choose as below

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

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

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

-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

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

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

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

Specifiy initial velocity vector field Physics 1 / Initial Conditions / Velocity / [-5.0 ,0.0 ,0.0]

15.

VOF setup

Continua/ physics1/ RC select models

Select VOF Waves

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

16.

Make a new scalar scene

Scenes / RC new / Scalar

Click & drag sym boundary onto scene window / add to Scalar 1 17. Visualising functions

Obviously this does not work I should see something like this:

Potrebbero piacerti anche