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

How to use cellZoneInjection, "numberDensity", anyone can help ??

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 26, 2011, 19:27
Smile How to use cellZoneInjection, "numberDensity", anyone can help ??
  #1
Member
 
Fábio César Canesin
Join Date: Mar 2010
Location: Florianópolis
Posts: 67
Rep Power: 16
Canesin is on a distinguished road
Hi all, I have tried to use cellZoneInjection to put particles in my case but I'm not understanding the behavior of the "numberDensity".

I was in the believe that the numberDensity was the number of particles per cell. Or the number of particles for the cellZone.

But reading the source file .C, it looks like it is "the number of particles per cubic meter".

http://foam.sourceforge.net/docs/cpp/a05068_source.html


Is it right ??

So, my question relies. If I provide: flowrate (kg/s), diameter (distribution) and the density is know.. why the hell do I need some particle density O.o ??

injectionModel cellZoneInjection; //Inject particles at the cloudZone

cellZoneInjectionCoeffs
{
numberDensity 5.87E+06;//Number density of particles in one cell
massFlowRate 0.0024585;//Mass per second
massTotal 0.0024585;
parcelBasisType mass;//Reference propertie
cellZone myCloud;//Cell zone to realize injection
SOI 1e-6; //Start of injection
U0 (89.4 0 0); //Initial particle velocity
sizeDistribution //Used to infere the diameter
{
type uniform;
uniformDistribution
{
minValue 1.9e-5;
maxValue 2.1e-5;
}
}
}

Is that right ?? Can someone please confirm the behavior.
Canesin is offline   Reply With Quote

Old   February 9, 2017, 23:45
Default
  #2
Senior Member
 
vidyadhar
Join Date: Jul 2016
Posts: 138
Rep Power: 9
vidyadhar is on a distinguished road
Hello Fábio César Canesin,

I have seen this post recently. I, also, want to use cellZoneInjection in openfoam4.0 or caelus.

If you have used it successfully, I request you to help me how to execute the same.
Like, I need help in setting the injection models and parameters involved in it. I am using toposetDict to create the cellZone.

Thanks in advance.

Regards,
vidyadhar
vidyadhar is offline   Reply With Quote

Old   July 10, 2023, 20:53
Default
  #3
New Member
 
alexlupo's Avatar
 
Alejandro López
Join Date: Mar 2013
Location: Bilbao
Posts: 16
Rep Power: 13
alexlupo is on a distinguished road
Hi,

In this type of injection, numberDensity is equal to the number of desired particles in the celZone divided by the cellZone volume. The setup is as follows (just an example for a random case):


model1
{
type cellZoneInjection;
numberDensity 2.22e11;//Number of desired particles divided by the cellZone Volume
SOI 0; //Star of Injection
cellZone cellZoneInject;//cellZone defined for injection
massTotal 3.686e-5;
parcelBasisType fixed;
nParticle 1;
U0 (0 0 0.1);
sizeDistribution
{
type normal;
normalDistribution
{
expectation 40e-6;
variance 10e-6;
minValue 30e-6;
maxValue 50e-6;
}
}
}
__________________
Alex
alexlupo is offline   Reply With Quote

Reply


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



All times are GMT -4. The time now is 09:06.