/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | foam-extend: Open Source CFD                    |
|  \\    /   O peration     | Version:     3.1                                |
|   \\  /    A nd           | Web:         http://www.extend-project.de       |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      kinematicCloud1Properties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

active yes;

// Particle sub-models
InjectionModel                           ConeInjection;
DragModel                                SphereDrag;
DispersionModel                          none;
PatchInteractionModel                    StandardWallInteraction;
PostProcessingModel                      PatchPostProcessing;

// Parcel basis type
parcelBasisType                          mass;

constantProperties{
    rhoMin          rhoMin [ 1 -3 0 0 0 ] 1e-15;

    // Minimum particle mass
    minParticleMass      minParticleMass     [ 1  0  0  0  0]     1.0e-15;

    // Parcel thermo properties
    rho0      rho0     [ 1 -3  0  0  0]      5000;
}

// Coupling between particles and carrier phase via source terms
coupled                                  true;

cellValueSourceCorrection on;

// Integer used to identify different parcel types
parcelTypeId                             2;

interpolationSchemes
{
    rho                                  cell;
    U                                    cellPointFace;
    mu                                   cell;
}

integrationSchemes
{
    U                                    Euler;
}

particleForces
{
    gravity         on;
    virtualMass     off;
    pressureGradient off;
}

ConeInjectionCoeffs
{
    SOI                                  0.2;
    parcelBasisType                      mass;
    duration                             0.6;
    position                             (0.01 0.05 0.005);
    direction                            (1 0 0);
    parcelsPerSecond                     10000;
    volumeFlowRate                       constant 0.01;
    Umag                                 constant 5.0;
    thetaInner                           constant 0.0;
    thetaOuter                           constant 30.0;
    parcelPDF
    {
        pdfType                          RosinRammler;
        RosinRammlerPDF
        {
            minValue                     50.0e-06;
            maxValue                     100.0e-06;
            d                            (75.0e-06);
            n                            (0.5);
        }
    }

    // Total mass to inject
    massTotal  massTotal [ 1  0  0  0  0]    2.0e-4;
}

StandardWallInteractionCoeffs
{
    type rebound;
}

PatchPostProcessingCoeffs
{
    maxStoredParcels 10000;
    patches (
            in
            out
    );
}

// ************************************************************************* //
