CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

injector model in dieselFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 1, 2009, 21:56
Default injector model in dieselFoam
  #1
New Member
 
Jerry Lee
Join Date: Jul 2009
Posts: 17
Rep Power: 16
leejc is on a distinguished road
I am trying to run dieselFoam to simulate an experiment with a single injector running at constant flowrate into a large domain. So, what I like to input is the cone angle, droplet distribution, and mass flow rate (I also know the average droplet velocity at the nozzle exit) and use dieselFoam to predict the spray pattern's development downstream where measurements were made. Further, there is little evaporate, so I set evaporationmodel off. atomizationModel, collisionModel, and dispersionModel are all off.

The dieselFoam tutorial uses injectorType = unitInjector, and injectormodel=hollowConeInjector. I kept them.

I suppose unitInjectorProp is the right place to specify what I need to specify.

My question: How to adjust the parameters under unitInjectorProp to match what I have (i.e. total liquid mass flow rate through the opening). I know the followings: (1) the diameter of the opening, (2), the total mass flowrate (kg/s), (3) cone angle (solid cone), (4) droplet size distribution.

I think for item (3) and (4), I can modify the entries under hollowConeInjectorCoef in sprayProperties

I am having a hard time with dealing with (1) and (2). I don't quite understand the variables under unitInjectorProps: mass, diameter, nParcels, and the array under massFlowRateProfile. In the tutorial, diameter=0.00019, mass=6e-6, and nParcel=5000.

