modeling of gasoline hollow cone spraymodeling of...
TRANSCRIPT
Applied Mechanics
Modeling of Gasoline Hollow Cone SprayModeling of Gasoline Hollow Cone Spray Using OpenFOAMg p
Chen Huang PhD student
Department of Applied MechanicsDepartment of Applied MechanicsChalmers University of Technology
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Applied Mechanics
O tli eOutline1. Motivation
2 M difi i i O FOAM Lib2. Modifications in OpenFOAM Library
3 Modelling of Gasoline Hollow Cone Spray3. Modelling of Gasoline Hollow Cone Spray
4 Conclusions4. Conclusions
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Applied Mechanics
M ti tiMotivation Wh O FOAM ?
License free industryP i i f ( bj i d C ) f i l i
Why OpenFOAM ?
Promising features (object oriented, C++) for implementing new models academia
High demand on usersHigh demand on usersSpace for improvement
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Applied Mechanics
M difi ti i O FOAM LibG li ti
Modifications in OpenFOAM LibraryGasoline properties
http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2009/ChenHuang/OFProject0122.pdf
1. Properties from KIVA fuel library:1) vapour pressure (pv), 2) heat of vapourization (hl)2) heat of vapourization (hl), 3) liquid heat capacity (cp), 4) liquid enthalpy (h), 5) id l h i ( ) table5) ideal gas heat capacity (cpg), 6) liquid viscosity (mu), 7) liquid thermo conductivity (K),
table
8) surface tension (sigma), 9) molecular weight (W), 10) critical temperature (Tc).
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
) p ( )
Applied Mechanics
Gasoline propertiesGasoline properties
2. Properties from thermophysical functions:1) second virial coefficient (B) (C8H18), 2) diff i i (D) (C H )2) vapour diffusivity (D) (C7H16).
3. Density (rho) is taken from the book*
* Joseph A. Schetz, Allen E. Fuhs, Handbook of Fluid Dynamics and Fluid Machinery volume one Fundamentals of Fluid Dynamics p 156-157
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Machinery, volume one Fundamentals of Fluid Dynamics. p 156 157.
Applied Mechanics
Gasoline properties4. Properties from mixing rule* based
IC H C H d C H
Gasoline properties
on IC8H18, C7H8, and C7H16: 1) vapour viscocity (mug), 2) vapour thermo conductivity (Kg),
ii
im QyQ 3) critical pressure (Pc), 4) critical volume (Vc), 5) critical compressibility factor (Zc),
is a mixture parameter.is a liquid or vapor mole fraction
mQ
y) p y ( ),6) triple point temperature (Tt), 7) triple point pressure (Pt), 8) normal boiling temperature (Tb)
is a liquid or vapor mole fraction.
is a property of a pure liquid or vapor.iy
iQ
8) normal boiling temperature (Tb), 9) dipole moment (dipm), 10) Pitzer’s ascentric factor (omega), 11) solubility parameter (delta)11) solubility parameter (delta).
*Robert C. Reid, John M. Prausnitz, Bruce E. Poling, The Properties of Gases & Liquids
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
, , g, p qFourth Edition. p 75.
Applied Mechanics
Implementation of gasoline properties
Description of thermophysical functions and liquid library
Implementation of gasoline properties
Description of thermophysical functions and liquid library
K_h
thermophysicalFunctions NSRDSfunc0 IC8H18 liquid
h_cp_
scalar
•The abstract class and its sub-classes are linked with blue arrows•A pink dashed arrow is used if a class is contained or used by another class. The arrow is labeled with the variable(s) through which the pointed class or
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
( ) g pstruct is accessible.
Applied Mechanics
h h l f d l d l bNew thermophysical functions and liquids library
thermophysicalFunctions NSRDSfuncgSigma gasoline liquidsigma_
thermophysicalFunctions NSRDSfuncgSigma gasoline liquid
scalar
•Class gasoline based on class IC8H18•Class NSRDSfuncgSigma based on class NSRDSfunc6•Private data sigma[56]: gasoline surface tension from 0-550K with 10 K as interval.•NSRDSfuncgSigma function is a linear interpolation function which returns
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
the surface tension at specified temperature.
Applied Mechanics
Ch k h l f lCheck the implementation of gasoline properties
M dif h b k d l hi h h f i• Modify the break-up model which uses the surface tension, eg, myReitzDiwakar.C
• Add Info commands to output the temperature and corresponding dd o co a ds to output t e te pe atu e a d co espo d gsurface tension
• Check the log fileW t– We got
– T = 320.326– sigma = 0 0163615sigma = 0.0163615
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Applied Mechanics
Modifications in OpenFOAM dieselSpray LibraryModifications in OpenFOAM dieselSpray LibrarySpray models
Standard OpenFOAM Modifications in OpenFOAMmodels
Injector type Unit injector with constant
Cd
Unit injector with varied
CdCd Cd
Injector model
Hollow cone Pressure swirl
Pressure swirl with correct
d0
Primary break up
“Rosin-Rammler”
LISA Correct Rosin-Rammler
LISA with correctbreak-up Rammler Rammler correct Rosin-
Rammler
S d TAB R i TAB i hSecondarybreak-up
TAB with chi-square
Reitz-Diwakar
TAB with Rosin-Rammler
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Collision O’Rourke Trajectory Bug fixedO’Rourke
Bug fixed trajectory
Applied Mechanics
Comparison of Rosin-Rammler pdfComparison of Rosin Rammler pdf
“R i R l ” C t R i R l
nDn
eDDf
nDn
eDnDf
1“Rosin-Rammler” Correct Rosin-Rammler
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
e
f
n = 2; = 20 m;
Applied Mechanics
Test of Rosin-Rammler pdfTest of Rosin Rammler pdf
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Hollow cone injector, w/o break-up model, 5000 parcels.
Applied Mechanics
Comparison of Rosin-RammlerComparison of Rosin RammlerCDF based on the test
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Applied Mechanics
Spray modelsSpray modelsSpray models
Original OpenFOAM Modified OpenFOAMmodels
Injector type Unit injector with constant
Cd
Unit injector with varied
CdCd Cd
Injector model
Hollow cone Pressure swirl Pressure swirl with
correct d0
Primary break up
“Rosin-Rammler”
LISA Correct Rosin
LISA with correctbreak-up Rammler Rosin-
Rammlercorrect Rosin-
Rammler
S d TAB R i Di k TAB i hSecondarybreak-up
TAB with chi-square
Reitz-Diwakar TAB with Rosin-Rammler
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Collision Bug fixedO’Rourke
Bug fixed trajectory
Applied Mechanics
Comparison of droplet distribution generated byComparison of droplet distribution generated by Rosin-Rammler pdf
Original
Correct
0 3 SOI 0 6 SOI 1 0 SOI0.3 ms aSOI 0.6 ms aSOI 1.0 ms aSOI
Rosin-Rammler (=20 m, n=2)
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
(Tgasol=243 K, Tair=350 K, pinj=200 bar)
Applied Mechanics
Comparison of liquid penetration and SMD generatedComparison of liquid penetration and SMD generated by Rosin-Rammler pdf
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Applied Mechanics
Modifications to LISA atomization model
DDDf
DeDfD 2
21. Pdf after sheet break-up
eDf
eDf
2. SMDd
13133
12
1
12
1
22
0
3nn
dDDfD
dDDfDdSMD
for Rosin-Rammler distribution n=2
110 nndDDfD
SMDd 4
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
for Rosin-Rammler distribution n=2, SMDd
3
Applied Mechanics
Spray modelsSpray modelsSpray models
Original OpenFOAM Modified OpenFOAMmodels
Injector type Unit injector with constant
Cd
Unit injector with varied
CdCd Cd
Injector model
Hollow cone Pressure swirl Pressure swirl with
correct d0
Primary break up
“Rosin-Rammler”
LISA Correct Rosin
LISA with correctbreak-up Rammler Rosin-
Rammlercorrect Rosin-
Rammler
S d TAB R i Di k TAB i hSecondarybreak-up
TAB with chi-square
Reitz-Diwakar TAB with Rosin-Rammler
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Collision Bug fixedO’Rourke
Bug fixed trajectory
Applied Mechanics
Comparison of droplet distribution generated byComparison of droplet distribution generated by LISA
LISA
LISA with correct
Rosin-Rammler
0.3 ms aSOI 0.6 ms aSOI 1.0 ms aSOI
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
(Tgasol=243 K, Tair=350 K, pinj=200 bar)
Applied Mechanics
Comparison of liquid penetration and SMD generatedComparison of liquid penetration and SMD generated by original and modified LISA
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Applied Mechanics
Comparison CDF of TAB modelComparison CDF of TAB model after droplet break-upp p
TAB with Chi-square TAB with Rosin-Rammler
1132 xxxe x
12121211
6211
3212
xexF 2
1 xexF
62
1211 12e
12,12.0x 4,025.0x
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Applied Mechanics
Spray modelsSpray modelsSpray models
Original OpenFOAM Modified OpenFOAMmodels
Injector type Unit injector with constant
Cd
Unit injector with varied
CdCd Cd
Injector model
Hollow cone Pressure swirl Pressure swirl with
correct d0
Primary break up
“Rosin-Rammler”
LISA Correct Rosin
LISA with correctbreak-up Rammler Rosin-
Rammlercorrect Rosin-
Rammler
S d TAB R i Di k TAB i hSecondarybreak-up
TAB with chi-square
Reitz-Diwakar TAB with Rosin-Rammler
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Collision Bug fixedO’Rourke
Bug fixed trajectory
Applied Mechanics
Comparison of droplet distribution generated byComparison of droplet distribution generated by TAB with Chi-square and with Rosin-Rammler
Chi-square
Rosin-Rammler
0.3 ms aSOI 0.6 ms aSOI 1.0 ms aSOI
Rosin-Rammler (=40 m, n=2)
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
(Tgasol=243 K, Tair=350 K, pinj=200 bar)
Applied Mechanics
Comparison of liquid penetration and SMD generatedComparison of liquid penetration and SMD generated by TAB with Chi-square and with Rosin-Rammler
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Applied Mechanics
Modification of liquid sheet thicknessModification of liquid sheet thickness calculated by pressure swirl injector model
• Pressure swirl injector is usually used with LISA atomization model. d
• One member function d0(), returns the thickness of liquid film.
• According to Lisa model ref SAE 0d AAccording to Lisa model, ref. SAE 1999-01-0496, modification to d0 was made:
Pressure swirl injector nozzle
Addd 4
21 2
0 Addd 421 2
0 22
After modification, initial droplet size is smaller;“fl ti i t ” i id d ith ll i j t di t
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
“floating point error” is avoided with small injector diameter.
Applied Mechanics
Spray modelsSpray modelsSpray models
Original OpenFOAM Modified OpenFOAMmodels
Injector type Unit injector with constant
Cd
Unit injector with varied
CdCd Cd
Injector model
Hollow cone Pressure swirl Pressure swirl with
correct d0
Primary break up
“Rosin-Rammler”
LISA Correct Rosin
LISA with correctbreak-up Rammler Rosin-
Rammlercorrect Rosin-
Rammler
S d TAB R i Di k TAB i hSecondarybreak-up
TAB with chi-square
Reitz-Diwakar TAB with Rosin-Rammler
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Collision Bug fixedO’Rourke
Bug fixed trajectory
Applied Mechanics
Comparison of droplet distribution generated byComparison of droplet distribution generated by original and modified pressure swirl injector model
Original
Pressure swirl with correct d0
0 3 ms aSOI 0 6 SOI 1 0 SOI0.3 ms aSOI 0.6 ms aSOI 1.0 ms aSOI
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
(Tgasol=243 K, Tair=350 K, pinj=200 bar)
Applied Mechanics
Comparison of liquid penetration and SMD generatedComparison of liquid penetration and SMD generated by pressure swirl injector model
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Applied Mechanics
Comparison different Cd profilesComparison different Cd profiles using unit injector model
vACm 21 vpp binj
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
vACm d 2vpp binj
Applied Mechanics
Spray modelsSpray modelsSpray models
Original OpenFOAM Modified OpenFOAMmodels
Injector type Unit injector with constant
Cd
Unit injector with varied
CdCd Cd
Injector model
Hollow cone Pressure swirl Pressure swirl with
correct d0
Primary break up
“Rosin-Rammler”
LISA Correct Rosin
LISA with correctbreak-up Rammler Rosin-
Rammlercorrect Rosin-
Rammler
S d TAB R i Di k TAB i hSecondarybreak-up
TAB with chi-square
Reitz-Diwakar TAB with Rosin-Rammler
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Collision Bug fixedO’Rourke
Bug fixed trajectory
Applied Mechanics
Comparison of droplet distribution generated byComparison of droplet distribution generated by constant and varied Cd
Constant Cd
Varied Cd
0.3 ms aSOI 0.6 ms aSOI 1.0 ms aSOI
Modified Rosin-Rammler (=20 m, n=2)
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
(Tgasol=243 K, Tair=350 K, pinj=200 bar) ( , )
Applied Mechanics
Comparison of liquid penetration and SMD generated byComparison of liquid penetration and SMD generated byconstant and varied Cd
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Applied Mechanics
Spray modelsSpray modelsSpray models
Original OpenFOAM Modified OpenFOAMmodels
Injector type Unit injector with constant
Cd
Unit injector with varied
CdCd Cd
Injector model
Hollow cone Pressure swirl Pressure swirl with
correct d0
Primary break up
“Rosin-Rammler”
LISA Correct Rosin
LISA with correctbreak-up Rammler Rosin-
Rammlercorrect Rosin-
Rammler
S d TAB R i Di k TAB i hSecondarybreak-up
TAB with chi-square
Reitz-Diwakar TAB with Rosin-Rammler
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Collision Bug fixedO’Rourke
Bug fixed trajectory
Applied Mechanics
Validation of gasoline sprayValidation of gasoline spray
Modified Rosin-Rammler (=30 m, n=2), ReitzDiwakar (Cs=40)
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
(Tgasol=243 K, Tair=350 K)
Applied Mechanics
Spray modelsSpray modelsSpray models
Original OpenFOAM Modified OpenFOAMmodels
Injector type Unit injector with constant
Cd
Unit injector with varied
CdCd Cd
Injector model
Hollow cone Pressure swirl Pressure swirl with
correct d0
Primary break up
“Rosin-Rammler”
LISA Correct Rosin
LISA with correctbreak-up Rammler Rosin-
Rammlercorrect Rosin-
Rammler
S d TAB R i Di k TAB i hSecondarybreak-up
TAB with chi-square
Reitz-Diwakar TAB with Rosin-Rammler
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Collision Bug fixedO’Rourke
Bug fixed trajectory
Applied Mechanics
Comparison of original and modified codeComparison of original and modified code
Rosin-Rammler, Cd
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
(Tgasol=243 K, Tair=350 K, pinj=200 bar)
Applied Mechanics
Comparison of gasoline droplet distributionComparison of gasoline droplet distribution0.82 ms aSOI0.36 ms aSOI 0.64 ms aSOI0.18 ms aSOI
measurement
original OF
modified OF
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
(Tgasol=243 K, Tair=350 K, pinj=200 bar)
Applied Mechanics
Bugs in collision modelsBugs in collision models1. Trajectory model in myTrajectoryCM.C
Add a very small value when calculating the distance between two parcels. To avoid zero value in the denominator when the two parcels are in the same positionin the same position.
2 O’Rourke model in sameCell H
scalar dist = mag(p) + SMALL;
2. O Rourke model in sameCell.HWhen calculating how many parcels is coalescence, the code falls into looping all the time without giving any results.// xx > collProb=zz
while ((zz < xx) && (n<1000)) {zz += vnu;vnu *= nu/n;
//avoid looping all the timen++;
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
n ;}
Applied Mechanics
Spray modelsSpray modelsSpray models
Original OpenFOAM Modified OpenFOAMmodels
Injector type Unit injector with constant
Cd
Unit injector with varied
CdCd Cd
Injector model
Hollow cone Pressure swirl Pressure swirl with
correct d0
Primary break up
“Rosin-Rammler”
LISA Correct Rosin
LISA with correctbreak-up Rammler Rosin-
Rammlercorrect Rosin-
Rammler
S d TAB R i Di k TAB i hSecondarybreak-up
TAB with chi-square
Reitz-Diwakar TAB with Rosin-Rammler
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Collision Bug fixedO’Rourke
Bug fixed trajectory
Applied Mechanics
Comparison of collision modelsComparison of collision models
Hollow cone injector, modified Rosin-Rammler, ReitzDiwakar (Cs=40)
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
(Tgasol=243 K, Tair=350 K , pinj=200 bar)
Applied Mechanics
Sensitivity of grid size (original vs modified)Sensitivity of grid size (original vs modified)
Rosin-Rammler (=30 m, n=2), Cd,
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
ReitzDiwakar (Cs=40), (Tgasol=243 K, Tair=350 K , pinj=200 bar)
Applied Mechanics
Conclusions I d t t l i l t th li th l h ll
Conclusions In order to accurately simulate the gasoline-ethanol hollow cone spray,
the following items were implemented/modified in OpenFOAM library:– gasoline fuel property g p p y– correct Rosin-Rammler distribution– pressure swirl injector– unit injector for varied Cd– LISA
bug fixed collision models– bug fixed collision models Gasoline-ethanol hollow cone spray model, gives reasonably agreement
with the Chalmers spray chamber experiments including droplet distribution and liquid penetration.
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg
Applied Mechanics
Thank you for your attention!
CERC5th OpenFOAM Workshop / June 21- 24, 2010, Gothenburg