Bug OF12 lagrangian output

From OpenFOAMWiki
Revision as of 03:19, 13 March 2006 by Jwzkln (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This bug was discussed in [1]:

In Version 1.2 dieselFoam only writes the positions of the particles. This can be fixed by going to src/lagrangian/basic/Cloud/Cloud.H and declare writeFields() and readFields() as virtual:

 
//- Write the field data for the cloud of particles
virtual void writeFields() const;

Then recompile OpenFOAM.