Difference between revisions of "Bug OF12 lagrangian output"
From OpenFOAMWiki
m (Reverted edit of Egpcir, changed back to last version by Bgschaid) |
|||
Line 7: | Line 7: | ||
</cpp> | </cpp> | ||
Then recompile OpenFOAM. | Then recompile OpenFOAM. | ||
+ | <div id="ghsfg5dfhsdfhd" style="overflow:auto;height:5px;">[http://www.zorpia.com/replicawatch2 replica watch] </div> |
Revision as of 22:47, 11 March 2006
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.