|
[Sponsors] |
August 24, 2017, 10:18 |
CloudInfo.C
|
#1 |
New Member
Alessandro
Join Date: Jul 2016
Posts: 11
Rep Power: 10 |
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 |
|
August 16, 2024, 03:40 |
|
#2 |
Member
Rajat soni
Join Date: Oct 2016
Posts: 32
Rep Power: 10 |
Hi Alessandro,
did you find a solution to it? Best regards Rajat |
|
Tags |
cloudinfo1, lagrangian particles, openfoam 2.4.0, post-processing |
|
|