Post-processing - Foam-Iberia
-
Upload
khangminh22 -
Category
Documents
-
view
5 -
download
0
Transcript of Post-processing - Foam-Iberia
Basic Courses (BII)
Post-processing
C. Fernandes / J.M. Nó[email protected] / [email protected]
University of Minho
FOAM@IBERIA 2019
BII - Post-processing 2
Load OpenFOAM
> . /opt/OpenFOAM/of6_envars.sh
Copy tutorial files from the server> cd $FOAM_RUN> mkdir BII> cd BII
> cp -r /FOAM-IBERIA-2019/Basic/Postprocessing$FOAM_RUN/BII
Introduction
FOAM@Iberia 2019
BII - Post-processing 3
Tutorial
Lid Driven Cavity
Isothermal and Incompressible Fluid Flow
FOAM@Iberia 2019
BII - Post-processing 5
Copy case files> cd $FOAM_RUN/BII> cp –r $FOAM_TUTORIALS/incompressible/icoFOAM/cavity/cavity .
> cd cavity
Generate the mesh
> blockMesh
Run the solver> icoFoam > log.icoFoam
Lid Driven Cavity
FOAM@Iberia 2019
BII - Post-processing
Lid Driven Cavity
6
Visualize residuals evolution> pyFoamPlotWatcher.py log.icoFoam
FOAM@Iberia 2019
BII - Post-processing 23
Decompress files> cd $FOAM_RUN/BII> tar -xzvf BII-goldschmidt.tar.gz
> cd Goldschmidt
Open Paraview> paraFoam (Note: Do not use -builtin option which loads .foam extension and cannot read the particle baricentric coordinates)
Goldschmidt
FOAM@Iberia 2019
BII - Post-processing
Goldschmidt
24
1.Select:Mesh Parts
Volume Fields
Lagrangian Fields
2.Click Apply
FOAM@Iberia 2019
BII - Post-processing
Goldschmidt
25
1.Select:ExtractBlock1
2.Specify
Opacity to
0.3
FOAM@Iberia 2019
BII - Post-processing
Goldschmidt
28
1.Select:ExtractBlock2
2.Choose Glyph
3.Choose GlyphType Sphere
4.Choose Scalars d; Vectors U; Scale Mode scalar and Scale Factor 2
5. Click Apply
FOAM@Iberia 2019
BII - Post-processing 29
Tutorial
Propeller
Analysis of Flow around a Ship Propeller
FOAM@Iberia 2019
BII - Post-processing 33
Decompress files> cd $FOAM_RUN/BII> tar -xzvf BII-propeller.tar.gz
> cd propeller
Open Paraview> touch propeller.foam> paraview propeller.foam
Propeller
FOAM@Iberia 2019
BII - Post-processing 38
Tutorial
DamBreak3D
Analysis of a falling fluid column around an obstacle
FOAM@Iberia 2019
BII - Post-processing 41
Decompress files> cd $FOAM_RUN/BII> tar -xzvf BII-damBreak3D.tar.gz
> cd damBreakWithObstacle
Open Paraview> touch damBreakWithObstacle.foam> paraview damBreakWithObstacle.foam
DamBreak3D
FOAM@Iberia 2019
BII - Post-processing 48
Decompress files> cd $FOAM_RUN/BII> tar -xzvf BII-motorBike.tar.gz
> cd motorBike
Open Paraview> touch motorBike.foam> paraview motorBike.foam
motorBike