Upload
others
View
2
Download
0
Embed Size (px)
Citation preview
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 1
Tutorial: cavity
Karl Jacob Maus
• Contourplots of pressure, and streamlines with velocity vectors coloured by ve-
locity magnitude; steady-state.
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 2
Tutorial: cavityFine
Karl Jacob Maus
• Isocontours of pressure for cavity (white) and cavityFine (black).
• Velocity of cavityFine plotted as vectors and coloured by magnitude.
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 3
Tutorial: cavityFine
Karl Jacob Maus
• Horizontal velocity Ux as a
function of distance to cavity
base.
• Plotted using ParaView with
the plot over line-filter.
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 4
Tutorial: cavityGrade
Karl Jacob Maus
• Isocontours of pressure, and streamlines with flow direction indicators coloured
by velocity magnitude.
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 5
Tutorial: cavityHighRe
Karl Jacob Maus
• Reynolds number 100.
• 2 seconds.
• Reynolds number 10000.
• 10 seconds.
Both cases were solved with icoFoam on a coarse mesh.
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 6
Tutorial: cavityClipped
Karl Jacob Maus
• Clipped corner; map solution from cavity to initial condition for cavityClipped,then set all fixed-boundary velocities to zero.
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 7
Tutorial: plateHole
Karl Jacob Maus
0
5000
10000
15000
20000
25000
30000
35000
0.6 0.8 1 1.2 1.4 1.6 1.8 2
’sets/100/leftPatch_sigmaxx.xy’1e4*(1+.125/(x**2)+.09375/(x**4))
• σxx vs. vertical distance from
hole along centerline.
• Analytical and numerical solu-
tions.
• Coloured by magnitude of σxx;
includes displacement vectors.
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 8
Tutorial: damBreak
Karl Jacob Maus
t = 0.2s
t = 0.4s
t = 0.6s
t = 0.8s
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 9
Tutorial: damBreakFine
Karl Jacob Maus
t = 0.2s
t = 0.4s
t = 0.6s
t = 0.8s
Simulation run on 4 processor cores.
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 10
Tutorial: pitzDaily
Karl Jacob Maus
50 steps 250 steps
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 11
Tutorial: pitzDaily
Karl Jacob Maus
500 steps 1000 steps
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 12
Tutorial: forwardStep
Karl Jacob Maus
• Supersonic flow over step. Isocontours of pressure; fluid velocity distribution.
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 13
Tutorial: decompressionTank
Karl Jacob Maus
t = 50 µs t = 80 µs t = 100 µs
Pressure contours and fluid velocity vectors.
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 14
Tutorial: decompressionTankFine
Karl Jacob Maus
t = 50 µs t = 80 µs t = 100 µs
Pressure contours and fluid velocity vectors. Fine mesh.
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 15
Tutorial: hartmann
Karl Jacob Maus
• Velocity profile at two different
magnetic field strengths
(+ B = 20T; x B = 2T)
• GNUplot plot using sampleutility.
• ParaView plot-over-linefilter of velocity with B = 20T
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 16
Modified tutorial: damBreakFine
Karl Jacob Maus
• Problem identical to the
damBreakFine-problem with
different geometry.
• Processed in parallel on 4 cores.
• Mesh and core partitioning with
initial α-distribution in red.
• Cell partitioning of new blocks
computed to comply with cell
sizes from damBreakFine tuto-
rial.
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 17
Modified tutorial: damBreakFine
Karl Jacob Maus
Velocity and phase fraction plots.
t = 0.55s
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 18
Modified tutorial: damBreakFine
Karl Jacob Maus
Velocity and phase fraction plots.
t = 0.65s
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 19
Modified tutorial: damBreakFine
Karl Jacob Maus
Velocity and phase fraction plots.
t = 0.90s
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 20
Modified tutorial: damBreakFine
Karl Jacob Maus
Velocity and phase fraction plots.
t = 1.40s
Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 21
Modified tutorial: damBreakFine
Karl Jacob Maus
Velocity and phase fraction plots.
t = 2.00s