implementation of transport model into cavitatingfoam to
play

Implementation of Transport Model into CavitatingFoam to simulate - PowerPoint PPT Presentation

Implementation of Transport Model into CavitatingFoam to simulate the Cavitation in Diesel Injector Nozzle Bar BER Energy and Fluid Science Lab . Graduate School of Maritime Sciences, Kobe University, JAPAN bicerbaris@hotmail.com MSc/PhD


  1. Implementation of Transport Model into CavitatingFoam to simulate the Cavitation in Diesel Injector Nozzle Barış BİÇER Energy and Fluid Science Lab . Graduate School of Maritime Sciences, Kobe University, JAPAN bicerbaris@hotmail.com MSc/PhD course in CFD with OpenSource software, Dec 1-2, 2014, Chalmers

  2. OUTLINE  Background 1  Cavitation models 2  Purpose 3  Description of solvers 4  Implementation Procedure 5  Test-case / Results 6

  3. SECTION 1 Background

  4. 1. BACKGROUND  low fuel consumption  clean emission LOW HIGH Nozzle Spray

  5. Cavitation phenomena in a contraction Vena P inj P back contacta Low pressure region P inj Pressure P back Static pressure P v 5 Schematic illustration of cavitation formation inside nozzle hole

  6.  Rectangular shows  Large-scale transparent nozzle  Length is about 1 mm  Diameter is about 0.1~0.2 mm  Operate at very high injection pressure Real nozzle Numerical analyses are necessary

  7. SECTION 2 Cavitation Models

  8. 2 . CAVITATION MODELS In order to model the cavitation flow we need first to specify; • the two-phase treatment of the liquid and vapor and, • as well as phase transition between them as source term.

  9. Multiphase Models HEM (mixture Two-Fluid method) Mass Eularian- Eularian- Barotropic Transport Eularian Lagrangian Models [Delannoy, 1990; [Kunz, 1999; [Alajbegovic, 2003; [Giannadakis et al, 2008; Schmidt, 1999] Merkle, 1998; Yuan, et al. 2004] Sou, et al. 2014] Schneer, 2001] 1. Sou, A., Biçer, B., & Tomiyama, A. (2014). Numerical simulation of incipient cavitation flow in a nozzle of fuel injector. Computers & Fluids, 103, 42-48. 2. BICER, B., TANAKA, A., FUKUDA, T., & SOU, A. NUMERICAL SIMULATION OF CAVITATION PHENOMENA IN DIESEL INJECTOR NOZZLES, ILASS-ASIA, 2013.

  10. Mass Transport based Equation Model Three key points cardinally should be chosen regarding to MTM: 1. Selection of an appropriate mass transfer model (means source term of transport equation) 2. A solution strategy for the advection equation VOF (Volume of fluid)

  11. Available multiphase solvers in OpenFoam  cavitatingFoam  multiphaseEulerFoam  compressibleInterFoam  multiphaseInterFoam  compressibleTwoPhaseEulerFoam  interPhaseChangeFoam  interFoam  twoPhaseEulerFoam  interMixingFoam  twoLiquidMixingFoam  LTSInterFoam  compressibleTwoPhaseEulerFoam * VOF model * HEM model * Transport equation with * Barotropic equation phase change with compressibility * incompressible

  12. SECTION 3 Purpose

  13. 3. PURPOSE  Describe the two cavitation solvers included in OpenFOAM- 2.3.x such as cavitatingFoam and interPhaseChangeFoam,  Briefly explain the implementation of the transport equation model into cavitatingFoam, which is called ” TransportCavitatingFoam ”, as to simulate the cavitation phenomena inside injector nozzle,  Test the performance and applicability of the new solver by simulating the turbulent cavitating flow inside the enlarge rectangular nozzle,  Verify the calculated results through the experimental data.

  14. SECTION 4 Description of solvers

  15. "cavitatingFoam ” solver ” Transient cavitation code based on the homogeneous equilibrium model from which the compressibility of the liquid/vapour "mixture" is obtained. 𝐸𝜍 𝐸𝑢 = 𝛺 𝐸𝑄 ρ : mixture density  HEM model with the barotropic closure: 𝐸𝑢 P : pressure t: time 𝛺 : compressibility 𝜖𝜍  Continuity equation: 𝜖𝑢 + 𝛼•(𝜍𝑉) = 0 𝜖𝜍𝑉  Momentum equation: 𝜈 𝑓𝑔𝑔 (𝛼𝑉 + 𝛼𝑉 𝑈 𝜖𝑢 + 𝛼 • (𝜍𝑉𝑉) = −𝛼𝑄 + 𝛼 • 𝜈 𝑓𝑔𝑔 : effective viscosity 𝜍 − 𝜍 𝑚,𝑡𝑏𝑢 𝛿 = 𝜍 v,𝑡𝑏𝑢 : vapor density at saturation  Vapor mass faction (𝛿) : 𝜍 𝑤,𝑡𝑏𝑢 − 𝜍 𝑚,𝑡𝑏𝑢 𝜍 𝑚,𝑡𝑏𝑢 : liquid density at saturation  An iterative PIMPLE algorithm is employed to solve P: 𝑄 𝑡𝑏𝑢 : pressure at saturation 𝜖(𝛺𝑄) 𝑤 )𝑄 𝑡𝑏𝑢 ) 𝜖𝛺 𝜖𝛺 0 + (𝛺 𝑚 − 𝛺 0 : the liquid density at given − (𝜍 𝑚 𝜖𝑢 − 𝑄 𝑡𝑏𝑢 𝜖𝑢 + 𝛼 • (𝜍𝑉) = 0 𝜍 𝑚 𝜖𝑢 temperature

  16. cavitatingFoam members “$ FOAM_SOLVERS/multiphase/cavitatingFoam  Solves vapor mass fraction eqn. alphavPsi.H  cavitatingFoam.C Main source code shows the flow chart of solver  continuityErrs.H  Described according to compressibility model setDeltaT.H  setInitialDeltaT.H FoamFile “$ FOAM_TUTORIALS/multiphase/cavitatingFoam/constant/thermodynamicProperties {  readControls.H version 2.0;  format ascii; readThermodynamicsProperties.H class dictionary;  createFields.H location "constant"; object thermodynamicProperties;  pEqn.H } // * * * ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //  rhoEqn.H barotropicCompressibilityModel linear;  psiv psiv [ 0 -2 2 0 0 ] 5.6-06; UEqn.H rholSat rholSat [ 1 -3 0 0 0 ] 1000;  Make psil psil [ 0 -2 2 0 0 ] 4.54e-07; pSat pSat [ 1 -1 -2 0 0 ] 2300; o files rhoMin rhoMin [ 1 -3 0 0 0 ] 0.001; // ******************************************************************** // o options rhoMin represents min density which is used to keep the density positive and can be set as 0.001.

  17. cavitatingFoam.C file and solver flowchart Reading maxAcousticCo number Calculates and outputs the mean and max. Co numbers Reset the timestep to maintain a constant max. Co number Calculates the mixture density: 𝜖𝜍 𝑛 𝜖𝑢 + 𝛼 • (𝜍 𝑛 𝑉) = 0 Calculates vapor mass fraction 𝜍 − 𝜍 𝑚,𝑡𝑏𝑢 𝛿 = 𝜍 𝑤,𝑡𝑏𝑢 − 𝜍 𝑚,𝑡𝑏𝑢 Solves momentum equation PIMPLE loop to solve pressure correction and turbulence equations BICER, B., TANAKA, A., FUKUDA, T., & SOU, A. NUMERICAL SIMULATION OF CAVITATION PHENOMENA IN DIESEL INJECTOR NOZZLES, ILASS-ASIA, 2013.

  18. “ interPhaseChangeFoam ” solver “Solver for 2 incompressible, isothermal immiscible fluids with phase-change (e.g. cavitation). Uses a VOF (volume of fluid) phase-fraction based interface capturing approach. The momentum and other fluid properties are of the "mixture" and a single momentum equation is solved. ” 𝜖𝜍 𝑛  Continuity equation: 𝜍 𝑛 : 𝑛𝑗𝑦𝑢𝑣𝑠𝑓 𝑒𝑓𝑜𝑡𝑗𝑢𝑧 𝜖𝑢 + 𝛼 • (𝜍 𝑛 𝐕) = 0  Momentum equation: 𝜖𝜍 𝑛 𝑉 𝜈 𝑓𝑔𝑔 (𝛼𝐕 + 𝛼𝐕 𝑈 + 𝛼 • (𝜍 𝑛 𝐕𝐕) = −𝛼𝑄 + 𝛼 • + 𝑔 𝜏 𝜖𝑢 𝑔 𝜏 : 𝑡𝑣𝑠𝑔𝑏𝑑𝑓 𝑢𝑓𝑜𝑡𝑗𝑝𝑜 𝑔𝑝𝑠𝑑𝑓 𝜖(𝛽𝜍 𝑚 )  Transport equation: + 𝛼 • (𝛽𝜍 𝑚 𝐕) + 𝛼 • 𝛽𝐕 𝑑 (1 − 𝛽) = 𝑆 𝑑 − 𝑆 𝑓 𝜖𝑢 U c is called as artificial compression term, which is not zero only at the interface. It explains the shrinkage of the phase-interphase towards a sharper one 𝜈 𝑛 = (1 − 𝛽)𝜈 𝑤 + 𝛽𝜈 𝑚 𝜍 𝑛 = (1 − 𝛽)𝜍 𝑤 + 𝛽𝜍 𝑚  Mixture viscosity and density:

  19. “ interPhaseChangeFoam ” members “$ FOAM_SOLVERS/multiphase/interPhaseChangeFoam  alphaEqn.H  alphaEqnSubCycle.H  createFields.H Solves transport alpha eqn.  interPhaseChangeFoam.C  UEqn.H Main source code shows the flow chart  pEqn.H of solver  phaseChangeTwoPhaseMixtures Folder o Kunz  Kunz.C  Kunz.H o Merkle  Merkle.C Implemented cavitation models  Merkle.H o SchnerrSauer  SchnerrSauer C  SchnerrSauer.H o phaseChangeTwoPhaseMixture  newPhaseChangeTwoPhaseMixture.C Definitions for mixture two-phase  phaseChangeTwoPhaseMixture.C  phaseChangeTwoPhaseMixture.H  Make o files o options

  20. interPhaseChangeFoam.C file and solver flowchart Reading the control parameters used by setDeltaT Calculates and outputs the mean and max. Co numbers Reset the timestep to maintain a constant max. Co number Reading the control parameters for alpha equation “$ FOAM_TUTORIALS/multiphase/ interPhaseChangeFoam/system/ fvSolution Solves alpha transport equation, and obtain new distribution Correct the alpha boundary condition and also interface curvature Solves the momentum equation PIMPLE loop to solve pressure correction and turbulence equations

  21.  For the detailed code explanation of the solver, refer to previous reports of this course: A. Asnaghi, interPhaseChangeFoam tutorial and PANS turbulence model, MSc/PhD course in CFD with OpenSource software, (2013). N. Lu, Tutorial: Solve cavitating flow around a 2D hydrofoil using a user modified version of interPhaseChangeFoam, MSc/PhD course in CFD with OpenSource software, (2008).  For the example of test-case of this solver, refer to previous report of this course: M. Andersen, A interPhaseChangeFoam tutorial, MSc/PhD course in CFD with OpenSource software, (2011).

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend