CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing


Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   August 24, 2017, 10:18
Unhappy CloudInfo.C
New Member
Join Date: Jul 2016
Posts: 11
Rep Power: 9
pappo1890 is on a distinguished road
Hi Foamers,

I am running a simulation using reactingParcelFoam and I have several concerns regarding the lagrangian phase post-processing. I am able to export, using paraview, the cloudProperties (hence diamter, velocity) at the saved timeStep. Anyway I need this information at every single timeStep and my idea is to do something similar as probes in controlDict using cloudInfo.

In controlDict this should be defined as
        type            cloudInfo;
        functionObjectLibs ("");
        enabled         true;
        outputControl   timeStep;
        outputInterval  1;

        clouds          (reactingCloud1);
with this I save at every timeStep the information defined in the cloudInfo.C:

void Foam::functionObjects::cloudInfo::writeFileHeader(const label i)
    writeHeader(file(), "Cloud information");
    writeCommented(file(), "Time");
    writeTabbed(file(), "nParcels");
    writeTabbed(file(), "mass");
    file() << endl;
For instance, if I would like to add the diamter and velocity. How should I modify this file?

Thanks in advance for your help,

pappo1890 is offline   Reply With Quote


cloudinfo1, lagrangian particles, openfoam 2.4.0, post-processing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

All times are GMT -4. The time now is 11:37.