21
H ˚ akan 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.

Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity magnitude;

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity magnitude;

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.

Page 2: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity magnitude;

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.

Page 3: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity 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.

Page 4: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity magnitude;

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.

Page 5: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity 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.

Page 6: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity magnitude;

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.

Page 7: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity magnitude;

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.

Page 8: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity magnitude;

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

Page 9: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity magnitude;

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.

Page 10: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity magnitude;

Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 10

Tutorial: pitzDaily

Karl Jacob Maus

50 steps 250 steps

Page 11: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity magnitude;

Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 11

Tutorial: pitzDaily

Karl Jacob Maus

500 steps 1000 steps

Page 12: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity magnitude;

Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 12

Tutorial: forwardStep

Karl Jacob Maus

• Supersonic flow over step. Isocontours of pressure; fluid velocity distribution.

Page 13: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity magnitude;

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.

Page 14: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity magnitude;

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.

Page 15: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity magnitude;

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

Page 16: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity magnitude;

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.

Page 17: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity magnitude;

Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 17

Modified tutorial: damBreakFine

Karl Jacob Maus

Velocity and phase fraction plots.

t = 0.55s

Page 18: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity magnitude;

Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 18

Modified tutorial: damBreakFine

Karl Jacob Maus

Velocity and phase fraction plots.

t = 0.65s

Page 19: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity magnitude;

Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 19

Modified tutorial: damBreakFine

Karl Jacob Maus

Velocity and phase fraction plots.

t = 0.90s

Page 20: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity magnitude;

Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 20

Modified tutorial: damBreakFine

Karl Jacob Maus

Velocity and phase fraction plots.

t = 1.40s

Page 21: Karl Jacob Maus - Thermohani/kurser/OS_CFD_2009/assignment1/KarlJ… · Karl Jacob Maus • Contourplots of pressure, and streamlines with velocity vectors coloured by ve-locity magnitude;

Hakan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 21

Modified tutorial: damBreakFine

Karl Jacob Maus

Velocity and phase fraction plots.

t = 2.00s