Presentation is loading. Please wait.

Presentation is loading. Please wait.

Exercise.

Similar presentations


Presentation on theme: "Exercise."โ€” Presentation transcript:

1 Exercise

2 Exercise I II III SLFMFoam EdmParcelFoam simpleEdmFoam
Case Description EDM (Eddy Dissipation Model) Code Structure Tutorial SLFMFoam II SLFM (Stationary Laminar Flamelet Model) Code Structure Tutorial EdmParcelFoam III Case Description Code Structure Tutorial

3 Case description Piloted CH4/Air Flame Burner Dimensions
Main jet inner diameter, d = 7.2 mm Pilot annulus inner diameter = 7.7 mm Pilot annulus outer diameter = 18.2 mm Burner outer wall diameter = 18.9 mm Wind tunnel exit = 30 cm by 30 cm Boundary Conditions Co-flow velocity = 0.9 m/s (291 K, atm) Main jet composition = 25% CH4, 75% dry air by volume Main jet kinematic viscosity = 1.58e-05 ๐‘š 2 /๐‘  Main jet velocity = 49.6 m/s (294K, atm) Air Air Air Air R. S. Barlow and J. H. Frank, Proc. Combust. Inst. 27: (1998) R. S. Barlow, J. H. Frank, A. N. Karpetis and J. Y. Chen, Combust. Flame 143: (2005) Ch. Schneider, A. Dreizler, J. Janicka, Combust. Flame 135: (2003) Pilot Pilot Pilot Pilot Fuel Fuel

4 Case description Piloted CH4/Air Flame Composition Measured profiles
Main jet (mass fraction) โ€“ N2 : 0.647, CH4 : 0.156, O2 : 0.197 Pilot (mass fraction) โ€“ N2 : , O2 : , O : 7.47e-4, H2 : 1.29e-4, H : 2.48e-5 H2O : , CO : 4.07e-3, CO2 : , OH : , NO : 4.80e-6 Co-flow (mass fraction) โ€“ N2 : 0.767, O2 : 0.233 Measured profiles Measured radial profiles of Favre-average mixture fraction and temperature at x/d=1 in the four turbulent piloted flames Axial profiles of measured mixture fraction and temperature (Favre average) in piloted flames C, D, E, and F

5 Case description Computational grid CheckMesh 57.6 cm 10.8 cm MAINJET
PILOT COFLOW 10.8 cm

6 simpleEdmFoam Governing Equations Nonlinear Reaction Term
Nonlinear Convection Term

7 EDM(Eddy Dissipation Model)
simpleEdmFoam EDM(Eddy Dissipation Model) EDM (Eddy Dissipation Model) Minimum Local mean rate of combustion The mean reaction rate is controlled by the turbulent mixing rate The reaction rate is limited by the deficient species of reactants or product Finite Rate EDM EDM Arrhenius The mean reaction rate is determined by the minimum

8 simpleEdmFoam Code Structure Application : simpleEdmFoam
New OpenFOAM solver (steady-state) Application : simpleEdmFoam Runtime loop rhoEqn.H : Continuity UEqn.H : Momentum EDM library Correction loop YEqn.H : Species transport EEqn : Energy transport PEqn.H : Pressure correction using SIMPLE loop SimpleEdmFoam

9 simpleEdmFoam Code Structure /solvers/simpleEdmFoam
/libs/combustionModels_POSTECH/EDM EDM library

10 simpleEdmFoam Solver UEqn.H YEqn.H EEqn.H SimpleEdmFoam.C

11 simpleEdmFoam EDM library EDM.H EDM.H EDM.C

12 simpleEdmFoam Code Structure /solvers/simpleEdmFoam/Make options

13 simpleEdmFoam Case Folder /tutorials/EDM_reacting_flow/
์ฐจ๋ถ„ํ™” / Linear solver / Time step ์„ค์ • ๊ฒฉ์ž / ๋‚œ๋ฅ˜๋ชจ๋ธ / ์—ฐ์†Œ๋ชจ๋ธ / ํ™”ํ•™๋ฐ˜์‘ ์„ค์ • ์ดˆ๊ธฐ / ๊ฒฝ๊ณ„์กฐ๊ฑด ์„ค์ •

14 simpleEdmFoam PolyMesh boundary
/tutorials/EDM_reacting_flow/constant/polyMesh ํ˜•์ƒ ๋ฐ ๊ฒฉ์ž ์ •๋ณด / Boundary ์„ค์ • OUTLET CASING OUTERWALL INNERWALL MAINJET PILOT COFLOW boundary

15 simpleEdmFoam โ€˜0โ€™ Folder O2 N2 CH4
Species mass fraction : CH4, CO, CO2, H, H2, H2O, N2, NO, O, O2, OH O2 N2 CH4

16 simpleEdmFoam โ€˜0โ€™ Folder k epsilon
Turbulent Properties: k(turbulent kinetic energy), epsilon(energy dissipation rate), mut(turbulent viscosity), alphat(turbulent thermal diffusivity) k epsilon

17 simpleEdmFoam โ€˜0โ€™ Folder U T p
U(velocity), T(temperature), p(pressure) U T p

18 combustionProperties turbulenceProperties
simpleEdmFoam โ€˜constantโ€™ Folder Combustion & Turbulence model chemistryProperties combustionProperties turbulenceProperties RASProperties

19 thermophysicalProperties
simpleEdmFoam Solver Chemical Reactions thermophysicalProperties foam.inp foam.dat

20 simpleEdmFoam Solver fvSchemes fvSolution
Discretization / Linear Solver / Relaxation Factor fvSchemes fvSolution

21 simpleEdmFoam Solver controldict decomposePardict
Calculation / MPI(Message Passing Interface) controldict decomposePardict

22 simpleEdmFoam Tutorial Open โ€˜Terminalโ€™ : click
~$ cd tutorials/EDM_reacting_flow ~$ decomposePar 4. ~$ mpirun โ€“np 4 simpleEdmFoam -parallel

23 simpleEdmFoam Tutorial Calculating โ‘  โ‘ก

24 simpleEdmFoam Tutorial โ‘ข Calculating Time step Linear solver Equations
min/max value Residual

25 simpleEdmFoam Tutorial Calculating โ‘ฃ fvSolution

26 simpleEdmFoam Post Processing 1. ~$ reconstructPar
2. ~$ cd tutorials/EDM_reacting_flow/paraFoam

27 simpleEdmFoam Post Processing โ‘ข : Apply โ‘  : Mesh parts โ‘ก : Fields

28 simpleEdmFoam Post Processing โ‘ฃ : Last time step data
โ‘ค : Surface with Edges

29 simpleEdmFoam Post Processing โ‘ฉ : select field โ‘ช : U(velocity)

30 simpleEdmFoam Post Processing โ‘ซ : Rescale to data range

31 simpleEdmFoam Post Processing โ‘ฌ : T(Temperature)

32 simpleEdmFoam Results (a) Velocity [m/s] (b) Temperature [K] (c) k

33 simpleEdmFoam Results (a) CH4 mass fraction (b) O2 mass fraction
(c) CO mass fraction (d) CO2 mass fraction

34 SLFMFoam Nemerical Combustion Model โ€“ Nonpremixed
Equilibrium Assumption โ€“ Infinitely fast chemistry Laminar Flamelet Model Steady โ€“ SLFM(Stationary Laminar Flamelet Model) Transient โ€“ RIF(Representative Interactive Flamelet) Laminar Flame Structure Stretch or Scalar Dissipation Rate Turbulence Conditional Averaging CMC(Conditional Moment Closure) Deterministic relationships between mixture fraction and all other reactive scalars. 1st order closure for chemical reaction rate.

35 SLFMFoam SLFM Turbulent flame modeled as an ensemble of thin, laminar, locally 1-D flamelet structures Flame structure in terms of stoichiometric Scalar Dissipation Rate ( ๐‘ต ๐’”๐’• )

