1 gmvFile << "tracers " << particles.size() << nl;
2 forAllConstIter(Cloud<passiveParticle>, particles, iter)
4 gmvFile << iter().position().x() << ' ';
8 forAllConstIter(Cloud<passiveParticle>, particles, iter)
10 gmvFile << iter().position().y() << ' ';
14 forAllConstIter(Cloud<passiveParticle>, particles, iter)
16 gmvFile << iter().position().z() << ' ';
20 forAll(lagrangianScalarNames, i)
22 const word& name = lagrangianScalarNames[i];
39 gmvFile << name << nl;
43 gmvFile << fld[n] << token::SPACE;
51 forAll(lagrangianVectorNames, i)
53 const word& name = lagrangianVectorNames[i];
70 gmvFile << name + "x" << nl;
74 gmvFile << fld[n].x() << token::SPACE;
78 gmvFile << name + "y" << nl;
82 gmvFile << fld[n].y() << token::SPACE;
86 gmvFile << name + "z" << nl;
90 gmvFile << fld[n].z() << token::SPACE;
98 gmvFile << "endtrace"<< nl;