Bug OF12 lagrangian output

From OpenFOAMWiki
Jump to: navigation, search

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.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
Print/export