36 SLFMFoam SLFM Governing equation 0= ๐‘ ๐œ‚ ๐œ• 2 ๐‘„ ๐œ‚ ๐œ• ๐œ‚ 2 + ๐‘ค ๐œ‚ ๐œ‚
0= ๐‘ ๐œ‚ ๐œ• 2 ๐‘„ ๐œ‚ ๐œ• ๐œ‚ ๐‘ค ๐œ‚ ๐œ‚ Governing equation Assumed beta-function PDF ๐œ•( ๐œŒ ๐œ‰ ๐œ•๐‘ก +๐›ปโˆ™ ๐œŒ ๐’– ๐œ‰ =๐›ปโˆ™ ๐œ‡ ๐‘ก ๐‘† ๐‘ ๐œ‰ ๐›ป ๐œ‰ Mixture fraction ๐œ•( ๐œŒ ๐œ‰" 2 ๐œ•๐‘ก +๐›ปโˆ™ ๐œŒ ๐’– ๐œ‰" 2 =๐›ปโˆ™ ๐œ‡ ๐‘ก ๐‘† ๐‘ ๐œ‰" 2 ๐›ป ๐œ‰" ๐œ‡ ๐‘ก ๐‘† ๐‘ ๐œ‰" ๐›ป ๐œ‰ 2 โˆ’ ๐œŒ ๐œ’ Mixture fraction variance

37 SLFMFoam Code Structure Application : SLFMFoam Flamelet Library
UEqn.H : Momentum Mixturefraction.H : Mixture fraction transport MixturefractionVar.H : Mixture fraction Variance transport PEqn.H : Pressure correction using SIMPLE loop Calculate Yi, T rhoEqn.H : Continuity Application : SLFMFoam Flamelet Library Correction loop Runtime loop ฮฒ-pdf SLFMlookup.H : update Yi, T SLFMFoam

38 SLFMFoam Code Structure /solvers/SLFMFoam SLFMFoam.C

39 Scalar dissipation rate
SLFMFoam Solver readSLFMProperties.H Mixture fraction Mixture fraction variance Scalar dissipation rate

40 SLFMFoam Solver UEqn.C SLFMFoam.C Mixturefraction.C
MixturefractionVar.C

41 SLFMFoam Solver Flamelet library makeSLFMlib.H wylib.inp
(OFstream wyFile) Flamelet library

42 SLFMFoam Solver BetaPDF.H ฮฑ=0.439, ฮฒ=4.345, ฮณ=4.388
ฮฑ=51.85, ฮฒ=77.78, ฮณ=129.6 ฮฑ=77.78, ฮฒ=51.85, ฮณ=129.6 ฮฑ=23.61, ฮฒ=1.243, ฮณ=24.85 ฮฒ-PDF plot

43 SLFMFoam Case Folder /tutorials/SLFM_reacting_flow/ Flamelet library
์ดˆ๊ธฐ / ๊ฒฝ๊ณ„์กฐ๊ฑด ์„ค์ • ์ฐจ๋ถ„ํ™” / Linear solver / Time step ์„ค์ • ๊ฒฉ์ž / ๋‚œ๋ฅ˜๋ชจ๋ธ / ์—ฐ์†Œ๋ชจ๋ธ / ํ™”ํ•™๋ฐ˜์‘ ์„ค์ •

44 SLFMFoam โ€˜0โ€™ Folder mf mfVar
Mixture fraction, Mixture fraction variance mf mfVar

45 thermophysicalProperties
SLFMFoam โ€˜constantโ€™ Folder Chemical Reactions thermophysicalProperties mech30.dat . GRI-3.0 mechanism - 53 species - 325 steps thermo30.dat . . .

46 SLFMFoam โ€˜constantโ€™ Folder SLFMdict Mixture fraction space
โ‘  โ‘  Uniform eta(mixture fraction) space ์„ค์ • - false : non uniform eta dict(โ‘ฆ) ์‚ฌ์šฉ โ‘ก eta space section ์ˆ˜ โ‘ข eta spacing - 90 : mixture fraction์„ 0๋ถ€ํ„ฐ 1๊นŒ์ง€ ์ด 90๊ฐœ ๊ตฌ๊ฐ„์œผ๋กœ ๊ตฌ๋ถ„ โ‘ฃ mixture fraction variance ์ˆ˜ โ‘ค maximum mixture fraction variance ์„ค์ • โ‘ฅ spacing coefficient โ‘ฆ non uniform eta spacing - 0~0.1, 0.1~0.25, 0.25~0.5, 0.5~1.0 4 section(โ‘ก) ์— ๊ฐ๊ฐ 20, 20, 30, 20 ๊ฐœ์˜ eta space โ‘ง wylib.inp ํŒŒ์ผ ์ƒ์„ฑ ์—ฌ๋ถ€ โ‘จ SLFM ์—ฐ์†Œ๋ชจ๋ธ ์‚ฌ์šฉ ์—ฌ๋ถ€ โ‘ก โ‘ข โ‘ฃ โ‘ค โ‘ฅ โ‘ฆ โ‘ง โ‘จ SLFMdict

47 SLFMFoam โ€˜systemโ€™ Folder fvSchems fvSolution
Discretization / Linear Solver / Relaxation Factor fvSchems fvSolution

48 SLFMFoam โ€˜systemโ€™ Folder controlDict decomposeParDict
Calculation / MPI(Message Passing Interface) controlDict decomposeParDict

49 SLFMFoam Tutorial Open โ€˜Terminalโ€™ : click
~$ cd tutorials/SLFM_reacting_flow ~$ decomposePar 4. ~$ mpirun โ€“np 4 SLFMFoam -parallel

50 SLFMFoam Tutorial Calculating โ‘  โ‘ข . โ‘ก .

51 ฮฒ-PDF, Flamelet library integration
SLFMFoam Tutorial Calculating Time step ฮฒ-PDF, Flamelet library integration โ‘ฃ Time Residual

52 SLFMFoam Post Processing 1. ~$ reconstructPar
2. ~$ cd tutorials/EDM_reacting_flow/paraFoam

53 SLFMFoam Post Processing โ‘ข : Apply โ‘  : Mesh parts โ‘ก : Fields

54 SLFMFoam Post Processing โ‘ฃ : Last time step data
โ‘ค : Surface with Edges

55 SLFMFoam Post Processing โ‘ฉ : select field โ‘ช : U(velocity)

56 SLFMFoam Post Processing โ‘ซ : Rescale to data range

57 SLFMFoam Post Processing โ‘ฌ : T(Temperature)

58 SLFMFoam Results (a) Velocity [m/s] (b) Temperature [K] (c) k (d) ฮต

59 SLFMFoam Results (a) Mixture fraction (b) Mixture fraction variance
(c) Scalar dissipation rate (d) Stoichiometric SDR

60 SLFMFoam Results (a) CH4 mass fraction (b) O2 mass fraction
(c) CO mass fraction (d) NO mass fraction (e) CO2 mass fraction

61 SLFMFoam Comparison EDM SLFM EDM SLFM EDM SLFM (a) Velocity [m/s]
(b) Temperature [K] (c) ฮต

62 SLFMFoam Comparison EDM SLFM EDM SLFM EDM SLFM (a) CH4 mass fraction
(b) O2 mass fraction (c) CO mass fraction

63 EdmParcelFoam Computational grid CheckMesh ยผ quarter mesh
Swirl Flow Inlet ยผ quarter mesh Periodic boundary condition

64 EdmParcelFoam Code Structure Application : EdmParcelFoam
New OpenFOAM solver (steady-state) Application : EdmParcelFoam Parcels.evolve(); Runtime loop rhoEqn.H : Mass UEqn.H : Momentum EDM library Correction loop YEqn.H : Species transport EEqn : Energy transport PEqn.H : Pressure correction using SIMPLE loop EdmParcelFoam

65 EdmParcelFoam Code Structure /solvers/EdmParcelFoam
/libs/combustionModels_POSTECH/EDM EDM library

66 EdmParcelFoam UEqn.H Solver YEqn.H EEqn.H EdmParcelFoam.C

67 basicReactingMultiphaseCloud.H
EdmParcelFoam ReactingMultiphaseCloud Cloud definition Add to reacting cloud - multiphase composition - devolatilization - surface reactions /solvers/EdmParcelFoam/createCloud.H ReactingCloud Add to thermodynamic cloud - Variable composition (single phase) - Phase change createCloud.H ThermoCloud Add to kinematic cloud - Heat transfer KinematicCloud Cloud function objects Particle forces - buoyancy - drag - pressure gradient, etc โ€ฆ Sub-model - Injection model - Dispersion model - Patch interaction model - Surface film model - Stochastic collision model basicReactingMultiphaseCloud.H

68 EdmParcelFoam Code Structure /solvers/EdmParcelFoam/Make options

69 EdmParcelFoam Case Folder /tutorials/oilSpray-singleBurner/
์ฐจ๋ถ„ํ™” / Linear solver / Time step ์„ค์ • ๊ฒฉ์ž / ๋‚œ๋ฅ˜๋ชจ๋ธ / ์—ฐ์†Œ๋ชจ๋ธ / ํ™”ํ•™๋ฐ˜์‘ / ์ž…์ž ๋ฌผ์„ฑ์น˜ ์„ค์ • ์ดˆ๊ธฐ / ๊ฒฝ๊ณ„์กฐ๊ฑด ์„ค์ •

70 EdmParcelFoam PolyMesh boundary
/tutorials/oilSpray-singleBurner/constant/polyMesh ํ˜•์ƒ ๋ฐ ๊ฒฉ์ž ์ •๋ณด / Boundary ์„ค์ • SLIPWALL WALL INLET boundary

71 EdmParcelFoam โ€˜0โ€™ Folder U(velocity) U

72 combustionProperties turbulenceProperties
EdmParcelFoam โ€˜constantโ€™ Folder Combustion & Turbulence model chemistryProperties combustionProperties turbulenceProperties RASProperties

73 Cloud Function definition
EdmParcelFoam โ€˜constantโ€™ Folder CloudProperties Particle Properties Cloud Function definition Solution definition

74 EdmParcelFoam โ€˜constantโ€™ Folder CloudProperties Particle submodel

75 EdmParcelFoam โ€˜constantโ€™ Folder particleTrackDict radiationProperties
ParticleTracking & Radiation particleTrackDict radiationProperties

76 thermophysicalProperties
EdmParcelFoam Solver Chemical Reactions thermophysicalProperties foam.inp foam.dat

77 EdmParcelFoam Tutorial Open โ€˜Terminalโ€™ : click
~$ cd tutorials/oilSpray-singleBurner ~$ decomposePar 4. ~$ mpirun โ€“np 4 EdmParcelFoam -parallel

78 EdmParcelFoam Tutorial Calculating โ‘  Radiation part Particle part โ‘  โ‘ก

79 reactingCloud1Properties
EdmParcelFoam Tutorial Calculating fvSolution reactingCloud1Properties โ‘ข โ‘ข

80 EdmParcelFoam Tutorial Calculating โ‘ฃ Radiation

81 EdmParcelFoam Post Processing 1. ~$ reconstructPar
~$ cd tutorials/EDM_reacting_flow/paraFoam ~$ steadyParticleTracks

82 EdmParcelFoam Results C7H16 mass fraction (b) H2O mass fraction
(c) CO2 mass fraction (d) O2 mass fraction

83 EdmParcelFoam Results (e) Turbulent dissipation rate (m2/s3)
(f) Turbulent kinetic energy (m2/s2) (g) Velocity (m/s) (h) Temperature (K)

84 EdmParcelFoam Results particleTrackDict


Download ppt "Exercise."

Similar presentations


Ads by Google