CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

PatchInjection: Initial Particle Position

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

LinkBack Thread Tools Display Modes
Old   April 16, 2014, 17:55
Default PatchInjection: Initial Particle Position
Join Date: Oct 2012
Posts: 84
Rep Power: 6
mayank.dce2k7 is on a distinguished road

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:

 //- 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:

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?
mayank.dce2k7 is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Divergence only by lengthening of simulated geometry, buoyantPimpleFoam arvhult OpenFOAM 16 March 29, 2014 18:03
Courant-number explodes after a lon while (icoFoam) Rody- OpenFOAM Running, Solving & CFD 6 January 29, 2014 05:27
Extremely slow simulation with interDyMFoam jrrygg OpenFOAM Running, Solving & CFD 9 April 23, 2013 10:14
pisoFoam - unstable pressure residual Industrial_CFD OpenFOAM Running, Solving & CFD 21 February 24, 2013 16:39
Interfoam blows on parallel run danvica OpenFOAM Running, Solving & CFD 16 December 22, 2012 03:09

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