1 gmvFile << "tracers " << particles.size() << nl;
4 Cloud<passiveParticle>::iterator elmnt = particles.begin();
5 elmnt != particles.end();
9 gmvFile << elmnt().position().x() << " ";
15 Cloud<passiveParticle>::iterator elmnt = particles.begin();
16 elmnt != particles.end();
20 gmvFile << elmnt().position().y() << " ";
26 Cloud<passiveParticle>::iterator elmnt = particles.begin();
27 elmnt != particles.end();
31 gmvFile << elmnt().position().z() << " ";
35 forAll(lagrangianScalarNames, i)
37 word name = lagrangianScalarNames[i];
54 gmvFile << name << nl;
56 for (label n = 0; n < s.size(); n++)
58 gmvFile << s[n] << token::SPACE;
66 forAll(lagrangianVectorNames, i)
68 word name = lagrangianVectorNames[i];
85 gmvFile << name + "x" << nl;
87 for (label n = 0; n < v.size(); n++)
89 gmvFile << v[n].x() << token::SPACE;
93 gmvFile << name + "y" << nl;
95 for (label n = 0; n < v.size(); n++)
97 gmvFile << v[n].y() << token::SPACE;
101 gmvFile << name + "z" << nl;
103 for (label n = 0; n < v.size(); n++)
105 gmvFile << v[n].z() << token::SPACE;
113 gmvFile << "endtrace"<< nl;