GfsParticle

From Gerris

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:35, 22 March 2010
Delauxs (Talk | contribs)

← Previous diff
Revision as of 00:38, 22 March 2010
Delauxs (Talk | contribs)

Next diff →
Line 5: Line 5:
The syntax within the [[GfsParticleList]] syntax is The syntax within the [[GfsParticleList]] syntax is
- [[GfsParticleList]] [[GfsParticle]] { Id X Y Z } ...+ [[GfsParticleList]] ... [[GfsParticle]] { Id X Y Z } ...
where Id is the id number and X, Y and Z are the initial coordinates of the [[GfsParticle]]. where Id is the id number and X, Y and Z are the initial coordinates of the [[GfsParticle]].

Revision as of 00:38, 22 March 2010

A GfsParticle is basically an inert Lagrangian particle. It can be used as a particle type to define a list of Lagrangian particles (GfsParticleList). Each GfsParticle is characterised by its id number (interger) and position (X,Y,Z).

The syntax within the GfsParticleList syntax is

GfsParticleList ... GfsParticle { Id X Y Z } ...

where Id is the id number and X, Y and Z are the initial coordinates of the GfsParticle.

The GfsParticle particle object is derived from GfsEvent but does not inherit of its read/write method i.e. timing (start, end ...) cannot be specified directly for a GfsParticle but has to be specify for the whole GfsParticleList.

Personal tools
communication