For example, in massFlowRateProfile, there is a list of <t,y>. It is obvious that the first entry is the start time and the last is the end time. What is y? My first guess was kg/s of liquid through the opening of size specified by the value of diameter. BUT I see values like 9.4. But 9.4 kg/s for a hole of diameter 0.00019m makes no sense (9.4kg/s is about ten thousand gallon an hours, it's like the total fuel consumption rate of a 747 at takeoff!).

Now the massFlowRateProfile that came with the tutorial runs, so, whatever y means, I tried to make it a constant.

I changed the array to
(0 0.1)
(1e-5 1)
(0.000125 10)
(0.0002 10)
(0.0003 10)
(0.1 10)
(1 10)

Thinking it will just ramp up the flow rate quickly to 10 and remain there for I just integrate in time from 0 to 0.1 sec. The code bombs out at 0.0003. The original array reaches the maximum at 0.000125 and the comes back down. So obviously, y is not what I think it is.

Say, my injector of size 1mm diameter handles 0.03kg/s (which remains constant). What should I do?

Any help will be greatly appreciated.
leejc is offline   Reply With Quote

Old   September 2, 2009, 01:24
Default
  #2
Member
 
Christof Benz
Join Date: Mar 2009
Posts: 52
Rep Power: 17
chbenz is on a distinguished road
Hi Jerry,

first have a look at this page:

http://openfoamwiki.net/index.php/Contrib_dieselFoam

Here you can find explanations for most of spray entries. I think this would help.

(3) and (4) you can modify in $FOAM_CASE/constant/sprayProperties

If you know the flowrate you can estimate the total mass, which is injected.
The flowrateProfile only discribe the progress of injection. This is not the real flowrate.

I hope this help.

Christof
chbenz is offline   Reply With Quote

Old   September 2, 2009, 12:25
Default even more puzzled
  #3
New Member
 
Jerry Lee
Join Date: Jul 2009
Posts: 17
Rep Power: 16
leejc is on a distinguished road
Thank you Christof.

My guess is as follows.

In the first part of unitInjectorProps,

position and direction are the coordinate of the injector hole and the direction of the spray axis.

diameter is the diameter of the injector hole in meter
Cd is nozzle discharge coefficient
mass is the mass for each parcel in kg
temperature is the temperature of the liquid being injected
nParcels is the total number of parcel to be injected in the time interval specified in the array under massFlowRateProfile

so, the total mass of liquid injected in the time interval is nParcels*mass

So far am I far off?

I know the array under massFlowRateProfile (t_i,y_i),i=0,...last denotes the start and end time of injector by t_0 and t_last. But what is the meaning of the "progress variable" y_i? It is obviously not kg/sec, nor is it Parcel/sec.
I integrated the profile and came up with 0.0087 which is neither the total mass injected nor is it the total number of parcels.

If anyone knows the secret or the/or one of the authors of dieselFoam sees this, I would appreciate it if you would respond.

Thank you.
leejc is offline   Reply With Quote

Old   September 2, 2009, 15:13
Default
  #4
Member
 
Christof Benz
Join Date: Mar 2009
Posts: 52
Rep Power: 17
chbenz is on a distinguished road
Hi,

mass is the mass you inject per hole. when you want to inject 60 mg of fuel through a 6 hole injector, every hole injects 10 mg. thats the meaning of mass in injectorProperties.
Please have a look at http://openfoamwiki.net/index.php/Co...lowRateProfile

"The absolute values are not important since they will be recalculated so that the integrated value match the injected mass. The start of injection, tsoi and end of injection, teoi, are defined by the first and last entries in the massFlowRateProfile, i.e"

here you can find some infos. please look also on the other pages on http://openfoamwiki.net/index.php/Contrib_dieselFoam

There is all you need for dieselSprays.

Christof
chbenz is offline   Reply With Quote

Old   September 4, 2009, 11:40
Default
  #5
New Member
 
Jerry Lee
Join Date: Jul 2009
Posts: 17
Rep Power: 16
leejc is on a distinguished road
Thank you very much Christof.... much appreciated.
leejc is offline   Reply With Quote

Old   June 24, 2010, 08:35
Default
  #6
Senior Member
 
Rickard
Join Date: May 2010
Location: Lund, Skåne, Sweden
Posts: 143
Rep Power: 15
Rickard.Solsjo is on a distinguished road
This was a very informative thread! I have one question about the nparcels.
I have made some approximations which makes the injected fuel act just as a gaseous phase. Can I just keep the nparcels to 5000 or should i increase it ?

Regards
R
Rickard.Solsjo is offline   Reply With Quote

Old   May 30, 2014, 14:05
Default
  #7
Member
 
yes
Join Date: Apr 2014
Posts: 32
Rep Power: 11
ENKIME is on a distinguished road
Hi Cristof
Sorry for bother you my friend but I have the same issue than Jerry, the difference is that I have sprayFoam instead of dieselFoam so this is the threat.
I have coneNozzelInjector as injector type, so the mass in the tutorial is 6e-06 I need 40 mg to be injected. When I change the mass I have janafthermo error so I can't change the mass and I can reproduce the penetration of any experiment.
My question is, hopping you can answer it, How can I change the mass? by changing the number of parcels or making constant the flow rate?
I read what openFoam wiki said about the flow rate so the problem is not the flowrate.

Some advice will be very appreciate.
Kind regards
ENKIME is offline   Reply With Quote

Old   June 1, 2014, 05:13
Default
  #8
Senior Member
 
Rickard
Join Date: May 2010
Location: Lund, Skåne, Sweden
Posts: 143
Rep Power: 15
Rickard.Solsjo is on a distinguished road
ENIKME,
if you only change the fuel mass and not the injector duration you will inject a lot of mass in a short time.
look at your injection velocity
Rickard.Solsjo is offline   Reply With Quote

Old   April 3, 2018, 12:30
Default
  #9
Member
 
vishal
Join Date: Mar 2013
Posts: 73
Rep Power: 13
vishal_s is on a distinguished road
Hi,

Can anyone help me with this doubts.

I am working on sprayFoam using OF-2.2.2 and I have two doubts:

1) is the unit injector type same as blob injector?

2) The patch injector in OF-2.2.2 same as unit injector. This is because OF-2.2.2 doesn't have unit injector. which injector model in OF-2.2.2 represents a blob type injector.
vishal_s is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
gasoline spray simulation using dieselFoam qhdgj OpenFOAM Running, Solving & CFD 10 July 10, 2016 01:55
dieselFoam: Volume fraction limitation? Rachel OpenFOAM Running, Solving & CFD 3 July 21, 2009 02:09
axi-symmetric mesh of dieselFoam az1362f OpenFOAM Running, Solving & CFD 2 June 27, 2009 11:32
DieselFoam does not restart from latestTime lord_kossity OpenFOAM Bugs 8 February 21, 2009 13:54
About dieselFoam tsjb00 OpenFOAM Running, Solving & CFD 3 August 16, 2005 16:59


All times are GMT -4. The time now is 17:31.