|
[Sponsors] |
August 24, 2017, 09:18 |
CloudInfo.C
|
#1 |
New Member
Alessandro
Join Date: Jul 2016
Posts: 11
Rep Power: 9 |
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. Code:
In controlDict this should be defined as functions { cloudInfo1 { type cloudInfo; functionObjectLibs ("libcloudFunctionObjects.so"); enabled true; outputControl timeStep; outputInterval 1; clouds (reactingCloud1); } } Code:
void Foam::functionObjects::cloudInfo::writeFileHeader(const label i) { writeHeader(file(), "Cloud information"); writeCommented(file(), "Time"); writeTabbed(file(), "nParcels"); writeTabbed(file(), "mass"); file() << endl; } Thanks in advance for your help, Alessandro |
|
Tags |
cloudinfo1, lagrangian particles, openfoam 2.4.0, post-processing |
|
|