Shipping and Marine Technology Computational Hydrodynamics PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 1 Solve Cavitating flow.

Slides:



Advertisements
Similar presentations
Phoenics User Conference on CFD May 2004 Vipac Engineers & Scientists Ltd COMPUTATIONAL FLUID DYNAMICS Simulation of Turbulent Flows and Pollutant Dispersion.
Advertisements

Open Source Field Operation and Manipulation
SolidWorks Flow Simulation
Fluent Overview Ahmadi/Nazridoust ME 437/537/637.
Outline Overview of Pipe Flow CFD Process ANSYS Workbench
Hongjie Zhang Purge gas flow impact on tritium permeation Integrated simulation on tritium permeation in the solid breeder unit FNST, August 18-20, 2009.
Dynamic model of a drop shot from an inkjet printer.
The analysis of the two dimensional subsonic flow over a NACA 0012 airfoil using OpenFoam is presented. 1) Create the geometry and the flap Sequence of.
Basic Governing Differential Equations
1 Pressure-based Solver for Incompressible and Compressible Flows with Cavitation Sunho Park 1, Shin Hyung Rhee 1, and Byeong Rog Shin 2 1 Seoul National.
2003 International Congress of Refrigeration, Washington, D.C., August 17-22, 2003 CFD Modeling of Heat and Moisture Transfer on a 2-D Model of a Beef.
An Analysis of Hiemenz Flow E. Kaufman and E. Gutierrez-Miravete Department of Engineering and Science Rensselaer at Hartford.
Interactive System for Pulverized Coal Combustion Visualization with Fluid Simulator Marek Gayer, Pavel Slavík and František Hrdlička Department of Computer.
1 “CFD Analysis of Inlet and Outlet Regions of Coolant Channels in an Advanced Hydrocarbon Engine Nozzle” Dr. Kevin R. Anderson Associate Professor California.
Who Wants to Be a CFD Expert? In the ME 566 course title, CFD for Engineering Design, what does the acronym CFD stand for? A.Car Free Day B.Cash Flow Diagram.
Adam Koenig, Wichita State University Mentors: Dr. Ron Riggs, University of Hawai’i, Manoa Dr. Sungsu Lee, Chungbuk National University Krystian Paczkowski,
Evan Greer, Mentor: Dr. Marcelo Kobayashi, HARP REU Program August 2, 2012 Contact: globalwindgroup.com.
Experimental and Numerical Study of the Effect of Geometric Parameters on Liquid Single-Phase Pressure Drop in Micro- Scale Pin-Fin Arrays Valerie Pezzullo,
Introduction to numerical simulation of fluid flows
Coupled Fluid-Structural Solver CFD incompressible flow solver has been coupled with a FEA code to analyze dynamic fluid-structure coupling phenomena CFD.
Preliminary Assessment of Porous Gas-Cooled and Thin- Liquid-Protected Divertors S. I. Abdel-Khalik, S. Shin, and M. Yoda ARIES Meeting, UCSD (March 2004)
Image courtesy of National Optical Astronomy Observatory, operated by the Association of Universities for Research in Astronomy, under cooperative agreement.
La groupe des recherches de la mécanique des fluides appliquée مدل كردن پديده ناپايداري Plateau-Rayleigh با استفاده از نرم افزار OpenFOAM تهيه و تنظيم.
DETAILED TURBULENCE CALCULATIONS FOR OPEN CHANNEL FLOW
EdF meeting 18 May 2009 Review of all the work done under the framework of Code_Saturne by S. Rolfo School of Mechanical, Aerospace & Civil Engineering.
Instructor: André Bakker
FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION
1 CFD Analysis Process. 2 1.Formulate the Flow Problem 2.Model the Geometry 3.Model the Flow (Computational) Domain 4.Generate the Grid 5.Specify the.
Introduction to COMSOL Travis Campbell Developed for CHE 331 – Fall 2012 Oregon State University School of Chemical, Biological and Environmental Engineering.
1 CREL meeting 2004 CFD Simulation of Fisher-Tropsch Synthesis in Slurry Bubble Column By Andrey Troshko Prepared by Peter Spicka Fluent Inc. 10 Cavendish.
1 DS-PC/EIP5, Friedrich | 13-16/08/2012 | © Robert Bosch GmbH All rights reserved, also regarding any disposal, exploitation, reproduction, editing,
Next Class Final Project and Presentation – Prepare and me the ppt files 5-7 slides Introduce your problem (1-2 slides) – Problem – Why CFD? Methods.
A Hybrid Particle-Mesh Method for Viscous, Incompressible, Multiphase Flows Jie LIU, Seiichi KOSHIZUKA Yoshiaki OKA The University of Tokyo,
CFD Pre-Lab 2 Simulation of Turbulent Flow around an Airfoil Seong Mo Yeon, and Timur Dogan 11/12/2013.
1 Department: Material science and engineering Discipline: Finite element method By: Anelia Ivanova To: Prof. V. Iliev Subject : Hydrodynamics Simulation.
August 14 th, 2012 Comparison of compressible explicit density-based and implicit pressure-based CFD methods for the simulation of cavitating flows Romuald.
Conifer Cast New features Windows Vista Compatibility New Installer Solver Pause/Resume Locally Implicit Advection Split Lagrangian VOF Advection.
1 CHAPTER 6 HEAT TRANSFER IN CHANNEL FLOW 6.1 Introduction (1) Laminar vs. turbulent flow transition Reynolds number is where  D tube diameter  u mean.
Reynolds Transport Theorem We need to relate time derivative of a property of a system to rate of change of that property within a certain region (C.V.)
FSI for Assessing Nerve Injury During Whiplash Motion
Mathematical Background
CLIC Prototype Test Module 0 Super Accelerating Structure Thermal Simulation Introduction Theoretical background on water and air cooling FEA Model Conclusions.
Hila Hashemi, University of California, Berkeley
CIS888.11V/EE894R/ME894V A Case Study in Computational Science & Engineering We will apply several numerical methods to find a steady state solution of.
FALL 2015 Esra Sorgüven Öner
INTRODUCTION TO CONVECTION
Conference on PDE Methods in Applied Mathematics and Image Processing, Sunny Beach, Bulgaria, 2004 NUMERICAL APPROACH IN SOLVING THE PDE FOR PARTICULAR.
Transient multiphase flow modelling
SPH weekly meeting Free surface flows in Code Saturne Results 23/11/2009 Olivier Cozzi.
Simulation Of Buoyancy Driven Flows Inside Heated Cavities Using LES And URANS Approaches School Of M.A.C.E. The University Of Manchester. Presented by:
Lecture Objectives: Define 1) Reynolds stresses and
Transport process In molecular transport processes in general we are concerned with the transfer or movement of a given property or entire by molecular.
University of Wisconsin -- Engine Research Center slide 1 Flamelet Modeling for the Diffusion Combustion in OpenFOAM ME 769 Final Project Presentation.
OpenFOAM  Open source CFD toolbox, which supplies preconfigured solvers, utilities and libraries.  Flexible set of efficient C++ modules---object-oriented.
AERODYNAMIC OPTIMIZATION OF REAR AND FRONT FLAPS ON A CAR UNIVERSITY OF GENOVA – POLYTECHNIC SCHOOL ADVANCED FLUID DYNAMICS COURSE 2015/2016 Student: Giannoni.
© Copyright 2014 COMSOL. Any of the images, text, and equations here may be copied and modified for your own internal use. All trademarks are the property.
ДЕМОНСТРАЦИЯ ТИПИЧНЫХ ПРИМЕРОВ, ВХОДЯЩИХ В OPENFOAM ОБТЕКАНИЕ ОБРАТНОГО УСТУПА М.В. Крапошин (НИЦ КИ) О.И. Самоваров (ИСП РАН) С.В. Стрижак (МГТУ им. Баумана)
PROVIDA University of Surrey Prof. Sai Gu, Zihang Zhu 7/JUN/2016 Volcanic ash impingement.
Chapter 6: Introduction to Convection
Chapter 10 Transient Flow Modeling
A V&V Overview of the 31st Symposium on Naval Hydrodynamics
Complex Geometries and Higher Reynolds Numbers
Motorbike Simulation with OpenFOAM
Chapter 8: Internal Flow
Workshop 5 Cavitating Centrifugal Pump
Lecture Objectives: Review Explicit vs. Implicit
Fluent Overview Ahmadi/Nazridoust ME 437/537/637.
CFD – Fluid Dynamics Equations
Lecture Objectives Review for exam Discuss midterm project
Heat Transfer In Channels Flow
Presentation transcript:

