Back to Course

CFD for Yachts

0% Complete
0/0 Steps
  1. The course

    The Course
  2. Meet the Instructors
  3. Introduction
    Computational Fluid Dynamics (CFD)
    1 Quiz
  4. The design spiral
    1 Quiz
  5. Scope of the course
  6. Part 1 - What is CFD?
    What is CFD?
    1 Quiz
  7. The meaning of CFD
    1 Quiz
  8. How does CFD work?
    1 Quiz
  9. A brief note on the history and evolution of CFD
    1 Quiz
  10. CFD for naval applications
    1 Quiz
  11. Part 1 - OpenFOAM
    OpenFOAM branches
    1 Quiz
  12. OpenFOAM workflow
    1 Quiz
  13. Installing OpenFOAM
  14. Part 1 - Introduction to the Finite Volume Method (FVM)
    Fundamental equations of fluid mechanics: introduction
  15. Fundamental equations of fluid mechanics: Navier-Stokes
    1 Quiz
  16. Numerical methods in fluid mechanics - Part 1
  17. Numerical methods in fluid mechanics - Part 2
    1 Quiz
  18. The Finite Volume Method
    1 Quiz
  19. Part 1 - Solving the Poiseuille flow with OpenFOAM
    The analytical problem
    1 Quiz
  20. Set-up of the case with OpenFOAM
  21. Solving the problem and comparing the results
  22. Part 2 - Profile theory
    Introduction
    1 Quiz
  23. The d’Alembert’s Paradox
    1 Quiz
  24. The importance of viscosity: the Kutta condition
    1 Quiz
  25. Some elements of potential flow theory
    1 Quiz
  26. Kutta-Joukowsky Theorem
    1 Quiz
  27. Bi-dimensional profiles
    1 Quiz
  28. Polar curves of the profile
    1 Quiz
  29. Drag components in 2D profiles
    1 Quiz
  30. 3D profiles: geometry
    1 Quiz
  31. 3D profiles: influence of the geometry on the lift and drag
    1 Quiz
  32. 3D profiles: induced drag
    1 Quiz
  33. Part 2 - Meshing
    Meshing: geometry
    1 Quiz
  34. Meshing: background mesh
    1 Quiz
  35. Meshing: advanced features blockmesh
    1 Quiz
  36. Meshing: including the geometry
    1 Quiz
  37. Part 2 - Simulation set-up
    Physical properties
    1 Quiz
  38. Boundary and initial conditions
    1 Quiz
  39. Turbulence
    1 Quiz
  40. Control parameters
    1 Quiz
  41. Numerical set-up
    1 Quiz
  42. Part 2 - How to run an OpenFOAM simulation
    Steady-state simulation
    1 Quiz
  43. Using the steady-state solution as the initial condition
    1 Quiz
  44. Transient simulation
    1 Quiz
  45. Serial vs. parallel simulations
    1 Quiz
  46. Part 2 - Post-processing the results
    First steps
    1 Quiz
  47. Contour of pressures with ParaView
    1 Quiz
  48. Streamlines with ParaView
    1 Quiz
  49. postProcess utility
    1 Quiz
  50. Forces
    1 Quiz
  51. Part 2 - Verification and validation of CFD simulations
    Verification and validation
    1 Quiz
  52. Part 2 - Additional features
    Moving meshes: morphing
    1 Quiz
  53. Moving meshes: sliding
    1 Quiz
  54. Moving meshes: overset
    1 Quiz
  55. Part 3 - Introduction: basics of resistance and towing tank tests
    A brief review
    1 Quiz
  56. Viscous resistance
    1 Quiz
  57. Friction resistance
    1 Quiz
  58. Viscous pressure drag
    1 Quiz
  59. Wave resistance
    1 Quiz
  60. Classification of ship resistance components
    1 Quiz
  61. Methods to compute the boat resistance
    1 Quiz
  62. Part 3 - Introduction to the case of study
    Introduction to the case of study
    1 Quiz
  63. Part 3 - Meshing
    Meshing with snappyHexMesh
    1 Quiz
  64. Other options for meshing
    1 Quiz
  65. Part 3 - Simulation set-up
    Standard input
    1 Quiz
  66. Boundary and initial conditions
    1 Quiz
  67. Turbulence set-up
    1 Quiz
  68. Free-surface generation: the Volume of Fluid method
    1 Quiz
  69. Numerical set-up
    1 Quiz
  70. Part 3 - How to run a multiphase simulation
    How to run a multiphase simulation
    1 Quiz
  71. Part 3 - Post-processing
    Free surface pattern
    1 Quiz
  72. Pressure coefficient around the hull
    1 Quiz
  73. Streamlines
    1 Quiz
  74. Forces
    1 Quiz
  75. Part 3 - Additional features
    Running single-phase simulations for ships
    1 Quiz
  76. Optimizing the workflow: making simulations parametric
    1 Quiz
  77. Old Material
    Installing OpenFOAM (Old Method)
  78. Assignment
    Final Assignment (mandatory)
  79. Course Materials
    Course materials
  80. Course Survey
    Course evaluation survey
    1 Quiz
  81. Summary
    Wrap-up

