CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   PatchInjection: Initial Particle Position (https://www.cfd-online.com/Forums/openfoam-programming-development/133562-patchinjection-initial-particle-position.html)

mayank.dce2k7 April 16, 2014 17:55

PatchInjection: Initial Particle Position
 
Hi,

I wanted to use patchInjection model for my particle simulation. I want to know what is the initial starting position of parcels/injectors at the specified patch. It is uniformly distributed or parabolic or base on some random function.

From the file PatchInjection.H:

Code:

//- List of cell labels corresponding to injector positions
        labelList cellOwners_;

I understood initial position of parcels/injectors is defined by cellOwners_

In file PatchInjection.C:

Code:

cellOwners_ = patch.faceCells();
This tells me position of injectors is taken at face cells.

What I am unable to interpret is if number of parcel/injectors specified are less than no. of cell centers than how the parcels/injectors position is decided on given patch?

CFD_Bz October 6, 2022 12:11

base patch injection - number of parcel/injectors relation to number of cell center
 
Quote:

Originally Posted by mayank.dce2k7 (Post 486587)
Hi,

I wanted to use patchInjection model for my particle simulation. I want to know what is the initial starting position of parcels/injectors at the specified patch. It is uniformly distributed or parabolic or base on some random function.

From the file PatchInjection.H:

Code:

//- List of cell labels corresponding to injector positions
        labelList cellOwners_;

I understood initial position of parcels/injectors is defined by cellOwners_

In file PatchInjection.C:

Code:

cellOwners_ = patch.faceCells();
This tells me position of injectors is taken at face cells.

What I am unable to interpret is if number of parcel/injectors specified are less than no. of cell centers than how the parcels/injectors position is decided on given patch?

Hello mayank.dce2k7

I know this thread was written long time ago (in april 2014) !
However i would still try to ask you (Or anyone else) if you have found an answer for your quesion !?

Thanks in advance,
Cordially


All times are GMT -4. The time now is 13:36.