CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   multiHoleInjector (http://www.cfd-online.com/Forums/openfoam/80432-multiholeinjector.html)

 mfmohdyasin September 25, 2010 09:39

multiHoleInjector

Dear all,
Does anyone know what xyAngle, zAngle and umbrellaAngle in multiHoleInjectorProps dictionary below mean?
Is the 'direction' not required? Then how the injection direction is determined?

multiHoleInjectorProps
{
position (0.0097 0.028 0.01);

xyAngle 0;
zAngle 180.0;
nHoles 4;
umbrellaAngle 120.0;
nozzleTipDiameter 1e-3;
angleSpacing
(
0.0
22.5
22.5
20.0
);

Fairus

 niklas September 25, 2010 15:46

http://openfoamwiki.net/index.php/Co...ctorProperties

The direction of the injecor is defined via the xy and z angles.
The spray is injected around this direction with the umbrellaAngle
spread around the full circle with the angleSpacing angles

 mfmohdyasin September 26, 2010 07:53

Niklas,
I would like to set the injection direction to be in +z direction. With unitInjector, I will set: direction (0 0 1);
How can I do the same with multiHoleInjector? I can set zAngle = 0, but I've to specify a value for xyAngle, which makes the direction to be not purely in +z direction.

One more, Is there any relationship between umbrellaAngle and innerConeAngle/outerConeAngle which is in the hollowConeInjectorCoeffs dictionary? Graphical explanation will be highly appreciated.

Best,
Fairus

 niklas September 26, 2010 09:09

1 Attachment(s)
if you set zAngle to 0 (or 180) the value of xyAngle wont matter.

The umbrellaAngle is the angle between the individual sprays along the injector-direction.
The inner/outer cone angles are the angles of an individual spray.

angleSpacing is the angles between the spray centerlines in the plane perpendicular to the injector-direction.

 CYMa September 27, 2010 13:45

Hallo, Niklas

I use the rhoPisoTwinParcelFoam to investigate a particle-laden gas flow.
I want to calculate the total particle number across a cell surface in certain time.
And then I can get a particle flux for this cell face by N/(t*A),
N, the total particle number across the cell surface;
t, time;
A, cell surface area.

I have poor knowledge about C++.
May you give me some help?

Thank you very much!

 niklas September 27, 2010 15:48

Quote:
 Originally Posted by CYMa (Post 276815) Hallo, Niklas I use the rhoPisoTwinParcelFoam to investigate a particle-laden gas flow. I want to calculate the total particle number across a cell surface in certain time. And then I can get a particle flux for this cell face by N/(t*A), N, the total particle number across the cell surface; t, time; A, cell surface area. I have poor knowledge about C++. May you give me some help? Thank you very much!