Shipping and Marine Technology Computational Hydrodynamics PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 1 Solve Cavitating flow around a 2D hydrofoil with interPhaseChangeFoam NaiXian LU Shipping and Marine Technololy, LES/Cavitation

Shipping and Marine Technology Computational Hydrodynamics PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 2 interPhaseChangeFoam cavitation two phase flow flow modelled using LES interface captured by VOF method solved equations: where, modelled by mass transfer models (Kunz, SchnerrSauer, Merkle)

Shipping and Marine Technology Computational Hydrodynamics PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 3 Small modifications to the code To improve the near wall behavior wallViscosity.H: modify the wall viscosity according to Spalding law Kunz mass transfer model: Implementation: /phaseChangeTwoPhaseMixtures/Kunz/Kunz.C because of using a negative pSat mDotAlphal() return Pair > ( mcCoeff_*sqr(limitedAlpha1) *max(p - pSat(),p0_)/max(p - pSat(), 0.001*mag(pSat())), //*max(p - pSat(), p0_)/max(p - pSat(), 0.01*pSat()), mvCoeff_*min(p - pSat(), p0_) ); mDotP() return Pair > ( mcCoeff_*sqr(limitedAlpha1)*(1.0 - limitedAlpha1) *pos(p - pSat())/max(p - pSat(),0.001*mag(pSat())), //*pos(p - pSat())/max(p - pSat(), 0.01*pSat()), (-mvCoeff_)*limitedAlpha1*neg(p - pSat()) ); mDotAlphal()_c * (1-alphal)=m- mDotAlphal()_v*alphal=m+ mDotP()_c=m- mDotP()_v*(p-pSat)=m+ p>pSat: condensation p<pSat: vaporization

Shipping and Marine Technology Computational Hydrodynamics PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 4 Compile the code Use the pre-installed OF-1.5.x. /chalmers/sw/unsup/OpenFOAM/OpenFOAM-1.5.x/etc/bashrc Copy the source code to your working directory cp ooodlesInterPhaseChange.tar $WM_PROJECT_USER_DIR/application/solvers tar xvf ooodlesInterPhaseChange.tar Modify the Make/files to write the executable in$FOAM_USER_APPBIN EXE = $(FOAM_USER_APPBIN)/ooodlesInterPhaseChange Compile the code wclean rm -r Make/linux* wmake

Shipping and Marine Technology Computational Hydrodynamics PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 5 A test case Copy the test case to your working directory cp naca15_test_case.tar $WM_PROJECT_USER_DIR/run tar xvf naca15_test_case.tar

Shipping and Marine Technology Computational Hydrodynamics PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 6 Computational configurations geometry: 2D NACA0015 domain: 1400mm × 570mm angle of attack: 6° Reynolds number: 1.2e+06 cavitation number: Number of cells: 0.5 millions

Shipping and Marine Technology Computational Hydrodynamics PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 7 Computational configurations Velocity inlet fixedValue (6 0 0) Pressure outlet fixedValue 0 symmetryPlane wall constant/polyMesh/boundary 0/U, pd, gamma

Shipping and Marine Technology Computational Hydrodynamics PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 8 LESProperties Choose the subgrid model in constant/LESProperties LESModel laminar; delta smooth; printCoeffs on; laminarCoeffs { } oneEqEddyCoeffs { ck 0.07; ce 1.05; } dynOneEqEddyCoeffs { ce 1.05; filter simple; }. Implicit LES: considering the action of the subgrid scale is equivalent to a strictly dissipative action, and letting the leading order truncation error in the discretization of the fluxes emulate the energy dissipation

Shipping and Marine Technology Computational Hydrodynamics PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 9 Fluid properties and mass transfer model phaseChangeTwoPhaseMixture Kunz; KunzCoeffs { Cc Cc [ ] 1000; Cv Cv [ ] 10000; UInf UInf [ ] 6; tInf tInf [ ] 1; cavitation { pSat pSat [ ] ; restart no; rampN 200; startN 10000; } twoPhase { transportModel twoPhase; phase1 phase1; phase2 phase2; } phase2 { transportModel Newtonian; nu nu [ ] ; rho rho [ ] 0.023; CrossPowerLawCoeffs { nu0 nu0 [ ] 1e-06; nuInf nuInf [ ] 1e-06; m m [ ] 1; n n [ ] 0; } BirdCarreauCoeffs { nu0 nu0 [ ] ; nuInf nuInf [ ] 1e-06; k k [ ] 99.6; n n [ ] ; } phase1 { transportModel Newtonian; nu nu [ ] 1e-6; rho rho [ ] 998; CrossPowerLawCoeffs { nu0 nu0 [ ] 1e- 06; nuInf nuInf [ ] 1e-06; m m [ ] 1; n n [ ] 0; } BirdCarreauCoeffs { nu0 nu0 [ ] ; nuInf nuInf [ ] 1e-06; k k [ ] 99.6; n n [ ] ; } constant/transportProperties

Shipping and Marine Technology Computational Hydrodynamics PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 10 environmentalProperties contant/environmentalProperties specifies the gravity acceleration vector, (in this case it is neglected) g g [ ] (0 0 0);

Shipping and Marine Technology Computational Hydrodynamics PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 11 Time step control etc. applicationClass interFoam; startFrom startTime; startTime 0; stopAt endTime; endTime 0.3; deltaT 2e-05; writeControl timeStep; writeInterval 100; cycleWrite 0; writeFormat ascii; writePrecision 6; writeCompression uncompressed; timeFormat general; timePrecision 6; runTimeModifiable yes; adjustTimeStep off; maxCo 0.2; maxDeltaT 1; Courant number has a significant impact on the reliability and stability of the unstable flow simulation. Recommended by OpenFOAM, the upper limit of the Co should be around 0.2 Solution algorithm: system/fvSolution Discretization schemes: system/fvSchemes

Shipping and Marine Technology Computational Hydrodynamics PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 12 Run the case cd naca15_test_case ooodlesInterPhaseChange &> log & tail –f log Note: simulation of cavitating flow should be started from converged wetted flow result since stabilized pressure distribution is critical for cavitating flow computation.

Shipping and Marine Technology Computational Hydrodynamics PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 13 Result