Skip to content
Snippets Groups Projects
Commit dd438ffd authored by Mark OLESEN's avatar Mark OLESEN
Browse files

TUT: add cloudInfo example to reactingParcelFoam/filter (#2390)

parent 48a50fec
Branches
Tags
No related merge requests found
// -*- C++ -*-
cloudInfo
{
type cloudInfo;
libs (lagrangianFunctionObjects);
log true;
// Nothing happens before this anyhow
timeStart 0.5;
writeControl writeTime;
// Require cloud name(s) - not regex!
clouds ( reactingCloud1 );
// Optional selection mechanism
selection
{
all
{
action all;
}
T
{
action subset;
source field;
field T;
accept (greater 280) and (less 300);
}
YH2O
{
action subset;
source field;
field YH2O(l);
accept (greater 0.5);
}
diameter
{
action subset;
source field;
field d;
accept (greater 1e-10);
}
Umin
{
action subtract;
source field;
field U;
accept (less 0.1);
}
}
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 | | \\ / O peration | Version: v2206 |
| \\ / A nd | Website: www.openfoam.com | | \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
...@@ -53,6 +53,7 @@ maxDeltaT 1; ...@@ -53,6 +53,7 @@ maxDeltaT 1;
functions functions
{ {
#include "sample" #include "sample"
#include "cloudInfo"
#include "dataCloud" #include "dataCloud"
#include "vtkCloud" #include "vtkCloud"
#include "vtkWrite" #include "vtkWrite"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment