/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Version:  OpenFoam-9 (commit f8d11b031)
    \\  /    A nd           | Multiphase-org: A Wikki Brasil project
     \\/     M anipulation  | Version:  v21.12
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      phaseProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

type basicMultiphaseSystem;

phases (water rock);

water
{
    type            multiComponentIsothermalPhaseModel;
    diameterModel   constant;
    d               1e-4;
    residualAlpha   1e-6;
}

rock
{
    type            multiComponentPorousIsothermalPhaseModel;
    diameterModel   constant;
    d               1e-2;
    residualAlpha   1e-6;

    invKModel Sharma;
    SharmaCoeffs
    {
        fineDiameters
        {
            d2   0.75e-6;
            d3   3.08e-6;
        }

        cakeParticles
        (
            d1
        );
        
        beta        0.035;
        cakePor     0.55;
        invKCake   (1.0643409e19 1.0643409e19 1.0643409e19); 
    }
}

porous
(   
    (water in rock)
    {
        type            Darcy;
        KrModel         linear;
    }

);

blending
{
    default
    {
        type            none;
    }
}

massTransfer
(
    (water in rock)
    {
        type                 particleInfiltration;
        particulated         (d1 d2 d3);
        particleInfiltrationCoeffs
        {
            cakePor    0.55;
            maxporosityEntry 0.999;
            depositionModel
            {
                d2
                {
                    particleDeposition   lambda;
                    lambdaCoeffs
                    {
                    	grainDiameter           calculated;                       
                    	filterCoefficientModel  MaHradiskyJohnson;
                        d  		                0.75e-6;
                        nameSolvent             H2O;
                        maxporosityEntry        0.999;
                    }
                } 

                d3
                {
                    particleDeposition   lambda;
                    lambdaCoeffs
                    {
                    	grainDiameter           calculated;                       
                    	filterCoefficientModel  MaHradiskyJohnson;
                        d  		                3.08e-6;
                        nameSolvent             H2O;
                        maxporosityEntry        0.999;
                    }
                }  
                
                d1
                {
                    particleDeposition   noFormationEntry;
                }                  
                                    
            }
        }
    }
);

saturation
();

capillarity
();

surfaceTension
();

interfaceCompression
();

aspectRatio
();

drag
();

virtualMass
();

heatTransfer
();

lift
();

wallLubrication
();

turbulentDispersion
();

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