Hello everybody!

Throughout these lessons, we have sailed through the exciting world of CFDs and their application to yacht design.

As we have seen, CFD can be used at several design stages, including conceptual and detailed engineering phases. They have also been shown to be useful in the optimization loop.

We have learned to use a popular open-source CFD code such as OpenFOAM, keeping in mind the importance of understanding the mathematics and physics behind the problem we are assessing.

In this course, we have first reviewed the mathematical representation of fluids, the Navier-Stokes Equation. We have explained how they can be expressed in terms of conservation laws of the fundamental magnitudes of the fluid, that is, mass, linear momentum, and energy. We have also studied the fundamental aspects of numerical methods in general.

These include the mathematical properties of any numerical method, convergence, consistency, and stability, the different families of methods used in fluid mechanics, and the methods applied to integrate in time. The Finite Volume Method that is implemented in OpenFOAM has also been addressed.

To finish with this part, an easy canonical case, the Poiseuille Flow, has been studied theoretically. After that, the case has been simulated using OpenFOAM. There, we learned how to run a simple simulation and explore the results in order to compare them with the theoretical solution.

In the second part, we presented an overview of profile theory. We have gone through the physics of the problem, focusing on the importance of viscosity to explain this phenomenon.

Also, we have studied some general aspects of the potential flow theory, which, although it does not consider viscosity, allows us to calculate lift forces in hydrodynamic profiles using the circulation and linking it with the lift force through Kutta-Joukowsky’s theorem.

Before performing simulations, we also revisited the geometrical definition of profiles and studied the 3D effects that happen in this type of hydrodynamic appendage, such as the induced drag.

Then we simulated a NACA lifting profile at a certain angle of attack. We have deepened into each of the relevant files necessary to perform a simulation in OpenFOAM. First, we learned how the meshing process is done, which is crucial to obtaining a good set of discretized elements. Then, we have put into practice some of the concepts introduced in part one when building up the simulation. We executed both a steady state and a transient simulation, understanding their differences and the practical use of each of them. Finally, we post-processed the results using tools like ParaView, Python, or Gnuplot.

In the last part of the course, we studied the case of boat resistance. We started by reviewing the different components of this force by considering the different physical mechanisms generating these components. These mechanisms are basically two: viscous resistance, which is a consequence of the viscosity of the fluid, and wave resistance, which is, in turn, a consequence of the fact that the boat navigates through the interface between two fluids. We have also deepened into the subdivision that we could make of these two components.

After that, we briefly reviewed the different methodologies to compute boat resistance, including towing tank tests, systematic series, regressions, potential flow solvers to compute wave resistance, or viscous CFD, which is the object of interest in this course.

Finally, we have applied all the concepts learned to the resistance computation of a 17 m sailing yacht. We revisited some of the elements introduced in part two, adding some novelties where necessary, such as the considerations to mesh a complex 3D geometry or the Multiphase treatment. We then obtained the total resistance of the boat, learning how to process forces and plotting the free surface pattern or the streamlines, just to cite some examples.

At last, we introduced some tools to make the preparation, execution, and data processing automatic within OpenFOAM.

Summing up all these contributions, within this course, you have studied the key concepts around the CFD industry, learning how to use a viscous CFD code such as OpenFOAM through different practical examples of yacht applications.