Bug OF12 lagrangian output

From OpenFOAMWiki
Revision as of 13:16, 6 March 2006 by Bgschaid (Talk | contribs)

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.