1 gmvFile <<
"tracers " << particles.size() <<
nl;
4 gmvFile << iter().position().x() <<
' ';
10 gmvFile << iter().position().y() <<
' ';
16 gmvFile << iter().position().z() <<
' ';
39 gmvFile << name <<
nl;
43 gmvFile <<
fld[
n] << token::SPACE;
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;
static List< word > lagrangianScalarNames
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< ' ';}gmvFile<< nl;forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
static List< word > lagrangianVectorNames
forAll(lagrangianVectorNames, i)