You are on page 1of 19

Generating a wake field

using volumeforces

Simon Törnros

Chalmers University of Technology,


Gothenburg, Sweden

2012-10-19

Simon Törnros Generating a wake field using volumeforces 2012-10-19 1 / 19


The wake field

Non-uniform velocity field due to flow distortion by the hull


Non-uniform loading gives cavitation erosion, noise and vibrations

Figure: Cavitating propeller Figure: Cavitation erosion

Simon Törnros Generating a wake field using volumeforces 2012-10-19 2 / 19


Volumeforces

Including hull is CPU expensive


The axial component has been generated using volumeforces before
see Shin, Andersen and Mikkelsen [1]
Navier stokes including volumeforce
∂v
ρ( + v · ∇v) = −∇p + µ∇2 v + f (1)
∂t
Guessed connection between volumeforce and velocity change

v2 |v2 | − v12
f =ρ (2)
2l

Simon Törnros Generating a wake field using volumeforces 2012-10-19 3 / 19


interPhaseChangeFoam

transient solver taking phase change into account


PISO loop: include the volumeforces in the momentum prediction

Simon Törnros Generating a wake field using volumeforces 2012-10-19 4 / 19


Implementation

The user specifies the wanted wake field in terms of a numbers of


wake fractions
v
w =1− (3)
v∞
The volumeforce is calculated from the wanted wake fraction
The volumeforce vectorfield is added to the momentum prediction

Simon Törnros Generating a wake field using volumeforces 2012-10-19 5 / 19


The wake class

The class wake includes memberfunctions to


Read the disk geometry, wake fractions and flow properties specified
by the user
Check if the cell center is inside the disk region
Interpolate to achieve the target wake fraction
Calculate the volumeforce vector
Create the volumeforce vectorfield

Simon Törnros Generating a wake field using volumeforces 2012-10-19 6 / 19


Compile the solver

Copy the interPhaseChangeWakeFoam to the user


application/solver/multiphase directory
Compile the solver

OF21x
$WM_PROJECT_USER_DIR
cd applications/solvers/multiphase/interPhaseChangeWakeFoam/
wmake

Simon Törnros Generating a wake field using volumeforces 2012-10-19 7 / 19


The mesh
Rectangular domain generated by blockMesh
Refined cylindrical region with snappyHexMesh

Figure: X normal slice Figure: Z normal slice

Simon Törnros Generating a wake field using volumeforces 2012-10-19 8 / 19


Boundary conditions and setup

Laminar turbulence model


inlet velocity (0 0 7);

Simon Törnros Generating a wake field using volumeforces 2012-10-19 9 / 19


The specified volumeforce disk

volumeForceDisk
{
startCenterLine (0 0 0);
endCenterLine (0 0 0.12);
upDirection (0 1 0);
innerRadius 0.5;
outerRadius 2;
freeStreamVelocity 7;
density 1000;

wakeAxialR000Phi000 0.5;
...

The wake fractions are visual estimates, not precise!


Simon Törnros Generating a wake field using volumeforces 2012-10-19 10 / 19
Run the case

Copy the case LaminarWake to the user run folder and run the case

run

cd LaminarWake/

blockMesh

snappyHexMesh -overwrite

decomposePar

mpirun -np 4 interPhaseChangeWakeFoam -parallel >& log&

Simon Törnros Generating a wake field using volumeforces 2012-10-19 11 / 19


Visualize the results

paraFoam -touch

paraview

Load the state file wakeComparison

Simon Törnros Generating a wake field using volumeforces 2012-10-19 12 / 19


Performance
Similarity in pattern
Too small velocity changes

Figure: Target axial wake Figure: Achieved axial wake

Simon Törnros Generating a wake field using volumeforces 2012-10-19 13 / 19


Performance
Similarity in pattern
Too small velocity changes

Figure: Target out-directed wake Figure: Achieved out-directed wake

Simon Törnros Generating a wake field using volumeforces 2012-10-19 14 / 19


Performance
Similarity in pattern
Too small velocity changes

Figure: Target up-directed wake Figure: Achieved up-directed wake

Simon Törnros Generating a wake field using volumeforces 2012-10-19 15 / 19


Diskthickness effect on performance

Using a thicker volumeforce disk makes no significant difference

Figure: Achieved axial wake, 1 cell Figure: Achieved axial wake, 5 cells
thickness thickness

Simon Törnros Generating a wake field using volumeforces 2012-10-19 16 / 19


Viscous effects on performance

Setting the viscosity to zero makes no significant difference

Figure: Achieved axial wake, ν=0 Figure: Achieved axial wake, ν=9e-7

Simon Törnros Generating a wake field using volumeforces 2012-10-19 17 / 19


Conclusions

Small velocity changes gives reason to question the guessed


volumeforce to velocity change relation
Number of wake fractions necessary to be specified needs to be
investigated

Simon Törnros Generating a wake field using volumeforces 2012-10-19 18 / 19


References

Shin, K, W. Andersen, Mikkelsen, Robert. (2011) Cavitation


Simulation on Conventional and Highly-Skewed Propellers in the
Behind-Hull Condition. Hamburg, Germany.( Second International
Symposium on Marine Propulsors smp’11)

Simon Törnros Generating a wake field using volumeforces 2012-10-19 19 / 19

You might also like