Professional Documents
Culture Documents
FINE™/Marine 10.2
www.numeca.com
CONTENTS
TUTORIALS
BEGINNER
1.1 Driven cavity 12
1.1.1 Introduction 12
A. Problem Description 12
B. Objectives 12
C. CPU Prerequisites 12
D. Estimated Engineering and Computing Time 12
E. Preparation 13
1.1.2 Mesh generation 13
A. Project creation 13
B. Domain Definition 15
C. Boundary Conditions 16
D. Mesh Wizard 18
E. Save Project 19
1.1.3 Flow settings 21
A. Physical Configuration 21
B. Boundary Conditions 22
C. Body Definition 24
D. Initial Solution 25
E. Computation Control 25
F. Launch Computation 26
1.1.4 Post Processing 28
A. Cutting Plane Creation 28
B. Solid and Opacity Rendering 30
C. Visualize Streamlines 32
2.1 DTMB COMBATANT 36
2.1.1 Introduction 36
A. Problem Description 36
B. Objectives 37
C. CPU Prerequisites 37
D. Estimated Engineering and Computing Time 37
E. Preparation 37
2.1.2 Domain preparation 38
A. Import geometry 38
B. Box creation 40
C. Geometry subtract 41
D. Domain triangulation and creation 42
E. Renaming the ship faces 47
F. Renaming the domain boundaries 49
G. Merging the ship faces 50
H. Merge edges 52
2.1.3 Boundary conditions 55
ADVANCED
1.1 Full Appended DTMB 247
1.1.1 Prerequisites 247
1.1.2 Problem Description 247
1.1.3 Preparation 248
1.1.4 Graphical User Interfaces 249
1.1.5 Mesh Generation 251
A. Import Geometry 251
In this section
Each of the tutorials starts from mesh generation and uses an existing geometry. The appropriate
files (and any other relevant files used in the tutorial) can be downloaded from the corresponding
links: download Beginner level files or download Advanced level files. In addition they are
available from the Products page of the Customer Area (www.numeca.com).
Some of the project files (mesh and project, excluding solution files) can also be found in the
demo cases package dedicated to ready-to-run demonstration cases and presented in the Demo
Cases section. This allows to quickly start a calculation and observe the behavior of
FINE™/Marine, without necessarily going through all the steps of the tutorials.
Several conventions are used in the tutorials to facilitate your learning process.
Following a short introduction, each tutorial is divided into 3 sections respectively related to mesh
generation, settings and calculation, and post-treatment.
Inputs required to execute the tutorials are most often restricted to the geometry, either in a ".dom"
or CAD related format, and profiles of boundary conditions.
The sequence of actions to be executed are described through a step-by-step approach, in the form
of Arabic numbers.
Additional insight about some specific actions and/ or features is frequently added to illustrate the
tutorial further. This information is proposed for the purpose of clarity and completeness, and
should not be executed. It appears as a note with a light blue background.
Contact NUMECA local sales or support office for any question or information you may require. To
allow NUMECA local sales or support office to help you out within the shortest delays, please
provide a detailed description of the observed behavior and performed analysis.
In this section
Each of the tutorials starts from mesh generation and uses an existing geometry. The appropriate
files (and any other relevant files used in the tutorial) can be downloaded from the corresponding
link: download Beginner level files. In addition they are available from the Products page of the
Customer Area (www.numeca.com).
Some of the project files (mesh and project, excluding solution files) can also be found in the
demo cases package dedicated to ready-to-run demonstration cases and presented in the Demo
Cases section. This allows to quickly start a calculation and observe the behavior of
FINE™/Marine, without necessarily going through all the steps of the tutorials.
Several conventions are used in the tutorials to facilitate your learning process.
Following a short introduction, most of the tutorials are divided into 3 sections, respectively
related to mesh generation, settings and calculation, and post-treatment.
Inputs required to execute the tutorials are most often restricted to the geometry, either in a ".dom"
or CAD related format, and profiles of boundary conditions.
The sequence of actions to be executed are described through a numbered step-by-step approach.
Additional insight about some specific actions and/ or features is frequently added to further
illustrate the tutorial. This information is for the purpose of clarity and completeness, and should
not be executed. It appears as a note with a light blue background.
The calculations executed to illustrate the behavior of the flow solver include a reasonable number
of grid points, so as to limit the computational resources required to complete the tutorials. As a
consequence, most of the underlying flow solutions must be considered as qualitative. Additional
mesh refinement may be required in some circumstances so as to obtain a more quantitative
picture.
For more information and troubleshooting:
l consult the forum in NUMECA's Customer Area.
l or contact NUMECA local sales or support office (for active maintenance plans only).
To help to find a solution within the shortest delays, please provide a detailed description of the
observed behavior and performed analysis.
The resolution of computational fluid dynamics (CFD) problems involves three main steps:
l spatial discretization of the flow equations,
l flow computation,
l visualization of the results.
To perform these steps, three software systems have been created:
l HEXPRESS™ (developed by NUMECA), is an automated all-hexahedral unstructured grid
generation system,
l ISIS-CFD, the flow solver (developed by the CNRS and the Ecole Centrale de Nantes), is a
3D unstructured flow solver able to simulate Euler or Navier-Stokes (laminar or turbulent)
flows,
l CFView™ (developed by NUMECA), is a highly interactive Computational Field
Visualization system.
It will be possible to learn how to:
l use the computation wizard mode integrated into the FINE™/Marine interface including the
C-Wizard mode,
l set up the resistance computation with extra conditions: actuator disk and additional external
forces,
l generate a computational mesh in automatic mode.
The tutorials consist of detailed information about physical and numerical parameters imposed
during the setup procedures. It is recommended to check the full information, although to save
time it would be useful to check the shell/ bash window since it will display interactively all the
important information while performing the C-Wizard procedures.
1.1.1 Introduction
A. Problem Description
The driven cavity is a standard CFD case to begin with. One single fluid is used and one
boundary condition has a speed on the top of the cavity to create a recirculation inside the cavity.
B. Objectives
The goal of this tutorial is to provide a first flavor of the graphical user interface and the
understand the logic of a standard FINE™/Marine workflow.
C. CPU Prerequisites
In order to ensure a smooth FINE™/Marine experience, it is advised to use a computer with the
following resources:
l 1GB of RAM;
l 1GB of disk space available to store all files;
l 64bits machine with 1 core.
l For Linux systems, you can access the FINE™/Marine v10.2 graphical user interface with the
following command line:
finemarine102 -print
l For Windows systems (Windows 7 and older), you can access the FINE™ /Marine v10.2
graphical user interface from the Start menu by going to /Programs/NUMECA
software/FineMarine102/FINE. In Windows 8 you can access it by going to the Start menu
and clicking on Search. Under Apps, there will be a section called Numeca software. Click on
FINE(#-bits) in order to open the FINE™ /Marine v10.2 graphical user interface.
A. Project creation
l Open FINE™/Marine, select Create a new project/Creating a mesh and press Ok:
l Select a working directory, enter the project name Driven_cavity and press Ok:
l Click on Accept.
l A box called B1 is created and added to the list.
B. Domain Definition
C. Boundary Conditions
l Click on the Boundary Conditions icon or select Grid/ Boundary Conditions... menu.
The renaming of the domain boundaries is advised in order to ease the pre-processing and the
post-processing of the computation.
l To do so, rename each boundary using the following corresponding names:
l Click on Close.
HEXPRESS™ includes a multi-threading capability allowing to speed up the Optimization step and
the optimization loops included inside the Viscous Layer insertion step.
To activate it, in Menu bar of HEXPRESS™: Project > Preference > Mesh generation >
Multithreading
Please refer to the HEXPRESS™ documentation for the advised number of threads.
l In the Mesh Wizard, tick the Initial mesh, Adaptation, Snapping and Optimization steps
by clicking on the yellow square:
l Press the Start button to launch the mesh generation using default settings.
l If not done already, activate the viewing of the mesh in the View panel.
FIGURE 1.1
Meshed domain
E. Save Project
A. Physical Configuration
l In the Parameters area, go to the General Parameters menu under Physical configuration
and keep Steady active:
l Click on Ok to confirm.
l In the Fluid Model menu, switch off the Multi-fluid parameter.
l Set the Fluid-1 properties as following:
o Name: Air.
o Dynamic viscosity: 1.85e-005 Pa.s.
o Density: 1.2 .
l Click on Ok to confirm.
B. Boundary Conditions
In the Boundary Conditions menu, two tabs corresponding to the boundary conditions defined
in HEXPRESS™ are active. For each one of them, some boundary conditions are available for
the patches.
l As in the following picture, set Wall-function for each SOLIDboundary:
l Click on Ok to confirm.
E. Computation Control
l Under the Computation control menu, open the Control Variables window and define the
following computation parameters:
o Maximum number of iterations: 70;
o Convergence criteria: 5 orders;
o Save solution every 50 iterations.
F. Launch Computation
The simulation can be followed using the Task Manager presented below:
This report is also recorded in the computation folder under the name Driven_cavity_computation_
1.std.
After a few seconds, the computation is finished and the following report is displayed:
l To access CFView™ from the FINE™/Marine graphical user interface, press the CFView™
button .
l Press Ok on the following window:
During the next steps, two cutting planes are created in order to visualize some flow characteristic
in the cavity:
l Click on Cut on the Surfaces panel.
l Activate Geometry.
FIGURE 1.2
CUT1 creation
l Create a Z cutting plane by pressing the button and saving. The cutting plane has been
added in the Surfaces list as CUT2:
l Click on Close.
The cavity limits can now be properly distinguished as the following picture shows it:
C. Visualize Streamlines
l Press the Local Vector Line icon under Representations/Vector Lines and then click
on the cutting plane where you want to draw the streamlines from. The resulting streamlines
are presented in the following figure:
FIGURE 1.5
Flow visualization using velocity representations
Image recording
As the simulation results and observations are crucial, it could be convenient to properly record it.
To do so:
l Open File/Print ....
l Select format and other file options.
l Press Ok and set the name and the path of the recorded picture.
The view can be moved after clicking on the Dynamic Viewing icon .
2.1.1 Introduction
A. Problem Description
The geometry at hand is the DTMB Combatant. This geometry does not include any appendix
which makes it a perfect case for a first advancing boat simulation.
The simulation settings have an impact on the meshing methodology (mainly viscous layer
settings). In the following section (Flow Settings), a model scale resistance computation will be
initialized with the following settings:
l Reference length (LOA) of 6.17m;
l Velocity of 1.59m/s - Froude number of 0.20;
l Draft of 0 m in the reference model frame;
l Water density 1025.321kg/m³;
l Dynamic viscosity 1.131e-3Pa.s;
l Since the flow settings are symmetric, only half of the geometry will be meshed.
FIGURE 2.1
DTMB Combatant geometry
The aim of this tutorial is to provide step-by-step instructions of the simulation of a typical marine
case in order to learning the process of FINE™/Marine. The tutorial gives guidelines/ best
practices on the complete mesh set-up, flow settings and post-processing, also applicable to other
marine cases.
C. CPU Prerequisites
In order to ensure a smooth FINE™/Marine experience, it is advised to use a computer with the
following resources:
l 4GB of RAM;
l 5GB of disk space available to store all files;
l 64bits machine with 4 cores.
E. Preparation
l For Linux systems, you can access the FINE™/Marine v10.2 graphical user interface with the
following command line:
finemarine102 -print
l For Windows systems (Windows 7 and older), you can access the FINE™ /Marine v10.2
graphical user interface from the Start menu by going to /Programs/NUMECA
software/FineMarine102/FINE. In Windows 8 you can access it by going to the Start menu
and clicking on Search. Under Apps, there will be a section called Numeca software. Click on
FINE(#-bits) in order to open the FINE™ /Marine v10.2 graphical user interface.
A. Import geometry
l Open FINE™/Marine, select Create a new project/Creating a mesh and press Ok.
l Select a working directory, enter the project name DTMB_Combatant and press Ok.
Imported Parasolid™ model may be unclean (gaps, intersecting geometries, etc.). A checking
algorithm is included in HEXPRESS™ so as to confirm the geometry validity:
l Select the B1 body by left-clicking on it;
l Right-click on the highlighted body to access the options menu and release on Check. Wait a few
seconds to have confirmation that the geometry is clean.
l Press Ok to continue
The computational domain is usually defined as a box around the body. Standard domain sizes in
terms of LOA are:
l Longitudinal (commonly X-axis): 5.5 LOA. (for a Froude Number )
The future meshed domain is the bounding box B2 minus the ship's geometry B1 . Therefore, a
Subtractboolean operator is used during the next step.
C. Geometry subtract
All actions performed until now could be undone using the Undo button.
To verify that the resulting domain is indeed as expected, select the B2 body in the list, right-click
and release on Show as solid.
l Click on Apply to see the effect of the faceting settings in the graphics window.
These settings are important as the triangulation is the support for the future mesh. A visual check of
the triangulation quality, especially in the high curvature areas, is highly recommended before saving
the domain. If the geometry is not accurately respected, the faceting settings parameters should be
improved.
l When satisfied, click on Create to save the domain file under the name DTMB_domain in
the /_mesh subfolder of the project directory.
All boat parts are already named by patch. However, during the pre- processing of the simulation,
some physical values will be required. These variables will be computed using the Domhydro tool.
As an input, this tool requires a special naming of ship parts: all body faces have to include the suffix
_b1 (for body 1).
FIGURE 2.7
Bulb_b1
l Rename the hull, deck and transom patches by selecting them and adding the _b1 suffix, as
presented in the images below:
FIGURE 2.9
Deck_b1
FIGURE 2.10
Transom_b1
Using the same window, the renaming of the domain boundaries is also advised in order to ease
the pre-processing and the post-processing of the computation. To do so, rename each boundary
using the following corresponding names:
The visualization of the boundaries should help to verify the correct surface renaming:
FIGURE 2.11
ymin boundary
Meshing actions in HEXPRESS™ are mainly done at the level of edge or face entities. To reduce
the engineering time spent during the mesh set-up, the number of edges and faces should be kept
to a minimum (process called domain simplification). To reduce the initial number of faces and
edges, some of them have to be merged together.
By default, HEXPRESS™ captures all vertices and edges in the domain. This means, during the
merging procedure:
l Edges which represent a real geometrical feature or of great interest (possible cavitation,
separation, etc.) should be kept;
l Edges not representing a feature can be merged together;
FIGURE 2.12
Bulb_b1 face merging
l Select the Hull_b1 faces and press Merge. The following result should be obtained:
FIGURE 2.13
Hull_b1 face merging
One implicit step of the face merging is the edge merging. Indeed, the face merging will let
some insignificant vertices in the middle of edges. It is then important to remove them in order
to ease the mesh computation by HEXPRESS™.
H. Merge edges
The Merge Edges Automatically feature is used so as to ease this step, it will allow to verify
each edge merging before performing it:
The boundary type of each surface is more a physical parameter than a mesh parameter.
However, HEXPRESS™ will take into account these conditions to compute a mesh in
accordance with the future flow. For instance, a boundary layer mesh will be computed in our
case to properly capture the flow next to the wall thanks to a turbulence model. This is why it is
important to define the boundary conditions during the mesh setup.
By default, each physical boundary is defined as a SOLID. So, every boat surface is correctly
described. Only the box faces have to be changed.
l Since the flow is symmetric and only one half of the geometry is meshed, the ymin face has to
be defined as a Mirror plane. To do so:
FIGURE 2.14
Mirror plane definition
l Follow the same steps to define zmax, xmin, ymax, zmin and xmax as external boundaries.
The result is presented below:
Five steps are necessary to build an unstructured hexahedral mesh of the domain:
1. Initial mesh: create a very coarse to define the cell size in the far field.
2. Adapt to geometry: refine the initial cell size a certain number of times to better capture the
geometry.
3. Snap to geometry: project the refined cells onto the geometry.
4. Optimize: improve the mesh quality to remove all invalid cells.
5. Viscous layer: insert viscous layers to capture the turbulence.
Also, since the free surface will be the interface between two fluids, it has to be meshed more
accurately. For this purpose, it is convenient to define a geometrical surface at the location of the
initial free surface position. To do so:
l Under the Plugins/Marine/ menu, launch the Internal surface creation plugin.
l Define the initial position of the free surface:
B. Initial mesh
l After turning on the Initial Mesh checkbox of the Mesh Wizard, set the following values in
the Initial mesh parameters window:
l Press Ok and then Step. The initial mesh obtained is presented below:
FIGURE 2.18
Z view of the initial mesh
FIGURE 2.19
Volumic view of the initial mesh
Global refinement
l After turning on the Adapt to geometry checkbox of the Mesh Wizard, set the following
values in the Global tab:
FIGURE 2.20
Global parameters
It is really important to change the Maximum number of refinements value from 1 to 12.
As this is a Global parameter, a value of 1 would block every other refinement done in the
other tabs.
Then, the boat surfaces must be refined in order to properly capture the flow next to the wall. To
do so, the Surface refinement tab is used. Here, the strategy adopted for surface refinements is
to set the Target cell sizes to the minimum and to allow HEXPRESS™ to compute a maximum
number of refinements. Define the Surface refinement parameters for the Deck, the Transom,
the Bulb and the Hull according to the following images:
FIGURE 2.21
Deck refinement parameters
By default, the Max nb of refinements value is set to 10000. This is not compatible with a
Target cell sizes of (0,0,0) as HEXPRESS™ would refine this surface indefinitely. Do not
forget to change it!
l The strategy adopted for the free surface is different since 8 refinements have to be achieved
along the Z direction. However, the mesh must not be too refined along X and Y directions as we
do not want to create to much cells. This is why the Maximum aspect ratio need to be defined
to 128.0 in order to allow the mesh anisotropy close to the free surface.
l The Refinement diffusion in the advanced parameters is set to 4 in order to improve the free
surface capturing.
l Press Ok and then Step. The mesh computed during the adaptation step is presented below:
FIGURE 2.27
Z view of the adapted mesh
The X view image clearly shows the anisotropic property of the mesh: the cells are large along Y
axis whereas the Z cell dimension close to the free surface is small.
The surface refinements of the boat surfaces can be controlled with the Y view picture. As expected,
the Transom and the Bulb are more refined than the Hull for instance.
HEXPRESS™ includes a multi-threading capability allowing to speed up the Optimization step and
the optimization loops included inside the Viscous Layer insertion step.
To activate it, in Menu bar of HEXPRESS™: Project > Preference > Mesh generation >
Multithreading
Please refer to the HEXPRESS™ documentation for the advised number of threads.
l Turn on the Snap to geometry and the Optimize checkboxes and press Step for each one of
them.
l Display the resulting mesh on the ship by hiding the boundaries using the Face viewer button
and by clicking on . The optimized mesh is presented below:
l After turning on the Viscous Layer checkbox of the Mesh Wizard, open the Compute tool
so as to estimate the First Layer Thickness for a y+ of 40. To do so, enter the flow and
geometry properties into the following tool:
FIGURE 2.29
Compute first layer thickness menu
The Estimate button can be used to get a recommended Y+ value to be used with wall functions
depending on the scale of the problem. The formula used is the following:
FIGURE 2.30
Global parameters
The viscous layer parameters can now be controlled using the Surface tab. Transom_b1 and
Bulb_b1 patches should have the same settings:
FIGURE 2.31
Hull surface parameters
The Number of layers for each surface is defined by the tool according to the resulting mesh
after the Optimization step.
As the viscous stresses due to the air flow are negligible on the Deck, the boundary layer of this
surface will not be meshed.
l After clicking on Ok, press Step in order to complete the last step of the meshing process.
l Save the mesh at the end of the Viscous layer insertion thanks to the Save icon giving the
name "DTMB_mesh.igg" under the "_mesh" folder of the project.
The last step of the meshing process is to control the grid quality. To do so:
FIGURE 2.33
Orthogonality visualization
The Orthogonality must be always checked, the following empirical rules should be kept in mind:
l Minimal orthogonality > 5 deg: computation should pass without problems;
l 1 deg < Minimal orthogonality < 5 deg: if number of cells is limited (<1%), solver should pass;
l Minimal orthogonality < 1 deg: try to increase the orthogonality (check the domain validity and
the refinement level at first).
l Observe the Expansion ratio criterion as showed in the following picture. This criterion
should be kept under 50.
The Show markers option might be activated so as to locate the cells more easily.
For a quick quality check, under the Plugins/Marine/ menu, the Mesh_quality_check tool can be
used. A report will be generated with NUMECA advice.
l The mesh generation is now finished, go back to the FINE™/Marine interface by clicking on
the Go back to project set-up button.
l The Mesh properties menu appears. Check that the information is correct (Grid units set to
Meters) and click on Ok.
For the first resistance simulation, this tutorial will focus on two important steps of the project
setup:
A. Physical configuration
l Double-click on General Parameters menu, keep Steady active and click on Ok:
l In the Fluid Model window, press the Water properties button . Then, in the Salt Water
tab, select the 18.0°C line and press Ok. Click on Ok to exit from this menu.
In the Boundary Conditions menu, three tabs corresponding to the boundary conditions defined
in HEXPRESS™ are active. For each one of them, some boundary conditions are available for
the patches.
l Define the SOLID boundaries as in the following pictures:
Note that the Deck_b1 patch is defined as a Slip wall in order to correspond to the choice of not
inserting a viscous layer mesh on this surface.
l The ymin MIRROR plane can be checked as it is shown in the following image:
In order to solve the entire body motion, it is now important to group the boat patches under a
single body. To do so:
l Open the Body definition window.
l Select all the _b1 patches.
l Click on Create body.
l Set the body name to DTMB.
l Select the patch Bulb_b1 and click on Create sub-body. Set the sub-body name to Bulb.
D. Body motion
Now, in the Body Motion window, the DTMB motion can be defined.
l In the Motion definition tab of the Body Motion menu set the following parameters:
l Click on Ok.
l Press the Edit button of the QS parameters column and set the following parameters:
l Click on Ok.
Before moving on, some physical values are required in order to properly describe the dynamic
parameters of the DTMB:
l Center of gravity coordinates.
l Mass in kg.
In order to determine these physical values, the Domhydro tool is used to solve the
hydrostatic problem of the DTMB using the domain and boundary conditions files from
HEXPRESS™. Two modes are implemented in this tool:
l Hydrostatic Position => Parameters ( h2p ) : the body is assumed to be at the
hydrostatic position, the tool provide information on the body's characteristics (mass,
center of gravity, inertia tensor, etc.)
l Parameters => Hydrostatic Position (p2h) : the parameters of the body are known
(mass, position of the center of gravity), and the tool computes iteratively the hydrostatic
and the equilibrium positions.
In this case, the h2p (Hydrostatic Position => Parameters) mode is executed in order to
determine the mass and the boat center of gravity. This mode is incorporated in the
FINE™/Marine GUI. The procedure to use the tool is the following:
l Go to the Dynamic parameters tab in the Body motion menu.
l Click on the Estimate inertial data button to access the Domhydro tool.
The Quasi-Static approach is based on a succession of predicted body attitudes, this is why the inertia
tensor of the boat is not required (see Quasi-Static Approach for further details).
l Clicking the Apply button will automatically insert the calculated values into the Dynamic
parameters menu.
F. Mesh management
l Once again, the default initial Interface position (z = 0.0 m) is well defined in the Initial
solution window:
l In the Control Variables menu, set the following parameters and press Ok:
l Combining this Number of time steps and this Time step value will enable the computation to
reach a maximum of approximately 29 seconds.
l The convergence booster will reduce the computation time by using coarser settings at the
beginning of the computation.
l The convergence checker will stop the computation once Fx, Tz and Ry have been stable for
30% of the computed time. Here "stable" is defined as oscillations having an amplitude smaller
than 1% of the mean value, for each quantity.
During the computation these variables will be stored into the computation folder and their evolution
A. Parallel computation
Parallel computations are launched through the Task manager. To do so, follow the steps below:
It is recommended to assign a maximum of 300 000 cells per partition, for each GByte of RAM
available.).
l Select the machines on which to run the computation by clicking on Machines selection &
balancing.
The convergence history of the computation can be followed thanks to the Task Manager pop-up
To save and stop a computation while running, the Suspend Solver icon should be pressed.
However, to stop the computation without saving, the Kill Solver icon should be used.
B. Monitoring
l Press the Start Monitor button in the FINE™/Marine GUI and on Ok to open the
monitor.
In the Quantities to display menu, it is possible to follow the convergence history for a variety of
quantities (residuals, motions, forces and moments). Multiple components or quantities from
different computations can be displayed together as presented below.
l In the Residuals page activate Log scale
FIGURE 2.36
Speed and acceleration
The forces reported in the Monitor corresponds to the half body that has been simulated. The
complete hull drag is twice this value.
The relative Tz0 ( Tz0rel) during the motion can be observed: it directly gives the absolute heave of
the boat.
Open the file DTMB_Combatant_DTMB_1.259m_2.std in a text editor and go to the last time
step to check the Convergence checker information.
When the computation is finished or still running, the results can be visualized in CFView™ . To
access CFView™ from the FINE™/Marine graphical user interface, press the CFView™ button
.
l By default, the solid patches are selected. However, it is always more convenient to group
patches by boundary condition. There is two ways of doing this in order to obtain the picture
below:
l A half DTMB geometry has been input. Therefore, it would be more appropriate to represent
the entire body: under the Geometry menu, click on Repetition on/off:
Boundary icon .
l Double click on Mass Fraction from the Quantities to select it (the quantity will be marked
by a green tick when active)
l In the Representations area, click on the Contours & Iso-Values section to expand it.
l Click on the Iso-Surface icon and enter the value 0.5 in the keyboard input area, press
Enter, then click again on the Iso-surface icon to add the iso-surface in the list of available
surfaces.
The value of 0.5 of the mass fraction represents the contact surface between the two fluids: water and
air.
A new surface called ISO Mass Fraction=0.5.D1 has been added in the Surfaces list and is
displayed as a grid as presented below:
l Switch off the grid by clicking on the Toggle Grid icon in Representations/Grid.
l Click on Opacity in Representations and decrease the value to about 0.65 by dragging the
cursor (by default set to 1):
As the simulation results and observations are crucial, it could be convenient to properly record it.
To do so:
l Open File/Print ....
l Select format and other file options.
l Press Ok and set the name and the path of the recorded picture.
The view can be moved after clicking on the Dynamic Viewing icon .
l Compute the wetted surface value of the quantity by clicking on Scalar Integral icon
under Representations/Integrals.
l Read the result in the information bar:
l Check all solid patches are selected in the Surfaces list, press the Render Gouraud icon
to visualize the shaded body.
l From the Quantities list, select Relative Velocity.
l Press on the X button from the Create Cutting Plane window to generate a Y-Z plane.
l Use the left-right arrows from the Step Scrolling to move the cutting plane just before the
ship's bow. Decrease the Step value for more accurate translations, if needed.
The cutting plane has been added in the Surfaces list as CUT1.
l Press the Local Vector Line icon under Representations/Vector Lines and then click
on the cutting plane where you want to draw the 3D streamlines from. The resulting
streamlines are presented in the following figure:
3.1.1 Introduction
A. Problem Description
Ship hull performance calculations have become a classical procedure for marine CFD
computations. Decreasing the time of the complete simulation setup would simplify the procedure
for computations and provide quick and easy hull performance estimation as well as the resistance
curve for a particular hull. C-Wizard mode is introduced into FINE™/Marine software for these
purposes.
A full scale resistance computation for the KCS model is performed with the following settings:
l Reference length (Lpp): 230m;
l Velocity: 12, 18 and 24 kt; Froude numbers between 0.13 and 0.26
l Draft of 9m in the full scale ship frame of reference;
l Water density: 1026.021kg/m³;
l Kinematic viscosity: 1.19e-6m²/s.
B. Objectives
The goal of this tutorial is to provide step-by-step instructions for the C-Wizard mode resistance
calculation setup including additional numerical and flow parameters: Adaptive grid refinement,
actuator disk and external forces. The widely investigated full scale container ship (KCS) hull is
employed here for computation performance.
The tutorial gives best practices on the C-Wizard mode computation and mesh setup, giving the
flow and mesh settings details information. Indeed, parameters are imposed automatically by the
C-Wizard where the minimal user input is required. Geometry patches merging recommendations
are developed to support best practices for the challenging geometrical features.
C. CPU Prerequisites
In order to ensure a smooth FINE™/Marine experience, it is advised to use a computer with the
following resources:
E. Preparation
1. Locate and copy the file "KCS_ hull_ SVA_ cf_ withnames_ cf2.x_ t" into your working
directory (download Beginner tutorial archive).
2. Start FINE™/Marine v10.2.
l For Linux systems, you can access the FINE™/Marine v10.2 graphical user interface with the
following command line:
finemarine102 -print
l For Windows systems (Windows 7 and older), you can access the FINE™ /Marine v10.2
graphical user interface from the Start menu by going to /Programs/NUMECA
software/FineMarine102/FINE. In Windows 8 you can access it by going to the Start menu
and clicking on Search. Under Apps, there will be a section called Numeca software. Click on
FINE(#-bits) in order to open the FINE™ /Marine v10.2 graphical user interface.
Click here to start the C-Wizard setup...
A. Start C-Wizard
Launching the first part of the C-Wizard plugin is performed from the FINE™/Marine interface.
1.1. Open FINE™/Marine software.
When starting the C-Wizard when there is a project already opened in the FINE™/Marine interface,
a warning window will appear asking for the action to execute.
To save the ongoing project settings, select No, then save the project, go to Project > New and select
Using the C-Wizard again.
It is recommended to start the C- Wizard mode computation from the empty FINE™/Marine
interface since there will be a full-chain project setup provided. Selecting Yes in the warning will
close the opened project without saving and a new setup procedure will be started.
Create Project
2.1.1 Create a project by clicking the Create project button. In a browser define the project name
in the directory of your choice. Keep the default units.
2.2.1 Under Input geometry : select Parasolid/CATPart and click on the Import
Parasolid/CATPart file button ('*.x_t' and '*.CATPart' formats are available here).
The body and flow conditions here are symmetric, thus half of the body is used. It is also possible to
import an entire body geometry and create a half-body domain of computation. Running Half body
will speed up the computation, as the mesh size will be halved.
2.2.2.2 Under section Body orientation, activate Positive-X axis for CoG to bow and Positive-
Y axis for CoG to side.
The orientation of the X-axis is required to avoid defining negative speeds in the following entries;
Y-axis direction will help to define the domain configuration.
2.2.2.3 Select Yes under section Is the body aligned with Cartesian axis?
This question sets the Cardan angles. When Yes is selected, Cardan angles are automatically set to
zero.
2.2.2.4 Select Automatic (=LOA) under section Body reference length. The reference length
will be automatically measured by the C-Wizard and set to the Length Over All.
2.2.2.5 Select User defined and set the Z-coordinate to <9.0> under section Initial free surface
position.
The initial free surface is defined in the geometry coordinate system. In this case Z=0 is located at the
hull bottom.
2.3.1 In the section Speed definition: activate Resistance curve. Define V min = 12kt, V max =
24kt, Speed Increment = 6kt and press Enter.
Select Successive restarts to have each computation start from the result of the previous speed.
2.3.2 Keep deactivated the Scale input data (Froude number similarity).
If the user would like to run this project in model scale, all inputs should be given in full scale, and the
Scaling factor set to 0.0316. The C-Wizard would then take care of scaling the geometry and all settings to
keep a Froude number similarity.
Here the calculation is performed for the full scale ship and this option should not be activated,
2.3.3 In Fluid model section: keep default properties for Air and click on the Water properties
database button to change the water properties to Salt water at 15 °C. Click on OK to validate
the new properties.
When Activate body self update with Body drag is active, the thrust of the actuator disk is
automatically updated during the computation such as Thrust = Drag at a prescribed interval. The
interval corresponds to the frequency value.
2.4.2. Activate the Adaptive grid refinement on free surface, leaving the AGR setting to the
default Initial base refinement + AGR.
In full scale simulations the hull roughness will have a significant impact in the total resistance value
and it is important to define it according to the hull surface real conditions.
2.4.5 Set the number of cores per computation to <8> under the Computation resources.
2.4.6 Click on the Next>> to proceed to the domain creation and mesh setup.
A. Mesh Setup
The last page of the C-Wizard gives the user control on the domain and mesh setup.
This option will create a refinement sector with low aspect ratio cells covering the Kelvin angle area.
It will lead to a high resolution of the wave field, but it increases the number of cells in the mesh
considerably. For the current Froude number additional refinement of the wave field is not necessary,
thus this parameter is deactivated.
1.3 For the current computational project, geometry is checked and proper names were defined in
the CADfix software.
For the C-Wizard projects Merging by name is the priority. The reason behind this choice is
that a ship hull can be generally represented by several common parts like: bow, stern, deck, hull,
appendages, etc. Once names are defined, C-Wizard will perform merging and apply mesh
parameters automatically.
Two options are available from the C- Wizard mode: Merge faces with the same name and/or
Merge tangential faces.
The C-Wizard reads the name of every patch and merges the ones that are adjacent and with identical
names: all patches named "Bow_1" will be merged to one patch and named "Bow_1" . When preparing the
geometry, the user should give identical names to all patches that need to be merged together.
Patches named Bow_1 and Bow_2 will not be merged, but they will all get the mesh refinement settings
assigned to "Bow " in the refinement dictionary.
Each time two faces are merged, the new face gets an ID (ID's are incremented one by one). It
assigns specific values for the future mesh refinement strategy according to the name of the patch.
By default, the name will be the one which leads to the higher refinement.
1.4 Click on the Advanced>>> button to check the additional parameters.
1.9 In HEXPRESS™ , the following parameters based on the previous inputs are imposed:
l Domain with the internal free surface is created, merging by name is performed according to
the names of patches.
Initial mesh
2304 cells
B. Mesh Generation
HEXPRESS™ includes a multi-threading capability allowing to speed up the Optimization step and
the optimization loops included inside the Viscous Layer insertion step.
To activate it, in Menu bar of HEXPRESS™: Project > Preference > Mesh generation >
Multithreading
Please refer to the HEXPRESS™ documentation for the advised number of threads.
2.1 Click the Start button in the Mesh Wizard to generate the mesh.
2.2 Once the mesh is generated, click the Go back to the project set- up button to start
FINE™/Marine GUI.
1.1.2. Check the computed values and click on Next to finalize flow settings setup.
The computation C2_ 18.000kt has the following settings. They can be checked in the
FINE™/Marine interface.
Time configuration:
Steady
Fluid model:
Salt water at 15°C/Air
Flow model:
Reference length: 243.844m
Reference velocity: 9.259929m/s
Boundary conditions:
l SOLID
l Deck: SLIP
l all the rest SOLID: WALL FUNCTION with a sand grain height of 3e-05m.
Dynamic parameters:
2.4 The number of partitions is automatically set to the earlier specified value of <8>, or the
maximum number of cores available in the machine. Change this value if needed.
2.5. Select the computation C1_12.000kt and Click on Start button to start it.
When the solver finishes the computation, the Task Manager will display the computation status
it in the TASK MANAGER INFO window and the next queued computation will start
automatically.
2.6. While the computations are running the Monitor can be used to check the evolution of
the quantities.
In the Quantities to display menu, it is possible to select the quantities (residuals, forces,
moments, motions and actuator disk variables) for which one would like to follow the
convergence history or check the computed values.
Multiple components or quantities from different runs can be displayed together as presented
below. The button Add can be used to open several computations at the same time and compare
their results.
In the Residuals page, activate log scale to see the orders of magnitude the residuals have
decreased. And set the minimum Iterations value to remove initial peaks. The residuals by
themselves do not give us enough information to check convergence, forces and solved motions
should also be checked for stability.
FIGURE 3.2
Drag evolution and averaged value on the last 10% of each computation
FIGURE 3.3
Trim angle (Ry) evolution in the three computations
In this case the thrust of the actuator disk matches the drag of the hull. Note that the force value is
given for half the geometry, while the actuator disk thrust is given for the full disk.
C. Post Processing
Once the three computations have finished, select them under the list of computations and start the
results analysis tool by clicking on the icon .
Inside the global folder, a folder per computation is created. In this sub-folders, like C1_12.000kt,
the file computed_data.dat is saved. It contains the averaged values for each quantity and the
time and number of time steps needed to reach convergence for each quantity. Besides, the plots
of each quantity evolution during the computation are stored.
CFView™
3.2.1. To start the Post-processing, click on the CFView icon of the FINE™/Marine toolbar.
3.2.2. In the appearing selection menu, keep the Traveling shot based on Vessel and activate
Tx0 to open. This way the post-processing "camera" will remain centered on the ship. Click the
Ok button.
l Use the Set range button to set the same range from 7.7 to 11.8 in all results. Press Enter
to apply it.
l When all views are ready go to File > Print to save images. Select Active View to save only
one result image or Graphics Window to save the three results image. Deactivate Frame and
adjust the Quality value depending on the image's purpose.
l All steps performed can be recovered as python macros in File > Macro > Save All. This can
become useful to automate post-processing when you gain experience with the program.
As an Actuator disk was activated in the C- Wizard setup, the tool proposes the disk location by
default
4.1.1 Introduction
A. Problem Description
A propeller open water simulation is a classical marine application of CFD. Simplifying and
automating its complete simulation setup would decrease the required engineering time, allowing
the user to easily and quickly obtain the open water performance curve. For these purposes the C-
Wizard mode is introduced into FINE™/Marine software.
The model scale propeller DTMB 4119 is employed here to calculate its performance:
l Propeller diameter: 0.3048m;
l Propeller revolution rate: 600rpm;
l Water inflow velocity: 2.54m/s;
l Water density: 1,026kg/m³;
l Water kinematic viscosity: 1.189e-6 m²/s.
Water properties correspond to salt water at 15 degrees Celsius of the ITTC standards. Even
though only the computation corresponding to the operating point is performed, it is also
explained how to set up the computation to obtain the open water performance curve.
B. Objectives
The goal of this tutorial is to provide guidelines/ best practices for an open water calculation
through step-by-step instructions for the C-Wizard mode. Through its realization, the user will
learn how to:
l Use the wizard mode integrated into the FINE™/Marine interface called the C-Wizard;
l Set up an open water simulation;
l Generate a computational mesh in an automatic mode.
The present tutorial follows the general worflow of the C- Wizard mode, stressing and
highlighting the particularities of an open water application.
It is structured in five main sections:
l Part I describes the complete automatic project, mesh and flow solver setup.
l Part II and Part III describe in detail the mesh and flow solver setup respectively. These steps
are optional because they intend to enlarge user's knowledge about the workflow in
HEXPRESS™ and FINE™/Marine but they are not strictly necessary for a smooth
experience while doing this tutorial.
l Part IV deals with launching the computation with the Task Manager tool and monitoring its
evolution with the Monitor tool.
l Part V is entirely devoted to the post-processing of the results, both global quantities with the
Result Analysis tool and field quantities with CFView™.
Since this tutorial consists of detailed information about physical and numerical parameters
automatically imposed during the setup procedures, the user is invited to check the shell/ bash
window since relevant information will be displayed there during the process.
D. CPU Prerequisites
In order to ensure a smooth FINE™/Marine experience, it is advised to use a computer with the
following resources:
l 4GB of RAM;
l 7GB of disk space available to store all files;
l 64bits machine with 48 cores (minimum 24 cores).
1. Locate and copy the file Acoustic_DTMB4119_cf.x_t into your working directory (download
Basic tutorial archive).
2. Start FINE™/Marine v10.2
l For Linux systems, you can access the FINE™/Marine v10.2 graphical user interface with the
following command line:
finemarine102 -print
l For Windows systems (Windows 7 and older), you can access the FINE™ /Marine v10.2
graphical user interface from the Start menu by going to /Programs/NUMECA
software/FineMarine102/FINE. In Windows 8 you can access it by going to the Start menu
and clicking on Search. Under Apps, there will be a section called Numeca software. Click on
FINE(#-bits) in order to open the FINE™ /Marine v10.2 graphical user interface.
1. Click on Using the C-Wizard button to launch the wizard and then on Ok to confirm.
The C-Wizard plugin creates its own project as a step of the project setup procedure.
C-Wizard can also be launched by going to Plugins, then to Predefined and selecting the first
part of the wizard by clicking on C-Wizard_Part_l.
This first part of the wizard provides the user with a menu for the input parameters, extra
numerical models conditions, the domain creation and the mesh configuration setup.
If the C- Wizard is started when there is a project already opened in FINE™/Marine, a warning
To save the ongoing project settings select No, then save the project and return to the Plugins menu
to relaunch the C-Wizard_Part_l.
It is recommended to start the C-Wizard mode computation from the empty FINE™/Marine interface
since there will be a full-chain project setup provided. Selecting Yes in the warning window will
close the opened project without saving it and a new setup procedure will be started.
A. Project Management
2. Create a project by clicking on Create project button in the Project management section. In
a browser define the project name in the directory of your choice.
6. In the Input geometry section, select Parasolid/CATPart and click on the Import
Parasolid/CATPart file button ('*.x_t' and '*.CATPart' formats are available here). Download
the Basic Tutorial Archive.
Import the downloaded Parasolid file Acoustic_DTMB4119_cf.x_t.
7. In the Fluid orientation section, select Negative X-axis.
8. In the Sense of rotation of the propeller section, select Y -> Z.
9. In the Center of the propeller (propeller frame) section, select User-defined and keep the
coordinates (0,0,0).
10. In the Is the body aligned with the X-axis? section, select Yes.
11. In the Reference length definition section, select Automatic (=Radius).
After the previous settings, the Body configuration page should look as shown in the next figure.
C. Flow Definition
16. In the Flow speed section, set the flow speed to <2.54> [m/s].
17. Keep Independent computations selected.
18. In the Scale Input data (Reynolds number similarity) section, do not activate the Scaling
factor.
19. In the Fluid model section, click on Water properties database button and choose salt
water at 15 degrees Celsius. Click on Ok button to validate these new properties.
After the previous settings, the Flow definition menu should look as shown in the next figure.
D. Additional Inputs
E. Mesh Setup
Refinements on patches are applied according to their names and to the mesh density level. Indeed,
names and mesh density level are defined in the Refinement dictionary.
24. In the Extra refinement of the wake field section, select Yes.
Thanks to this option, an additional cylindrical sector with isotropic refinements is defined to
accurately capture the wake field and vortical structures such as the tip and hub vortices.
25. In the Merge faces with the same name section, select Yes.
Here the sensitive part of the computational project is merging. The way merging is done can
influence the computational process and results. Two options are available in the C- Wizard mode:
Merge faces with the same name and/ or Merge tangential faces.
For C-Wizard projects, the priority is Merge faces with the same name . The reason is that the
propeller, by experience, can be generally represented by several common parts like: shaft, hub, cap,
tip, trailing edge, leading edge, pressure side and suction side. It is up to the user to define how many
parts will be present in the model. By defining patch names inside a CAD software, such as CADfix,
the user will ensure that groups of patches with the same name will be correctly defined depending on
the computation specifics. Once names are defined, the C-Wizard will automatically perform merging
and apply mesh parameters.
The refinement dictionary file contains the mesh setup for an open water computation. The next
table summarizes from the refinement dictionary the refinement parameters of the main patches of
an open water application. Criteria, the number of refinements and the diffusion level are provided
for each mesh density level (Coarse/ Medium/ Fine).
HEXPRESS™ includes a multi-threading capability allowing to speed up the Optimization step and
the optimization loops included inside the Viscous Layer insertion step.
To activate it, in Menu bar of HEXPRESS™: Project > Preference > Mesh generation >
Multithreading
Please refer to the HEXPRESS™ documentation for the advised number of threads.
Based on all the previous input, HEXPRESS™ will take the following actions:
The next figure illustrates the computational domain with the propeller inside.
Since Merge faces with the same name was selected, all the patches with the same name were
merged.
Clicking on the Boundary conditions button the user can check how the external boundary
conditions of the domain were automatically defined and named: xmin, cylinder_side and xmax
correspond to the outlet, lateral and inlet boundaries respectively.
The mesh settings can be accessed through the Mesh Wizard menu of HEXPRESS™.
The next tables summarize the information and parameters contained in each section of the Mesh
Wizard menu.
Mesh generation
Click on the Start button in the Mesh Wizard menu to generate the mesh.
The mesh has a total number of cells of 7,516,260 including the viscous layer insertion.
Click on the Grid button in the HEXPRESS™ toolbar, select Mesh Quality ... and then use the
drop-down list of the Criterion section to check the value of each quality criterion. The next table
summarizes the most relevant criterion to be analyzed.
Criterion Value
Negative / Concave / Twisted cells 0/0/0
Minimum orthogonality 8.89 deg
Maximum cell non-orthogonality 18.52 (only one cell, else 13.8) deg
Maximum aspect ratio 9.56
Maximum expansion ratio 6.90
By generating the Fine mesh (41,944,521 cells) the quality of the grid can be improved but with a
larger computational effort. This improvement is reflected on these new values for the selected
criterion:
TABLE 4.2 Mesh quality summary for Fine mesh density level.
Criterion Value
Negative / Concave / Twisted cells 0/0/0
Before computing the whole performance curve, it is advisable to perform a mesh convergence study
with at least three geometrically embedded grids (Coarse, Medium and Fine) for a given operating
point.
Based on all the previous input, FINE™/Marine will set up the flow solver. The parameters
automatically defined during Part I can be checked through the Parameters section.
35. Click on Solver/Start button to start the computation, activate Parallel in Launching
mode section to select parallel computation and then click on Ok to go the Task Manager tool.
36. In the Task Arguments & Characteristics section, increase the Number of partitions up to
<48>.
37. For Linux , click on the Save Batch File button and then on the Start button to start the
computation.
B. Monitor tool
38. It is also possible to check the results history through the Monitor tool during the run or when
the computation is finished by clicking on the Start Monitor button .
In the Quantities to display section, the user can select the quantities (residuals, forces,
momentum and motions variables) for which one would like to check the convergence history or
the computed values. Multiple components or quantities from different runs can be displayed
together as presented below.
FIGURE 4.1
Propeller thrust
The time span of the plots of the propeller thrust and torque starts at 0.5 s to exclude the large
initial transients which preclude the analyst from observing the details of the time evolution of
these global quantities.
In this last section of the tutorial, the post-processing of the computation is presented. First with
the Result Analysis tool integrated into FINE™/Marine for studying the convergence of quantities
such as forces, moments, motions etc. Secondly with CFView™ to analyze in depth field
quantities such as the pressure, the velocity and its second invariant.
42. Click on the Perform button to start the analysis. Within the computation folder one new
folder named Convergence_report_date_time is created containing a file named convergence_
report.info and another folder named as the computation itself. The *.info file is a text file
summarizing the inputs introduced in the Result Analysis tool.
The resulting file from the convergence analysis is represented here below. It represents an extract
of the complete file.
Convergence report
==================
Project: /OW_CWizard_Tutorial/OW_CWizard_Medium_Grid/OW_CWizard_Medium_
Grid.iec
Computation: computation_600.0rpm
Mesh: /OW_CWizard_Tutorial/OW_CWizard_Medium_Grid/_mesh/Acoustic_DTMB4119_
cf.igg
Average values
Once the solution is converged, it is compared with the experimental data. The next table
summarizes the most relevant global quantities and compares experimental measurements with the
numerical simulation. The good agreement between the computation and the measurements can
be noted.
If the option Performance curve had been chosen in the Flow Definition section with a rotational
speed ranging from 600 rpm to 800 rpm and a speed increment of 50 rpm, the illustration of Kt,
10Kq and Efficiency for theses speeds would have led to the next plot. Once more, the good
agreement between FINE™/Marine and experimental measurements is remarkable.
43. In the FINE™/Marine toolbar, click on the CFView™ button to start the post-processing
of the flow field.
44. In the appearing menu Select result to open in CFView keep the Traveling shot based on
Propeller and do not activate Rx0, Ry0 and Rz0 to open. Click on the Ok button.
In the current tutorial pressure distribution, axial velocity and its second invariant colored by the
helicity are chosen for visualization.
45. In the CFView™ toolbar, click on the Macros menu and then select Group_patches_by_
type in order to ease the organization of the surfaces inside the Surfaces section.
The next pictures show the organization of the surfaces before and after the execution of the
macro.
FIGURE 4.4
After macro execution
46. Visualization of the pressure (normal stress) distribution on the propeller. The steps to perform
are:
l Keep the default selection in the Surfaces menu (all solid surfaces are selected);
l Select Pressure (normal stress) in Quantities menu;
l Click on the Smooth contour button in Contours & Iso Values section;
47. Visualization of the pressure (normal stress) distribution in the fluid. The steps to perform are:
l Keep the default selection in the Surfaces menu (all solid surfaces are selected);
l Under the Representations panel, apply the Render Gouraud from the Grid menu;
l Right click on ‘Solid’ group from the Surfaces panel and then on ‘Remove from Selection’ in
the Surfaces menu to deselect the solid surfaces;
l Choose Create Cutting Plane from the Geometry menu or click on the Cut button in the
Surfaces panel;
l Define the cutting plane:
l Point: (0,0,0);
l Normal: (0,1,0);
l Click on the Apply button and Save to save the cutting plane as a surface.
l Select Pressure (normal stress) in Quantities menu;
l Click on the Colormap Set Range button and enter the values -9000 1700 to adjust the
colormap range;
48. Visualization of the axial velocity distribution in the fluid field. The steps to perform are:
l Right click on ‘Solid’ group from the Surfaces panel and then on ‘Select’ in the Surfaces
menu to select the solid surfaces only;
l In the top bar, click on the Quantitymenu, Field Data, Vector Components, Velocity and
then on Velocity_X;
l Click on the Smooth contour button in the Contours & Iso Values section;
l Click on the Colormap Set Range button and enter the values -4.0 0.5 to adjust the
colormap range.
l Click on the Iso Surface button in the Contours & Iso Values section, enter a positive
value of the second invariant, <50> for the present tutorial, to define the iso-surface and click
again on the same button to save it. This iso-surface will appear in the Surfaces menu and will
be represented graphically with its triangulation;
l In Representations panel, select Toogle Grid under the Grid section;
l Make sure that the created Iso surface (‘ISO Q Invariant (Velocity) ) and the solid patches are
selected;
l Select Helicity in the Quantities menu;
l Click on the Smooth contour button in Contours & Iso Values section.
5.1.1 Introduction
A. Problem Description
A high Froude number simulation is a complex marine application of CFD, as it requires accurate
meshing and settings to compute correctly the high velocity flows. Simplifying and automating its
complete simulation setup would decrease the required engineering time, allowing the user to
easily and quickly setup and launch those cases. For these purposes the C-Wizard in Planing
regime mode is introduced into FINE™/Marine software. This is the dedicated mode for high
Froude number computations. It has the particularity to automatically place the boat close to its
final position using the Savitsky prediction method, to accelerate the convergence.
The Naples Systematic Series C1 model is employed here to calculate its performances:
l Reference length = 2.611 m;
l Velocity = 7.0 m/s; Froude number = 1.38;
l Mass = 106.7 kg;
l Maximum beam at waterline = 0.743 m;
l Mean deadrise angle = 14.0 deg;
l Thrust line to CoG distance = 0.193 m;
l Thrust line to keel line angle = 0.0 deg
l Water density = 999.1026 kg/m³;
l Water dynamic viscosity = 0.001138 Pa.s.
Water properties correspond to fresh water at 15 degrees Celsius of the ITTC standards.
References
"The Naples warped hard chine hulls systematic series" , F. De Luca, C. Pensa
https://doi.org/10.1016/j.oceaneng.2017.04.038
"Towards CFD guidelines for planing hull simulations based on the Naples Systematic Series", S.
Mancini et A. Ramolini, ECCOMAS Marine 2017
The goal of this tutorial is to provide guidelines/ best practices for high Froude number calculation
through step-by-step instructions for the C-Wizard mode. Through its realization, the user will
learn how to:
l Use the wizard mode integrated into the FINE™/Marine interface called the C-Wizard;
l Set up a planing regime simulation;
l Generate a computational mesh in an automatic mode;
l Visualize the solutions.
C. Methodology
The present tutorial follows the general work flow of the C- Wizard mode, stressing and
highlighting the particularities of a Planing regime application.
It is structured in five main sections:
l Part I describes the complete automatic project, mesh and flow solver setup.
l Part II and Part III describe in detail the mesh and flow solver setup respectively. These steps
are optional because they intend to enlarge user's knowledge about the work- flow in
HEXPRESS™ and FINE™/Marine but they are not strictly necessary for a smooth
experience while doing this tutorial.
l Part IV deals with launching the computation with the Task Manager tool and monitoring its
evolution with the Monitor tool.
l Part V is entirely devoted to the post-processing of the results, both global quantities with the
Result Analysis tool and field quantities with CFView™.
Since this tutorial consists of detailed information about physical and numerical parameters
automatically imposed during the setup procedures, the user is invited to check the shell/ bash
window since relevant information will be displayed there during the process.
D. CPU Prerequisites
In order to ensure a smooth FINE™/Marine experience, it is advised to use a computer with the
following resources:
l 4 GB of RAM (minimum 3GB);
l 7GB of disk space available to store all files;
l 64 bits machine with 24 cores (minimum 12 cores).
F. Preparation
1. Locate and copy the file C1_ssa_cf.x_t into your working directory (download Basic tutorial
archive).
2. Start FINE™/Marine v10.2
l For Linux systems, you can access the FINE™/Marine v10.2 graphical user interface with the
following command line:
finemarine102 -print
l For Windows systems (Windows 7 and older), you can access the FINE™ /Marine v10.2
graphical user interface from the Start menu by going to /Programs/NUMECA
software/FineMarine102/FINE. In Windows 8 you can access it by going to the Start menu
and clicking on Search. Under Apps, there will be a section called Numeca software. Click on
FINE(#-bits) in order to open the FINE™ /Marine v10.2 graphical user interface.
1. Click on Using the C-Wizard button to launch the wizard and then on Ok to confirm.
The C-Wizard plugin creates its own project as a step of the project setup procedure.
If the C- Wizard is started when there is a project already opened in FINE™/Marine, a warning
window will appear asking for the action to execute.
To save the ongoing project settings select No, then save the project and return to the Plugins menu
to relaunch the C-Wizard_Part_l.
It is recommended to start the C-Wizard mode computation from the empty FINE™/Marine interface
since there will be a full-chain project setup provided. Selecting Yes in the warning window will
close the opened project without saving it and a new setup procedure will be started.
A. Project Management
2. Create a project by clicking on Create project button in the Project management section. In
a browser define the project name in the directory of your choice.
B. Body Configuration
6. In the Input geometry section, select Parasolid/CATPart and click on the Import
Parasolid/CATPart file button ('*.x_t' and '*.CATPart' formats are available here). Download
the Basic Tutorial Archive.
Import the downloaded Parasolid file C1_ssa_cf.x_t.
7. The loaded geometry is the full body. Hence, select Entire body.
8. In the Body configuration section, select Cut body in two (with mirror plane).
This value is a correction applied to the predicted pitch value. Indeed, the Savitsky prediction method
has shown the tendency to over predict the pitch. Hence, one propose to apply by default a - 30%
correction on the predicted pitch, which is accurate in most cases. In this case, the default value would
have required few extra time steps, hence the value of -10% is taken instead.
After the previous settings, the Body configuration menu should look as shown in the next
figure.
C. Flow Definition
15. In the Speed definition (positive value(s) ) section, set the Single speed to <7.0> [m/s].
16. In the Scale Input data (Froude number similarity) section, do not activate the Scaling
factor.
17. In the Fluid model section, leave the default values.
18. Click on the Next >> button to move to the Additional inputs menu.
D. Additional Input
This menu allows to activate an Actuator disk and/or a Drag based external force. This could
be used to pull the boat by its exact propulsion point. It is also possible to activate the Adaptive
grid refinement on free surface to improve the mesh quality around the free surface
automatically during the computation, and hence obtain a better definition of the wave pattern. In
this tutorial none of these options is used, to accelerate the computation time. The Convergence
checker and wall roughness options are also left unchecked.
19. Finally, the number of cores per computation should be set to <48> under Computation
resources or the maximum number of cores available on your machine. This will automatically
set up the computation with the right number of cores in the Task Manager.
20. Click on the Next >> button to move to the Mesh setup menu.
E. Mesh Setup
Thanks to this option, an additional refinement sector (using the Kelvin angles) is defined to
accurately capture the wave system generated by the boat.
23. In the Merge faces with the same name? section, leave No.
Here the sensitive part of the computational project is merging. The way merging is done can
influence the computational process and results. Two options are available in the C- Wizard mode:
Merge faces with the same name and/ or Merge tangential faces.
24. In the Merge tangential faces? section, select Yes and enter the value <170.0> [deg]
This option is exactly the same as the one in HEXPRESS™ (Domain Manipulation) and when
activated it checks if the neighboring patch has a tangent angle greater than a specified one and merge
if it is greater. This method is especially helpful when the imported geometry contains a big number
of patches.
25. Click on the Advanced >>> button to check the additional parameters.
26. In the User-defined domain size section, do not activate it.
When not active, the default domain is set to a box with 1.5 LOA before the boat, 1.5 LOA below, 1.5
LOA on the side, 1 LOA above. The number of LOA behind the boat (in the wake) depends on the
Froude number: 3 LOA for Fr ≤ 1, 4 LOA for 1 < Fr < 1.5 and 5 LOA for Fr ≥ 1.5.
From the file savitsky.output stored in the project folder, one can retrieve the values of the Savitsky
prediction method.
HEXPRESS™ includes a multi-threading capability allowing to speed up the Optimization step and
the optimization loops included inside the Viscous Layer insertion step.
To activate it, in Menu bar of HEXPRESS™: Project > Preference > Mesh generation >
Multithreading
Please refer to the HEXPRESS™ documentation for the advised number of threads.
Based on all the previous input, HEXPRESS™ will take the following actions:
The next figure illustrates the computational domain with the half boat inside.
Clicking on the Boundary conditions button the user can check how the external boundary
conditions of the domain were automatically defined and named in accordance with the global
reference frame: ymin_SYM, zmax, xmin, ymax, zmin and xmax.
Mesh setup
The mesh settings can be accessed through the Mesh Wizard menu of HEXPRESS™.
The next tables summarize the information and parameters contained in each section of the Mesh
Wizard menu.
Mesh generation
Click on the Start button in the Mesh Wizard menu to generate the mesh.
TABLE 5.1 Mesh quality summary for the Medium mesh density level.
Criterion Value
Negative / Concave / Twisted cells 0/0/0
Minimum orthogonality 19.18 deg
Maximum cell non-orthogonality 32 deg
Maximum expansion ratio 8.7
Based on all the previous input, FINE™/Marine will set up the flow solver. The parameters
automatically defined during Part I can be checked through the Parameters section.
Computation
control
Computation General As this computation is made to reach a steady state computation and the
control boat is placed in a position closed to the final one, those parameters are
variables appropriate.
Maximum number of non-linear iterations: 5
Convergence criteria 2 orders
Number of time steps: 2000
General > Solver method: Dynamic switch
Advanced The solver will automatically switch between PCGSTAB_MB and
BoomerAMG to use the most efficient pressure solver.
PCGSTAB_MB: 2 orders, maximum of 300 iterations
BoomerAMG: 3 orders, maximum of 60 iterations
Expert The weighted deformation coefficients are modified to allow more
parameters deformation.
WeightCoefModifLaw_ : 3.0 0.85
33. Click on Solver/Start button to start the computation, activate Parallel in Launching
mode section to select parallel computation and then click on Ok to go the Task Manager tool.
In the Task Arguments & Characteristics section, the Number of partitions was already set to
<48> or the highest available number of partitions on the machine, based on the C-Wizard input.
34. For Linux , click on the Save Batch File button and then on the Start button to start the
computation.
Once the solver has finished the computation, theTask Manager displays the computation status
in the TASK MANAGER INFO window, where the status is "finished" for pre-processing,
solver and post-processing.
B. Monitor tool
35. It is also possible to check the results history through the Monitor tool during the run or when
the computation is finished by clicking on the Start Monitor button .
In the Quantities to display section, the user can select the quantities (residuals, forces,
momentum and motions variables) for which one would like to check the convergence history or
the computed values. Multiple components or quantities from different runs can be displayed
together as presented below.
For the forces Fx and Fz, the time span of the plot starts at 0.012 s to exclude the initial peak which
preclude the analyst from observing the details of the time evolution of these quantities.
The computation has been made in Half body , hence the forces values need to be multiplied by a
factor 2.
In this last section of the tutorial, the post-processing of the computation is presented. First with
the Result Analysis tool integrated into FINE™/Marine for studying the convergence of quantities
such as forces, moments, motions etc. Secondly with CFView™ to analyze in depth field
quantities such as the pressure, the velocity and its second invariant.
39. In the Plot options section, select the Double the drag Fx for a half body simulation
option. This option will double the drag value, to obtain the full body drag.
40. Click on the Perform button to start the analysis. Within the computation folder one new
folder named Convergence_report_date_time is created containing a file named convergence_
report.info and another folder named as the computation itself. The *.info file is a text file
summarizing the inputs introduced in the Result Analysis tool.
The section devoted to the table of quantity values shown in this convergence report has been cut
(...) for illustrative purposes.
Convergence report
==================
Project: /Tutorial5_CW_Planing_regime/Tutorial5_CW_Planing_regime.iec
Computation: C1_7.0ms
Mesh: /Tutorial5_CW_Planing_regime/_mesh/C1_ssa_cf.igg
Average values
B. CFView™
41. In the FINE™/Marine toolbar, click on the CFView™ button to start the post-processing
of the flow field.
42. In the appearing menu Select result to open in CFView keep the Traveling shot based on
Vessel and only activate Tx. Click on the Ok button.
44. In the menu Macros, select Represent_free_surface to render the free surface colored by its
elevation.
The appropriate files (and any other relevant files used in the tutorial) can be downloaded from
the corresponding link: download Advanced level files. In addition they are available from the
Products page of the Customer Area (www.numeca.com).
Some of the project files (mesh and project, excluding solution files) can also be found in the
demo cases package dedicated to ready-to-run demonstration cases and presented in the Demo
Cases section. This allows to quickly start a calculation and observe the behavior of
FINE™/Marine, without necessarily going through all the steps of the tutorials.
Several conventions are used in the tutorials to facilitate your learning process.
Following a short introduction, each tutorial is divided into 3 sections respectively related to mesh
generation, settings and calculation, and post-treatment.
Inputs required to execute the tutorials are most often restricted to the geometry, either in a ".dom"
or CAD related format, and profiles of boundary conditions.
The sequence of actions to be executed are described through a step-by-step approach, in the form
of Arabic numbers.
Additional insight about some specific actions and/ or features is frequently added to illustrate the
tutorial further. This information is proposed for the purpose of clarity and completeness, and
should not be executed. It appears as a note with a light blue background.
The calculations executed to illustrate the behavior of the flow solver include a "reasonable"
number of grid points, so as to limit the computational resources required to complete the tutorials.
As a consequence, most of the underlying flow solutions must be considered as qualitative.
Additional mesh refinement may be required in some circumstances so as to obtain a more
quantitative picture.
Contact NUMECA local sales or support office for any question or information you may require. To
allow NUMECA local sales or support office to help you out within the shortest delays, please
provide a detailed description of the observed behavior and performed analysis.
The resolution of computational fluid dynamics (CFD) problems involves three main steps:
l spatial discretization of the flow equations,
l flow computation,
l visualization of the results.
In order to perform these steps, three software systems have been created:
l HEXPRESS™ (developed by NUMECA), is an automated all-hexahedral unstructured mesh
generator.
l ISIS-CFD (developed by the CNRS and the Ecole Centrale de Nantes), is a 3D unstructured
flow solver able to simulate Euler or Navier-Stokes (laminar or turbulent) flows.
l CFView™ (developed by NUMECA), is a highly interactive Computational Field
Visualization system.
These three software systems have been integrated in a unique and user-friendly Graphical User
Interface (GUI), called FINE™/Marine, allowing the solution of complete simulations of 3D
internal and external flows from the grid generation to visualization, without any file
manipulation, through the concept of a project. Moreover, multitasking capabilities are
incorporated, allowing the simultaneous treatment of multiple computations.
Tutorials shows how to:
l use the HEXPRESS™ user interface,
l generate a mesh with HEXPRESS™ ,
l progress in the mesh wizard to generate the mesh and multi-domain mesh,
l visualize a mesh,
l control the quality of the mesh,
l set up a computation in the FINE™/Marine interface,
l start/ stop the computation,
l visualize the results with CFView™, making an animation.
l import an external geometry.
1.1.1 Prerequisites
It is strongly recommended to perform basic tutorials 1 and 2 before starting this advanced
tutorial.
FIGURE 1.1
Appended DTMB 5415
1.1.3 Preparation
1. Locate and copy the file "DTMB5415_ Appended.X_ T" into your working directory
(download Advanced tutorial archive).
2. Start FINE™/Marine v10.2.
l For Linux systems, you can access the FINE™/Marine v10.2 graphical user interface with the
following command line:
finemarine102 -print
l For Windows systems (Windows 7 and older), you can access the FINE™ /Marine v10.2
graphical user interface from the Start menu by going to /Programs/NUMECA
software/FineMarine102/FINE. In Windows 8 you can access it by going to the Start menu
and clicking on Search. Under Apps, there will be a section called Numeca software. Click on
FINE(#-bits) in order to open the FINE™ /Marine v10.2 graphical user interface.
FIGURE 1.2
HEXPRESS™
A. Import Geometry
1.1. Open FINE™/Marine, select Create a new project/ Creating a mesh and press OK.
1.2. Select a working directory, enter the project name Full_Appended_DTMB and press OK.
1.6. Select all bodies: left-click on the first body, hold the <Shift> button and left-click on the last
item (<Ctrl> + left-click also works to make multiple selections).
1.7. Right-click and hold on any highlighted item in the list to access the options menu and release
on Check. Wait a few seconds to have confirmation that the bodies are clean.
When the imported bodies are not clean, one needs to resort to for example CADfix.
The computational domain is usually defined as a box around the body. Standard domain sizes in
terms of LOA are:
l Longitudinal (commonly X-axis) 5.5LOA
l Lateral (commonly Y-axis) 2LOA
l Normal (commonly Z-axis) 2.5LOA
l Volume in space 27.5LOA³
2.1. Click on Create Box under the CAD Manipulation menu in the Quick Access Pad (QAP).
2.2. For the first corner enter <-9.645,0,-9.007>.
2.3. Click on Apply.
2.4. For the second corner enter <24.28,12.34,6.418>.
2.5. Click on Apply.
2.6. Click on Accept.
The domain that will be meshed is the bounding box minus the ship'sgeometry. To obtain this, a
boolean operator Subtract is used.
2.14. Check that the body 'B1' is selected in the CAD Manipulation/ Visualization/Selection list
in the QAP.
2.15. Click on Create Domain under CAD Manipulation/Create/Edit and a rough initial
domain will be generated.
2.18. When satisfied, click on Create to save the domain file under the name "FA_DTMB_
domain" in the "/_mesh" subfolder of the project directory.
2.20. Use the Solid Toggle button to view the domain as wire-frame or solid.
Meshing actions in HEXPRESS™ are mainly done at the level of edge or face entities. To reduce
the engineering time spent during the mesh set-up, the number of edges and faces should be kept
to a minimum (process called domain simplification).This section will illustrate
l Manual merging of faces and edges
l Automatic merging of faces and edges
Click on Domain Manipulation in the QAP to expand the options.The following philosophy is
usually followed when merging edges and faces. By default, HEXPRESS™ captures all vertices
and edges in the domain. This means:
l Edges which represent a real geometrical feature or of great interest (possible cavitation,
separation, etc) should be kept.
l Edges not representing a feature can be merged together;
l Try to avoid vertices with a connectivity equal or larger than 4 (connected to 4 edges).
As a first step, the Automatic Face Merge option with large feature angle is used to merge faces
that are well aligned.
3.1.1. Click on Domain Manipulation in the QAP to expand the options.
3.2.1. Manual face merging follows to merge the remaining faces of interest. First, the feature
angle needs to be reset.
3.2.2. Click on the settings icon under Domain Manipulation in the QAP.
3.2.3. Set feature angle (degrees) to <0><Enter> (hence no restriction in merging operations).
3.2.4. Press Apply.
When manually merging, the edges/faces that will be merged are highlighted in green. If they do not
highlight, it is likely that the feature angle is set too high.
3.2.5. Press on the Face Merge icon and click on the edges in the figures below to merge the
neighboring faces:
After the face merging, the original vertices still remain (which will be captured during the mesh
generation).
3.3.1. Click on the display vertex icon under View/Display Options in the QAP to visualize
them (white dots in the display area).
3.3.6. Refresh the display by clicking twice on the vertex icon under View/Display Options
in the QAP to obtain the same result as in the following figure.
Edge Splitting
To prevent a low quality of the future mesh in difficult areas as intersections of sharp edges with the
body, it is recommended to split edges or faces in that vicinity for a further refinement during the
mesh generation, thus avoiding a high discretization of a large area and therefore the generation of
unnecessary cells.
3.4.1. Press on the Split Edges button under Domain Manipulation in the QAP.
3.4.2. Zoom in on the brackets and move the cursor near one of the trailing edges. The curve will
be highlighted in green and a white circle will indicate the splitting point.
3.4.3. Left-click at approximately 10% of the trailing edge length from the bracket's root, as
shown in the following figure. Repeat for the second bracket.
Starting from this step, user can continue with his own project files or use the domain file
called "Full_Appended_DTMB.dom" that is provided in the documentation package (stored
under Tutorials/_advanced/Tutorial_1/_dom/). For this purpose, click on Project/New and
import the domain (".dom").
D. Boundary Conditions
Before proceeding with the actual mesh generation, it is recommended to set the boundary
conditions. This section explains how to:
l Assign names to surfaces;
l Assign boundary condition types to surfaces.
4.4. First set the names and BC type for the bounding box as presented below:
This can be done every time a face is renamed correctly in order to ease the selection process.
4.5. Now rename and set the BC type for all the remaining surfaces as presented below:
Initial Mesh
5.1.6. Switch between wire-frame and shading view by clicking on under View/Display
Options in the QAP and show or hide the mesh using the mesh toggle button .
In FINE™/Marine, the free surface should be captured correctly. For this purpose, a refinement zone
should be created as an internal surface. Various ways of creating it are possible, but for the purpose
of this tutorial, a lofted surface between two polylines will be exemplified.
5.2.3. Enter the first coordinate <-9.645 0 0.248> in the input keyboard area at the bottom of the
graphical area and press <Enter>.
5.2.4. Enter the second coordinate <-9.645 12.34 0.248> in the input keyboard area at the bottom
of the graphical area and press <Enter>.
Note that the curve orientation (begin point to end point) needs to be the same for both polylines to
avoid a twisted lofted surface.
Note that an internal surface can also be created using a plug-in. In the interface Plugins -> Marine
-> Internal surface creation. This will give an option to specify the height at which the internal
surface is located. Give <0.248> as the z constant surface value to get the internal surface as shown
in the above figure.
This step is probably the most important in terms of user interaction in HEXPRESS™ . Indeed, the
selected parameters directly dictate the computed mesh obtained with HEXPRESS™ . The adaptation
step consists of two successive actions: the refinement and the trimming. During the first one,
HEXPRESS™ adapts the initial mesh such that the cell sizes satisfy geometry dependent criteria.
With the second step, it removes cells intersecting the geometry or located outside the computational
domain.
Global Refinement
5.3.1.1. Select and open the Adapt to geometry menu in the Mesh Wizard.
5.3.1.2. Under the Global parameters tab, set the Maximum number of refinements to
<12><Enter>.
In order to limit the number of cells created during refinement, HEXPRESS™ subdivides cells
anisotropically as often as possible. A cell can thus be subdivided in 2, 4 or 8 cells.
The adaptation process successively bisects the cells flagged for refinement in one or several different
directions. The sizes of the initial mesh cells are therefore divided by a factor 2 N after N successive
refinements. This may result in an exponential growth of the total number of cells in the mesh, even
though the refinement may be confined to some areas of the computational domain. To bound the
number of cells, the user should set the maximum number of refinements to a reasonable
limit.Several global expert parameters are available when clicking on Advanced >>> button to
finely tune the mesh adaptation process. Since HEXPRESS™ is optimized for these defaults, any
modification may therefore alter the success of the meshing process. More details are available in the
User Manual.
The adaptation process is defined by three classes of criteria: curve, surface and volume criteria.
Surface criterion considers cells intersecting solid surfaces as candidates for refinement. Three criteria
are implemented and are respectively based on:
l a proximity between surfaces (Distance),
l a surface curvature measurement (Curvature),
l a specification of cell target sizes on the surfaces (Target cell sizes).
Volume criterion (found in Box Adaptation tab) is considering cells which are intersecting or
located inside a three-dimensional volume as candidates for refinement if their cell size is larger than
some user prescribed target size.
To save engineering time, surfaces belonging to a certain component of the ship or with similar
characteristics, can be grouped together so that the refinement parameters have to be set just once, for
the entire group. Note that the group names have to be unique.
To make a group:
5.3.2.2. Select the patches of interest in the list (multi selection with <Shift> or <Ctrl> key) or
interactively from the graphical window (<Ctrl> key for multiple selection), selected surfaces are
highlighted in yellow (click again on a surface to deselect it). Click the middle mouse button to
scroll through surfaces hidden after each other.
5.3.2.3. Click on Group.
5.3.2.4. Give a name to the group and press <Enter>. A "˜+"™ sign appears in front of the group.
5.3.2.5. Create the groups as presented in the following figure, by selecting the surfaces from the
list or interactively from the graphic area:
The refinement settings for the group 'bracket_ LE' will be given as example, complete the
parameters of all other groups as presented in the following table.
5.3.3.1. Click on Active.
5.3.3.2. Set Max nb. of refinements to <11> <Enter>.
5.3.3.3. Activate Curvature and Target cell sizes criteria.
5.3.3.4. Enter target cell sizes along X, Y and Z axis as <0.0017> <Enter>.
The Maximum number of refinements per surface ultimately controls the refinement of cells
The part of the shaft that is connected to the hull is displayed in the following figure.
The other parts of the shaft can be seen in the following figure.
Curve Refinement
5.3.4.1. Click on the Curve refinement tab. All the curves to be refined are highlighted in the
following figure, but individual parameters should be completed as presented in the following
table.
5.3.5.2. In this tutorial, a refinement box will be used to prepare a zone of refinement for the
actuator disk model, if such is applied.
5.3.5.3. Click on New.
5.3.5.4. Press <c> to place the first corner.
5.3.5.5. Left-click in the input keyboard area.
5.3.5.6. Enter the first coordinate <5.38 0.065 0.14> in the input keyboard area (values separated
with a space).
5.3.5.7. Press <Enter>.
5.3.5.8. Left-click in the input keyboard area.
5.3.5.9. Enter the second coordinate <5.43 0.265 -0.06> in the input keyboard area.
5.3.5.10. Press <Enter>.
5.3.5.11. Left-click in the graphics area to accept the box.
5.3.5.12. A yellow box appears in the window.
Refinement settings for the box:
5.3.5.13. Keep Active selected.
The option Volumic means the box volume will be refined. When not active, only the solid surfaces
inside the box will be refined
Trimming
The trimming step removes all the cells intersecting or located outside of the geometry.
5.3.6.1. Click on the Trimming tab.
Note that not all surfaces appear in the list: only all EXT, MIR and SOL surfaces which are planar.
The trimming step removes all the cells intersecting or located outside of the geometry.
way is to make cutting planes in the domain by clicking on the icon in the viewing buttons or
press <F5>:
Press <x> to make a x-constant cutting plane.
Holding the middle mouse button slides the plane.
Pressing <F1> access the dynamic view options to reorient the camera position.
Pressing <Esc > returns to the cutting plane options.
Pressing <Esc > once more removes the cutting plane.
After grid adaptation, a volumic mesh is created, meaning it is not projected or snapped onto the
actual model. The snapping step takes care of this process. By default, no user input is required.
The aim of this fully automated mesh generation step is to project the staircase mesh obtained after
the mesh adaptation on the surface to obtain a good quality body conforming mesh. In addition to a
simple projection on the geometry, this action involves sophisticated algorithms to recover lower
dimensional geometric features such as corners and curves in the mesh. These algorithms guarantee
that, when the mesh is projected onto the surface geometry, a mesh vertex is attached to each corner
of the geometry and that a path of mesh edges is attached to the curve.
Layers of additional cells (buffer insertion) are introduced into the mesh to create a body conforming
mesh.
Finally, the mesh is smoothed by moving points on the surface and in the volume.
5.4.1. Select the Snap to geometry step by ticking the yellow box in the Mesh Wizard.
5.4.2. Click on Step under Mesh Wizard in the QAP to proceed with the snapping step.
5.4.3. Display mesh and shading by clicking on the icons and under View/Display
Options in the QAP.
5.4.4. Left-click on Mesh quality icon in the toolbar to check the mesh quality.
5.4.5. Select successively the Negative, Concave, and Twisted Cells criteria.
Optimization
HEXPRESS™ includes a multi-threading capability allowing to speed up the Optimization step and
the optimization loops included inside the Viscous Layer insertion step.
To activate it, in Menu bar of HEXPRESS™: Project > Preference > Mesh generation >
Multithreading
Please refer to the HEXPRESS™ documentation for the advised number of threads.
5.5.3. Display mesh and shading by clicking on the icons and under View/Display
Options in the QAP.
5.5.4. Left-click on the Mesh quality icon in the toolbar to check the mesh quality.
5.5.5. Select successively the Negative cells, Concave cells, Twisted Cells, and Orthogonality
as Criterion.
An important check of the mesh quality is to detect the presence of negative cells, i.e. cells with a
negative volume. Negative cells are not allowed in the final mesh to be used for the computation.
Concave or twisted cells are less likely to present robustness or stability issues for solvers, however
they should be prohibited.
When negative, concave or twisted cells are detected, they should be usually removed by changing
mesh adaptation settings. Please refer to the user manual for more details.
In case the optimizer cannot make the mesh valid then use relaxation, as a last resort to relax from
geometry. It is rarely used in marine applications.
Furthermore, the cell orthogonality, aspect ratio and expansion ratio can be controlled. There are
presented through histograms. Each bar represents the number of cells whose criterion value is
included in the bar interval. By left-clicking on one of the bars, the corresponding cells are displayed
In case the optimization step was unsuccessful, meaning negative, concave or twisted cells
remained, the box in front of the step would be red.
5.6.1. Select the Viscous layers step by ticking the yellow box.
5.6.2. Left-click on Viscous layers in order to view/edit the settings.
In the Global tab, the user can select two viscous layers insertion methods: with or without inflation.
By default, inflation with a floating number of layers is selected.
The width of the first cell close to the wall must be selected with care since the quality of the flow
solution will often depend upon the capture of the flow phenomena inside the boundary layers which
develop along the solid walls. Depending upon the turbulence model selected, NUMECA recommends
to locate the nearest grid point along the wall, at a distance that corresponds to parietal coordinate y+
ranging from 1-5 (low Reynolds number models) or 20-50 (high Reynolds number models). Besides,
FINE™/Marine proposes extended wall function models as well, which allows to use y+ range of 20-
50 for low Froude numbers and 50-300 for high Froude numbers.
The relation between the parietal coordinate y+ and width of the first cell close to the wall y is driven
by the Blasius equation, expressed as follows for turbulent flows:
where:
5.6.7. The viscous layer settings are first layer thickness, growth ratio and number of layers.
Commonly, the first layer thickness and growth ratio are the same for all surfaces.
5.6.8. Select all groups except the deck (use <Shift> key or drag the cursor over the groups names
in the list).
5.6.9. Click on Active.
5.6.10. Click on Compute to define the first layer thickness:
HEXPRESS™ contains a tool to estimate the first layer thickness as a function of y +, reference
length, reference velocity and kinematic viscosity.
5.6.11. Set y+ to <50><Enter>;
5.6.12. Set reference length to <5.72><Enter>;
5.6.13. Activate reference velocity and Kinematic viscosity;
5.6.14. Set reference velocity to <2.1><Enter>;
5.6.15. Set Kinematic viscosity to <1e-6><Enter> (for water).
5.6.16. The tool suggests a first layer thickness of about 1e-3m (ywall).
5.6.17. Click on Apply to impose it on all selected surfaces.
HEXPRESS™ gives an indication about the appropriate number of viscous layers to insert. This
number is computed based on the current mesh after optimization (this indication is not available if
the optimization step is not performed yet). This value will be the minimum to activate the inflation
method.
The mesh statistics are contained in the ".qualityReport" file, but also retrieved in the
HEXPRESS™ GUI as described before.
Due to the complexity of this tutorial, the numerous number of steps which must be performed
and the small differences between software versions, slight variation of the mesh quality may
occur, but it should be in the range of the following values :
Number of cells : 3,100,000
No negative, concave and twisted cells
Minimal orthogonality 5 [deg]
Average orthogonality 80 [deg]
Maximal aspect ratio 150
Average aspect ratio 5
Maximal expansion ratio 12
Average expansion ratio 1.5
F. Save Project
6.1. Go to Project/Save or click on the Save icon and save the project under the '_mesh'
folder.
The mesh folder contains the mesh topology, geometry, grid points and the boundary condition types
among others:
l '.bcs': boundary conditions file,
l '.dom': geometry file,
l '.igg': topology file,
l '.hex': grid points file,
l '.rep': report file,
l '.dist': distance file,
l '.fnmb': FNMB connections,
6.2. Click on the Go back to project set- up button to impose the flow settings in the
FINE™/Marine GUI.
6.3. The Mesh properties menu appears. Check that the information is correct (Grid units set to
Meters) and click on Ok.
You are now back to the FINE™/Marine interface and ready to click on the link and proceed
with the computation setup!
A. Physical Configuration
General Properties
1.1.1. In the Physical configuration menu, double click on General parameters and keep
Steady active.
1.1.2. Click on Ok to confirm.
Fluid Model
1.2.1. Double click on Fluid model and keep Multi-fluid active and the default fluid settings.
Flow Model
C. Body Motion
3.11. Click on the Dynamic parameters tab, activate the Half Body option, and complete the
longitudinal and vertical position of gravity center and the mass:
l Set X_CG and Z_CG to <2.9> [m] and <0.15> [m] respectively;
l Set the Mass to <558> [kg].
D. Mesh Management
6.1. In the Numerical parameters menu, double click on Numerical schemes and keep the
default settings.
6.2. Press Ok to confirm.
Control Variables
7.1.1. In the Computation control menu, double click on the Control variables menu.
Impose the following computation settings under the General/Parameters menu:
l Maximum number of non-linear iterations: <4>;
l Convergence criteria: <2> orders;
l Save solution every: <50> time steps;
7.1.2. Under Time step parameters, set the Number of time steps to: <800>.
7.1.3. Select (from the cascade list) the UNIFORM Time step law.
7.1.4. Tick the Activate sub-cycling acceleration box.
To reach a steady state flow in computations with an interface capturing methodology, an unsteady
approach is mandatory. The discretization of the volume fraction transport equation needs specific
compressive schemes to accurately preserve the sharpness of the interface. As a consequence, it is
required to use very small time steps, even if the CFL (Courant-Friedrich-Lewy) constraint comes
Depending upon the quality of the initial solution, the density of the mesh (number of nodes) and the
complexity of the underlying flow field, from a few hundred to a few thousand iterations are
typically required to reach convergence. The iterative process is stopped once the convergence criteria
is reached over the entire domain or the maximum number of iterations is executed on the finest grid
level.
Outputs
7.2.1. In the Computation control menu, double click on Outputs to select the output that will
be given.
7.2.2. In the Motion & force variables page, keep the default selected outputs as presented in the
following figure.
8.1. Click on the Save Project icon in order to save the project.
Start Computation
Parallel Computation
Parallel computations are launched through the Task manager. To do so, follow the steps below:
8.3.1. After clicking on the Start computation icon, select Parallel and click on Ok.
It is recommended to assign a maximum of 300.000 cells per partition, for each GByte of RAM
available.
The Task manager is loaded, a task is created and the corresponding simulation file is
automatically selected.
8.3.2. Enter the number of partitions (see the recommendation above).
8.3.3. Select the machines on which to run the computation by clicking on Machines selection &
balancing.
The pop up Task Manager window allows following the convergence history of the computation.
To save and stop a computation while running, theSuspend Solver icon should be pressed.
However, to stop the computation without saving, theKill Solver icon should be used.
Monitoring
Representation is typically executed in the form of color contours (smoothed or stripped) and/or
isolines. CFView™ also includes the possibility to interrogate the flow field locally ("local value")
and create 1D Cartesian plots. Advanced capabilities involving curve and/or surface integration can
also be accessed.
1.1. Click on the Render icon to view the shaded body (by default only the solid patches are
selected when loading a solution) and then on the Fit the View button.
1.2. Double click on Mass Fraction from the Quantities in QAP to select it (the quantity will be
marked by a green tick when active)
1.3. In the Representations area, click on the Contours & Iso-Values section to expand it.
The value of 0.5 of the mass fraction representing the contact surface between the two fluid - water
and air.
1.5. A new surface called "ISO Mass Fraction=0.5.D1" has been added in the Surfaces list and it
is displayed as a grid as presented below.
1.9. Click on the Smooth Contour icon in Representations/Contours & Iso Values to
visualize the colormap.
1.10. The pallet of colors can be optimized to the selected surface by clicking on the Colormap
Optimum Range icon in the toolbar.
1.11. Switch off the grid by clicking on the Toggle Grid icon in Representations/Grid.
1.12. Click on Opacity in Representations and decrease the value to about 0.65 by dragging the
cursor (by default set to 1).
1.13. Click on Toggle Light Contour icon under Representations/Lighting & shadows
menu, to activate the lighting effects.
1.14. To hide the ship's edges, select only the solid patches in the Surfaces list (use Type filter in
Surfaces/Filter, unselect All and select SOL patches) then press on the Toggle Boundary icon
.
1.15. To visualize the full domain, go to Geometry menu and select Repetition on/off. Use the
viewing buttons to show the final free surface elevation as presented in the following figure.
2.1. Click-left on "ISO Mass Fraction=0.5.D1" in the Surfaces list, then right-click and release
Select.
The above representation of color contour and isolines on free surface can also be obtained by
clicking on the Macros and selecting Represent_Free_Surface option. This will automatically
perform all the operations mentioned in the above steps and will give the representation of color
contour and isolines as shown in the figure above.
3.5. Check that only the "ISO Mass Fraction=0.5.D1" in the Surfaces list is selected.
5.1. Select all the solid patches only, in the Surfaces list, if not yet done.
5.2. From the Quantities list, select Pressure (normal stress).
5.3. Click on under Representations/Contours & Iso Values in the QAP then on in the
toolbar to optimize the color range.
5.4. Focus on an area of interest as the link between the shaft and the hull.
5.5. Press on Colormap Set Range icon in the toolbar and set range in the keyboard input
area as <-100 2500><Enter>.
6.3. Keep all solid patches selected in the Surfaces list, press the Render Gouraud icon to
visualize the shaded body.
6.4. Press on the Y Projection button of the viewing buttons to see the ship from aside.
6.5. Go to Geometry/Create Cutting Plane.. or press <L>.
6.6. Press on the X button from the Create Cutting Plane window to generate a Y-Z plane.
6.7. Use the left or write arrow from the Step Scrolling to move the cutting plane just before the
ship's bow. Decrease the Step value for more accurate translations, if needed.
6.8. Press Save and Close when the cutting plane is similar as in the following figure.
6.10. Click on the Vector Lines Parameters icon under Representations/Vector Lines in
QAP. Under the General tab, increase the number of points per line to <20000><Enter>, set
both as direction, tube as representation, volume as mode and velocity as color.
6.11. Click on Apply.
6.15. Press the Vector Lines icon under Representations/Vector Lines in QAP and then
click on the cutting plane where you want to draw the 3D streamlines from. The resulting
streamlines are presented in the following figure.
2.1.1 Prerequisites
The MOERI container ship (KCS) has been experimented by the Korean Institute for Ships and
Ocean Engineering (now MOERI) and conceived to provide data for both explication of flow
physics and CFD validation for a modern container ship. The present tutorial corresponds to a self
propulsion case at model scale corresponding to the case 2.3a, Hino (2005), used for the last
Gothenburg workshop.
The goal of this tutorial is to provide step-by-step instructions of the simulation of a typical self-
propulsion case to aid in the learning process of FINE™/Marine. The tutorial gives
guidelines/best practices on the complete mesh set- up, flow settings and post- processing,
including explanations for sliding grids for projects containing a ship and its propeller. Some
geometrical features make the present a challenging and representative case to mesh. Upon
completion of this tutorial, the user should have covered the most relevant features present in
FINE™/Marine and be conversant with meshing techniques and simulation setup involving
multiple domains.
2.1.3 Preparation
1. Locate and copy the file kcs.dom into your working directory (download Advanced tutorial
archive).
2. Start FINE™/Marine v10.2.
l For Linux systems, you can access the FINE™/Marine v10.2 graphical user interface with the
following command line:
finemarine102 -print
l For Windows systems (Windows 7 and older), you can access the FINE™ /Marine v10.2
graphical user interface from the Start menu by going to /Programs/NUMECA
software/FineMarine102/FINE. In Windows 8 you can access it by going to the Start menu
and clicking on Search. Under Apps, there will be a section called Numeca software. Click on
FINE(#-bits) in order to open the FINE™ /Marine v10.2 graphical user interface.
Click here to start the mesh generation...
A. Import Domain
1.1. Open FINE™/Marine, select Create a new project/Creating a mesh and press Ok.
1.2. Save the project under the name selfpropulsion.igg in a directory of choice.
1.3. In HEXPRESS™ , import the previously downloaded domain file kcs.dom.
B. Boundary Conditions
Before proceeding with the actual mesh generation, it is recommended to set the boundary
conditions. For practical reasons, rename all the surfaces accordingly and set boundary condition
type at the same time.
2.1. Click on the icon or select the Grid/ Boundary Conditions... menu.
2.2.a. Click on the surface name in the list (and see it highlighted in the view area)
The following steps illustrate the mesh generation for the two domains:
l the sliding grid around the propeller ("prop");
l the grid consisting of the rest of the model ("boat").
The domain to be meshed can be chosen from the drop down box present in the interface (Active
domain). First, select boat from the drop-down menu.
Initial Mesh
Internal Surface
An internal surface can be created using the respective plug-in. In the interface click on Plugins -
> Marine -> Internal surface creation. This will give an option to specify the height at which
the internal surface is located. Give <0.341772> as the z constant surface value to get the
internal surface as shown in the following figure:
Adaptation
3.3.1.1. Select the Adapt to geometry step by ticking the yellow box.
3.3.1.2. Left-click on Adapt to geometry in order to view/edit the settings.
3.3.1.3. Under Global, set the Maximum number of refinements to < 10 >. Then click on
Advanced to expand the advanced option and set Refinement Diffusion to <3>.
Adaptation
Max Nb of Criteria Max Aspect Refinement
Surface Group
Refinements Target Cell Ratio Diffusion
Sizes
HEXPRESS™ includes a multi-threading capability allowing to speed up the Optimization step and
the optimization loops included inside the Viscous Layer insertion step.
To activate it, in Menu bar of HEXPRESS™: Project > Preference > Mesh generation >
Multithreading
Please refer to the HEXPRESS™ documentation for the advised number of threads.
3.4. Activate the steps, keep the default settings and launch the mesh generation clicking on the
Start button in the wizard.
3.5.1. Select the Viscous layers step by ticking the yellow box.
3.5.2. Left-click on Viscous layers in order to view/edit the settings.
Hull 0.001086 8
Transom 0.001086 8
Shaft_boat 0.001086 8
To mesh the region around the propeller choose prop from the Active domain drop-down menu
in the interface. The meshing procedure is the same as mentioned above.
Initial Mesh
4.1.1. The initial isotropic mesh for the propeller has 576 cells with 4 divisions in the <x>
direction and 12 divisions in the <y> & <z> directions, as shown in the following image:
Adaptation
4.2.1.1. Select the Adapt to geometry step by ticking the yellow box.
4.2.1.2. Left-click on Adapt to geometry in order to view/edit the settings.
4.2.1.3. Under Global, set the Maximum number of refinements to < 6 >. Then click on
Advanced to expand the advanced option and set Refinement Diffusion to <4>.
4.2.1.4. Left-click on the Curve refinement tab and select the 10 curves pertaining to the edges
of the blades (as presented in below figure) and group them under edge.
4.2.2. Click on the Surface refinement tab and apply the following refinements.
blade
(bf1,2,3,4,5)
3 000 2.0 Global
blade
(bb1,2,3,4,5)
4.3. Activate the steps, keep the default settings and launch the mesh generation by clicking on
the Start button from the wizard.
tip(1,2,3,4,5) 0.000256 5
blade(bf1,2,3,4,5)
0.000256 5
blade(bb1,2,3,4,5)
As a general guideline, for simulations aiming at reproducing the revolution of propellers it is always
recommended to generate a mesh which will lead to values of Y + < 1 on the propeller's surface. In
this particular case, NUMECA noticed that using the aforementioned values for viscous layers
together with Wall function as boundary condition still leads to good results, thus this setup is chosen
to save computational time. The following viscous layer setup together with No- slip boundary
condition on the respective surfaces should be used for high fidelity results:
tip(1,2,3,4,5) 0.000005 24
blade (bf1,2,3,4,5)
0.000005 24
blade(bb1,2,3,4,5)
Since there are two domains, it is needed to perform some actions in order to define the behavior
of the solver at the interface between the domains.
Sliding patches are interfaces forming boundaries between two or more domains and referred as
FNMB (Full Non- Matching Boundary conditions) in HEXPRESS™ . In computations involving
multiple domains it is imperative to search and compute FNMB connections.
5.1. Click on Grid from the menu and select Non Matching Connections.
6.1. Go to Project/Save or click on the Save icon and save the project in the '_mesh' folder.
6.2. Click on the Go back to project set- up button to impose the flow settings in the
FINE™/Marine GUI.
6.3. The Mesh properties menu appears. Check that the information is correct (Grid units set to
Meters) and click on Ok.
You are now back to the FINE™/Marine interface and ready to click on the link and
proceed with the computation setup!
The computation is run in two steps. First, the computation is run with a large time step of 0.0053s
and then with a small time step value of 0.00053s to stabilize the propeller thrust. The second
computation will be restarted from first computation with input history from the first computation.
A. Physical Configuration
General Properties
1.1.1. In the Physical configuration menu, double click on General parameters and keep
Steady active.
1.1.2. Click on Ok to confirm.
Fluid Model
1.2.1. In the Physical Configuration menu, double click on Fluid model and keep Multi-fluid
active and default fluid settings.
1.2.2. Click on Ok to confirm.
D. Mesh Management
The displacement of mesh is defined under Mesh Management depending on the motion
characteristics defined for the patches. The mesh can have either rigid motion or weighted
deformation based on whether the patches have fixed or solved motion for any of the degrees of
freedom.
6.1. In the Computation control menu, double click on Control variables menu.
6.2. Define the following computation settings under the Time step panel:
l Number of time steps to <2200> <Enter>;
l Time step law as UNIFORM from the cascade list;
l Time step value to <0.0053>.
6.3 Define the following computation settings under the Convergence panel:
l Maximum number of non-linear iterations: <8> <Enter>;
l Convergence criteria: <2> <Enter> orders;
l Save solution every: <50> <Enter> time steps.
6.3. Previous settings are shown in the following figures.
7.1. Click on the Self Propulsion dynamic libraryicon in the Icon bar to open the self
propulsion menu.
7.2. In the new window select Propeller as Type of self-propulsion and Fixed RPM as Mode
and then press Next >>
Start Computation
Parallel Computation
Parallel computations can be launched through the Task manager. To do so, follow the steps
below:
8.3.1. After clicking on Start icon, select Parallel and click on Ok.
It is recommended to assign a maximum of 300.000 cells per partition, per each GByte of RAM
available.
The Task manager is loaded, a task is created and the corresponding simulation file is
automatically selected.
8.3.2. Enter the number of partitions calculating as recommended above.
8.3.3. Select the machines on which to run the computation by clicking on Machines selection &
balancing.
8.3.4. Click on Start button to run the selected computation.
While the first computation is running, a second computation can be setup. A second computation
has to be run with a smaller time step in order to let the propeller to physically rotate (whereas .
All the settings are kept the same for second computation except for Initial Solution and time step
value in Control Variables.
9.3. Double click on Initial solution and choose Restart from previous computation option
and give the path of the ".sim" file of the previous computation. Append convergence outputs
option must be enabled.
9.4. In the Mesh Management menu, select the domain prop and deactivate the Frame
reference method;
9.5. Double click on the Body Motion menu, select the body boatand change the law motion
type for the degree of freedom Tx0 to Solved;
9.9. Save the computation and launch it as explained for the previous case as soon as the first
computation is over.
When the iterative process is over or when a solution is saved, as part of the FINE™/Marine
environment, NUMECA proposes the visualization and post-treatment tool CFView™ for that
purpose. CFView™ is entirely integrated within the environment and includes numerous tools.
Click on the link to start the CFView™ interface and proceed with the post-treatment of
the results!
Representation is typically executed in the form of color contours (smoothed or stripped) and/or
isolines. CFView™ also includes the possibility to interrogate the flow field locally ("local value")
and create 1D Cartesian plots. Advanced capabilities involving curve and/or surface integration can
also be accessed.
1.1. Click on the Macros option from the menu bar and select Group_Patches_By_Type. This
option will group the patches according to their type. Then, select the solid patches only.
1.2. Click on the Render icon to view the shaded body and then on the Fit the View button.
1.3. Click on the Preferences menu and select Colormap type ...; in the opening window move
to the Color and position tab, flag Matlab Style: and select Jet from the dropdown menu.
1.3.2. Click on the Toggle Light Contour icon under Representations/Lighting &
shadows menu, to activate the lighting effects. The final result will look like this:
2.1. First remove the free surface and the streamlines. Go to Update/Delete All.
2.2. Select all the solid patches only, in the Surfaces list, if not done yet.
2.3. From the Quantities list, select Pressure (normal stress).
2.4. Click on under Representations/Contours & Iso Values in the QAP then on in the
toolbar to optimize the color range.
2.5. Focus on an area of interest as Propeller.
2.6. Click on the Colormap Set Range icon in the toolbar and set range in the keyboard
input area as <-1500 6000><Enter>.
To optimize the mapping pallet, observe the limits in the graphic window (the coolest and the hottest
spots), read their values from the color chart and use them as input in the Colormap Set Range .
Areas containing values outside the new range will not be displayed.
It is always important to check the values of Y+ on the bodies, to make sure that the right cell
height has been chosen for a given boundary condition. Since here we are using wall function on
both the hull and the propeller, we should have Y + values in the range of 30-300.
3.1. First clean the scene. Go to Update/Delete All.
3.2. Select all the solid patches only, in the Surfaces list, if not done yet.
3.3. From the Quantities list, select Y+.
3.4. Click on under Representations/Contours & Iso Values to let the Y+ values appear.
3.5. Focus on an area of interest, as the Propeller and the part of the hull underwater.
The next steps will enable visualizing streamlines on ship's hull below the free surface.
4.1. Select the Relative Velocity (double-click) in the Quantities menu.
4.2. Click on New under the Quantities menu.
4.3. Select Vector by Components. In the Name field give a name for the quantity as "RV_
Hull" and enter the values for the definitions as shown in the figure.
3.1.1 Prerequisites
It is strongly recommended to perform the beginner level tutorials 1 and 2 before starting this
tutorial. In this advanced tutorial the basic settings for meshing and the simulation will not be
described.
l 1GB of RAM
l 1.5GB of disk space available to store all files
l 64bits machine with at least 1 core
Estimated time:
l Meshing: 20 minutes
l Computation setup: 10 minutes
l Computation time: 9 hours
l Post-processing: 15 minutes
The goal of this tutorial is to provide step-by-step instructions for the simulation of a typical falling
or slamming marine case, in order to aid in the learning process of FINE™/Marine. The tutorial
gives guidelines/ best practices on the complete mesh set-up, flow settings including adaptive grid
refinement settings and post-processing, also applicable to other marine cases. The model is a 2D
falling object of prismatic shape. It reproduces the experimental tests performed to find out the
wave slamming pressure on high speed boats when a bow section of the hull fitted with pressure
sensors is dropped vertically into the water. The object has a base of 610 mm, 320 mm isosceles
edges, and a mass of 100 kilograms. It is falling from a height of 720 mm. Upon completion of
this tutorial, the user should have covered important features such as the adaptive grid refinement
procedure and the creation of an animation.
This simulation is challenging as the flow is fully unsteady with significant free surface
deformation. The falling 2D object is restricted to a downward vertical fall. This means that for
the model the mesh displacement definition will be set to rigid motion in the Y-direction. With
rigid mesh deformation the grid density should be very high throughout the domain to accurately
capture the free surface foam and breaking waves. This also means that the mesh is highly refined
in regions farther away from the impact location where the free surface is still at rest. For these
reasons, a very fine mesh may become an impractical approach. Instead of a domain with a very
high density grid, it is a best practice to start with a coarse mesh and activate the adaptive grid
refinement feature in the solver. Here, since the simulation is symmetric, only half of the model
will be used. This setup will be discussed in detail in the following sections.
3.1.3 Preparation
1. Locate and copy the file 2dprism_ ASCII- 1.stl into your working directory ( download
Advanced tutorial archive).
2. Start FINE™/Marine v10.2.
l For Linux systems, you can access the FINE™/Marine v10.2 graphical user interface with the
following command line:
finemarine102 -print
l For Windows systems (Windows 7 and older), you can access the FINE™ /Marine v10.2
graphical user interface from the Start menu by going to /Programs/NUMECA
software/FineMarine102/FINE. In Windows 8 you can access it by going to the Start menu
and clicking on Search. Under Apps, there will be a section called Numeca software. Click on
FINE(#-bits) in order to open the FINE™ /Marine v10.2 graphical user interface.
FIGURE 3.2
HEXPRESS™
A. Domain Creation
1.1. Open FINE™/Marine and select Create a new project/Creating a mesh and press Ok.
1.2. Define the project name as 2D_Prism in the directory of your choice.
1.3. Once in HEXPRESS™ , click the Import triangulation <.stl> button to select the STL file
2dprism_ ASCII- 1.stl as previously downloaded. The STL file contains colors which help
HEXPRESS™ to immediately identify the faces.
B. Boundary Conditions
Before proceeding with the actual mesh generation, it is recommended to set the boundary
conditions.
C. Mesh Wizard
Initial Mesh
Adaptation
3.2.1. Select and open the Adapt to geometry menu in the Mesh Wizard.
3.2.2. Set the maximum number of refinements to 7 in the Global tab and the global diffusion to 4
(under Advanced >>>)
3.2.3. Go to the Surface refinement tab and select the 2 patches defining the prism and group
them under the name "2d_prism".
3.2.4. Set 7 refinements with a Target cell size of 0.005 in X and Y-directions.
The free surface mesh refinement will be fully driven by the solver during the adaptive grid
refinement cycles. So there is no need to create and refine the mesh at the free surface location.
3.3 Activate the Snapping and Optimization steps and launch the mesh generation by clicking
on the Start button in the wizard.
3.4 Go back to the Boundary conditions menu and change the "group_ 6" and "group_ 8"
patches to MIR.
D. Save Project
The mesh folder contains the mesh topology, geometry, grid points and the boundary condition types
among others:
l '.bcs': boundary conditions file,
l '.dom': geometry file,
l '.igg': topology file,
l '.hex': grid points file,
l '.rep': report file,
l '.dist': distance file,
l '.fnmb': FNMB connections,
l '.qualityReport': quality report file.
In addition a subdirectory named "cache" contains resulting mesh files after each step of the mesh
generation (for example "_snap.hex" as resulting mesh after snapping process). Hence, the user can
delete a step from the mesh wizard and immediately get the previous mesh step.
4.2. Click on the Go back to project set- up button to impose the flow settings in the
FINE™/Marine GUI.
4.3. The Mesh properties menu appears. Check that the information is correct (Grid units set to
Meters) and click on Ok.
You are now back to the FINE™/Marine interface and ready to click on the link and
proceed with the computation setup!
A. Physical Configuration
1.1. The list below gives all the settings that should be defined for the simulation. These are
standard settings. However, dedicated sections will follow for the body motion and mesh
management parameters.
Body Motion
1.2.1. In the Motion Definition tab from the Body Motion menu, only the degree of freedom Ty0
must be set to Solved (please click on the picture to enlarge it!)
1.3. Under the Mesh management menu, Ty0 should be set as Rigid. Indeed, the whole domain
including the mesh will move according to the body motion to avoid any weighted mesh
deformation. Hence the free surface will move through the domain which explains the reason
why adaptive grid refinement is mandatory.
Numerical Schemes
2.1. In the Numerical parameters menu, adapt the numerical schemes to:
l AVLSMART for the Turbulence
l HYBRID for the Momentum
l BRICS for the Multi-fluid
It should be noted that the HYBRID scheme is used since AVLSMART is not yet compatible
with the expert parameter that will be activated (Rhonormalisation_) later on in this tutorial.
2.2.1. Under the Criterion tab of the Adaptive grid refinement menu, select the Free surface
(tensor) criterion type.
This criterion is preferred for unsteady flows, in this case it also helps to generate less refinements (so
minimize the grid density) in the presence of foam and breaking waves.
For the Target grid spacing normal to free surface input, enter the value <0.00165>.
For the target Grid Spacing Normal to the Free Surface dimension, a good practice is to use the
following formula:
T = dz(1+ε)/2
where ε is usually 30%, dz is the commonly recommended cell size normal to the free surface.
2.2.3. In order to ensure that this target is met by the adaptive grid refinement technique, set a low
value for the Minimum size limit for refined cells to <0>.
Control Variables
3.1.2. Under Time step parameters, complete Number of time steps to <10000>.
3.1.3. Select the Time step law ADAPTED TO COURANT NB from the drop down list .
3.1.4. Set the Courant Number to <0.3>.
3.1.5. Insert the Maximum time step value as <0.01>[s].
3.1.6. Set the Tmax to <5>[s].
The chosen time step law is "Adapted to Courant Number Law" . This law is adaptive meaning the
time step is not known in advance and it will be adapted after each time step, computed with the
objective to reach a target Courant number. For this law, the parameters are a target Courant Number,
a maximum value in seconds for the time step, and the maximum simulation time in seconds. For
highly unsteady cases and for a high level of accuracy, the target Courant number is set to 0.3 to use
the compressibility of the numerical scheme. This time step law is well adapted to impact simulations
since the speed of the interface is very important through the domain.
Outputs
3.2.1. In the Computation control menu, double click on Outputs to select the output to be
visualized.
3.2.2. In the Motion & force variables page, keep the default selected outputs.
3.2.3. In the Probes variables page, add the Mass Fraction probe from the list of Volume data
and define a frequency of <0.0005> second as presented in the following figure.
Monitoring
"Last saved result" allows to post-process the most recent save point (this result cannot be animated).
The "Unsteady result (reconstruction required)" option allows the user to select which solution probes
will be reconstructed. The user can also adjust the reconstruction and time step skipping intervals.
4.3.3. Select <4> as probe skip interval to only reconstruct 1 out of 4 probes.
4.3.4. Deactivate the traveling shot for the degree of freedom Ty0.
The traveling shot section defines the camera behavior in CFView™ : if the traveling shot is
following the body motion (previously defined in the computation setup), the camera will follow the
body along the active DOF. In that case, the user will have access to the relative velocity and if "no
traveling shot" is defined, the camera will remain fixed to an absolute position during the animation.
1.1. Once CFView™ is opened, click on Apply to load all time steps.
1.4. Show the grid by clicking on the Toggle Grid icon in Representations/Grid.
1.5. Click on the Smooth Contour icon in Representations/Contours & Iso Values to
visualize the scalar field and the colormap.
1.6. Click twice on the Z-icon in the viewing buttons and adapt the view by zooming in or out.
1.7. Go to the Geometry menu and click on Repetition on/off to see a duplicated solution.