GfsFeedParticle

From Gerris

Revision as of 12:28, 29 March 2011; view current revision
←Older revision | Newer revision→
Jump to: navigation, search

GfsFeedParticle is a GfsParticleList that allows you to introduce particles in the system. The syntax is

[ GfsParticleList ] { 
  nparts = [ GfsFunction ]
  xfeed = [ GfsFunction ] yfeed= [ GfsFunction ] zfeed = [ GfsFunction ]
  velx = [ GfsFunction ]  vely = [ GfsFunction ] velz = [ GfsFunction ]
  mass = [ GfsFunction ]
  volume = [ GfsFunction ]
} 

where

nparts 
is the number of particles that are created each time the object is called (by default 1).
xfeed 
is a GfsFunction that determines the x-coordinate of the new particle (by default 0).
yfeed 
is a GfsFunction that determines the y-coordinate of the new particle (by default 0).
zfeed 
is a GfsFunction that determines the z-coordinate of the new particle (by default 0).
velx  
is a GfsFunction that determines the velocity component of the particle in direction x (by default 0).
vely  
is a GfsFunction that determines the velocity component of the particle in direction y (by default 0).
velz  
is a GfsFunction that determines the velocity component of the particle in direction z (by default 0).
mass  
is a GfsFunction that determines the mass of the particle (by default 0).
volume  
is a GfsFunction that determines the volume of the particle (by default 0).


Personal tools
communication