CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Unrealistic velocity and pressure result in DPMFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 14, 2025, 04:26
Unhappy Unrealistic velocity and pressure result in DPMFoam
  #1
New Member
 
Join Date: Dec 2024
Posts: 3
Rep Power: 3
Rundeli is on a distinguished road
Hello all:

I am trying to set up a 3D numerial water channel which contains particles in the middle part using DPMFoam v2412.

My case setup is as follows:

0/U.water:
Code:
internalField   uniform (0 0 0);

boundaryField
{
    bottom
    {
        type            noSlip;
    }

    top
    {
       type            noSlip;
    }

    inlet
    {
        type            fixedValue;
        value           uniform (5 0 0);
    }

    outlet
    {
        type            zeroGradient;
    }

    frontAndBack
    {
        type            symmetry;
    }
}
0/p:
Code:
internalField   uniform 0;

boundaryField
{
    inlet
    {
        type            fixedFluxPressure;
        phi             phi.water;
        value           $internalField;
    }

    bottom
    {
        type            zeroGradient;
    }

    top
    {
        type            zeroGradient;
    }

    outlet
    {
        type            fixedValue;
        value           uniform 0;
    }

    frontAndBack
    {
        type            symmetry;
    }
}]
constant/kinematicCloudProperties:

Code:
solution
{
    active          true;
    coupled         true;
    transient       yes;
    cellValueSourceCorrection on;

    interpolationSchemes
    {
        rho.water         cell;
        U.water           cellPoint;
        mu.water          cellPoint;
        DUcDt             cellPoint;
    }

    integrationSchemes
    {
        U            Euler;
    }

    sourceTerms
    {
        schemes
        {
            U semiImplicit 1;
        }
    }
}

constantProperties
{
    parcelTypeId 1;

    rhoMin          1e-15;
    minParcelMass   1e-15;

    rho0            2526;
    youngsModulus   5e6;
    poissonsRatio   0.45;

    constantVolume  false;

    alphaMax        0.9;
}

subModels
{
    particleForces
    {
        ErgunWenYuDrag
        {
            alphac alpha.water;
        }
        gravity;
    }

    injectionModels
    {
        model1
        {
            type            manualInjection;
            massTotal       0;
            parcelBasisType fixed;
            nParticle       1;
            SOI             0;
            positionsFile   "kinematicCloudPositions";
            U0              (0 0 0);
            sizeDistribution
            {
                type        fixedValue;
                fixedValueDistribution
                {
                    value   0.0004;
                }
            }
        }
    }

    packingModel none;

    dispersionModel none;

    patchInteractionModel multiInteraction;
    multiInteractionCoeffs
    {
        oneInteractionOnly false;

        model1
        {
            patchInteractionModel localInteraction;
            localInteractionCoeffs
            {
                patches
                (
                    "(bottom|frontAndBack|top)"
                    {
                        type rebound;
                        e 0.91;
                        mu 0.17;
                    }
                    "(outlet|inlet)"
                    {
                        type none;
                    }   
                );
            }
        }

        model2
        {
            patchInteractionModel periodInteraction;
            periodInteractionCoeffs
            {
                recyclePatches
                (
                    (inlet outlet)
                );
                recycleFraction 1;
            }
        }
       
    }

    surfaceFilmModel none;

    collisionModel pairCollision;

    pairCollisionCoeffs
    {
        maxInteractionDistance  0.0002;

        writeReferredParticleCloud no;

        pairModel pairSpringSliderDashpot;

        pairSpringSliderDashpotCoeffs
        {
            useEquivalentSize   no;
            alpha               0.02;
            b                   1.5;
            mu                  0.10;
            cohesionEnergyDensity 0;
            collisionResolutionSteps 12;
        };
    
        wallModel wallSpringSliderDashpot;

        wallSpringSliderDashpotCoeffs
        {
            useEquivalentSize no;
            collisionResolutionSteps 12;
            youngsModulus   1e10;
            poissonsRatio   0.23;
            alpha           0.01;
            b               1.5;
            mu              0.09;
            cohesionEnergyDensity 0;
        };

        U     U.water;
    }

    stochasticCollisionModel none;
}


cloudFunctions
{

}
with timestep of 5e-7 and this is the result of 1e-5 which is clearly not realistic.

velocity field with particles:
up.jpg

velocity field:
u.jpg

pressure field:
p.jpg

what is wrong with my case setup ?
Rundeli is offline   Reply With Quote

Reply

Tags
dpmfoam, lagrangian, water channel

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Generate convective pressure fluctuation Bananenflanke CFX 10 May 12, 2021 19:33
Import .csv - velocity profile - error eSKa CFX 9 April 3, 2021 14:38
Specify both velocity and pressure at inlet boundary NOD STAR-CCM+ 4 March 7, 2021 07:36
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 02:27
the result of the velocity and pressure drop is a little strange. yuhehuan FLUENT 0 December 18, 2012 20:48


All times are GMT -4. The time now is 20:02.