FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

gmvOutputParcels.H

Go to the documentation of this file.
00001 gmvFile << "tracers " << particles.size() << nl;
00002 for
00003 (
00004     discretePhase::iterator elmnt = particles.begin();
00005     elmnt != particles.end();
00006     ++elmnt
00007 )
00008 {
00009     gmvFile << elmnt().position().x() << " ";
00010 }
00011 gmvFile << nl;
00012 for
00013 (
00014     discretePhase::iterator elmnt = particles.begin();
00015     elmnt != particles.end();
00016     ++elmnt
00017 )
00018 {
00019     gmvFile << elmnt().position().y() << " ";
00020 }
00021 gmvFile << nl;
00022 for
00023 (
00024     discretePhase::iterator elmnt = particles.begin();
00025     elmnt != particles.end();
00026     ++elmnt
00027 )
00028 {
00029     gmvFile << elmnt().position().z() << " ";
00030 }
00031 gmvFile << nl;
00032 
00033 gmvFile << "U" << nl;
00034 for
00035 (
00036     discretePhase::iterator elmnt = particles.begin();
00037     elmnt != particles.end();
00038     ++elmnt
00039 )
00040 {
00041     gmvFile << elmnt().velocity().x() << " ";
00042 }
00043 gmvFile << nl;
00044 gmvFile << "V" << nl;
00045 for
00046 (
00047     discretePhase::iterator elmnt = particles.begin();
00048     elmnt != particles.end();
00049     ++elmnt
00050 )
00051 {
00052     gmvFile << elmnt().velocity().y() << " ";
00053 }
00054 gmvFile << nl;
00055 
00056 gmvFile << "W" << nl;
00057 for
00058 (
00059     discretePhase::iterator elmnt = particles.begin();
00060     elmnt != particles.end();
00061     ++elmnt
00062 )
00063 {
00064     gmvFile << elmnt().velocity().z() << " ";
00065 }
00066 gmvFile << nl;
00067 
00068 gmvFile << "Diam" << nl;
00069 
00070 for
00071 (
00072     discretePhase::iterator elmnt = particles.begin();
00073     elmnt != particles.end();
00074     ++elmnt
00075 )
00076 {
00077     gmvFile << elmnt().d() << " ";
00078 }
00079 
00080 
00081 gmvFile << "endtrace"<< nl;
00082 
00083 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines