gmvOutputParcels.H
Go to the documentation of this file.
1 gmvFile << "tracers " << particles.size() << nl;
2 forAllConstIter(discretePhase, particles, iter)
3 {
4  gmvFile << iter().position().x() << " ";
5 }
6 gmvFile << nl;
7 
8 forAllConstIter(discretePhase, particles, iter)
9 {
10  gmvFile << iter().position().y() << " ";
11 }
12 gmvFile << nl;
13 
14 forAllConstIter(discretePhase, particles, iter)
15 {
16  gmvFile << iter().position().z() << " ";
17 }
18 gmvFile << nl;
19 
20 gmvFile << "U" << nl;
21 forAllConstIter(discretePhase, particles, iter)
22 {
23  gmvFile << iter().velocity().x() << " ";
24 }
25 gmvFile << nl;
26 
27 gmvFile << "V" << nl;
28 forAllConstIter(discretePhase, particles, iter)
29 {
30  gmvFile << iter().velocity().y() << " ";
31 }
32 gmvFile << nl;
33 
34 gmvFile << "W" << nl;
35 forAllConstIter(discretePhase, particles, iter)
36 {
37 {
38  gmvFile << iter().velocity().z() << " ";
39 }
40 gmvFile << nl;
41 
42 gmvFile << "Diam" << nl;
43 forAllConstIter(discretePhase, particles, iter)
44 {
45  gmvFile << iter().d() << " ";
46 }
47 
48 gmvFile << "endtrace"<< nl;
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
Definition: pEqn.H:29
static const char nl
Definition: Ostream.H:262