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

Lagrange particles not moving

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By obiscolly50

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 10, 2019, 11:37
Default Lagrange particles not moving
  #1
Member
 
Obi
Join Date: Jul 2016
Location: Canada
Posts: 45
Rep Power: 9
obiscolly50 is on a distinguished road
Hello all,
I modified a simplefoam solver to include temperature, porous media and lagrange particle tracking. I'm trying to solve the flow for a steady-state case in parallel, but i'm experiencing a strange problem. I'm using the flow field from an already converged case as the initial 0 field. After introducing the particles at the inlet patch they remain roughly in the same position for subsequent iterations.
Below is the kinematicCloudProperties file i'm using which was derived from the steady-state particle solver simpleReactingParcelFoam particle properties file.
I'm supsecting two issues:-
1) The particles are stuck just before the first porous zone. I implemented the porosity as a momentum sink in the UEqn not as a physical barrier and didn't think this would be an issue since the particle should take the path of least resistance.
2) I'm setting something wrong in my kinematicCloudProperties file. I've not used steady-state particle tracking before and just used the file fro simpleReactingParcelFoam with very little modification.
Anyone with any idea of what could be wrong. I'm using the openFoam v6.


Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.x                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      kinematicCloudProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solution
{
    active          true;
    coupled         false;
    transient       no;
    
    calcFrequency   10;  //added
    maxTrackTime    5; //added
    cellValueSourceCorrection off;
    maxCo           0.3; 

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

    integrationSchemes
    {
        U               Euler;
	T               analytical;
    }

    sourceTerms
    {
	resetOnStartup  no; //added
        schemes
        {
            U           semiImplicit 1;
        }
    }
}

constantProperties
{
    rho0            1200; //was 8800
    youngsModulus   1.3e5;
    poissonsRatio   0.35;
}

subModels
{
    particleForces
    {
        sphereDrag;
        
        gravity;
        
        pressureGradient
        {
            U U;
        }

    }

    injectionModels
    {
	model1
	{
            type             patchInjection;
	    massFlowRate     0.8e-04;
            parcelBasisType  mass;
            patchName        influent;
	    parcelsPerSecond 1000;
            duration         1;  //set to 1 for steady state
            U0               (-60 0 0);
            flowRateProfile  constant 1;
            //nParticle        1;
            //SOI              10;

            sizeDistribution
            {
                type        fixedValue;
                fixedValueDistribution
                {
                    value   15e-6;
                }
            }
        }
    }

    dispersionModel none;

    patchInteractionModel  localInteraction; //was standardWallInteraction

    localInteractionCoeffs
    {
        patches
        (
            "effluent|soldischarge"
            {
                type escape;
            }
            ".*"
            {
                type rebound;
                e    0.97;
                mu   0.09;
            }
        );
    }

    surfaceFilmModel none;

    stochasticCollisionModel none;
    
    collisionModel none;    

    pairCollisionCoeffs
    {
        maxInteractionDistance  0.00007;

        writeReferredParticleCloud no;

        pairModel pairSpringSliderDashpot;

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

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

cloudFunctions
{
    particleTracks1
    {
        type            particleTracks;
        trackInterval   5;
        maxSamples      1000000;
        resetOnWrite    yes;
    }
}

// *************************************************************************
Below is the picture of the particles stuck at the porous zone.
Attached Images
File Type: jpg particles_stuck.jpg (111.0 KB, 89 views)

Last edited by obiscolly50; February 10, 2019 at 12:19. Reason: added more details
obiscolly50 is offline   Reply With Quote

 


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
Problem with DPM simulation with particles injection and EXECUTE_AT_THE_END UDF. Ari Fluent UDF and Scheme Programming 4 May 31, 2016 08:51
dsmcFoam - micro-hole limiting the number of dsmc particles Araist OpenFOAM Running, Solving & CFD 0 June 25, 2015 06:50
Add lagrangian particles to OpenFoam solver luchen2408 OpenFOAM 0 June 2, 2015 03:10
Question on moving mesh, mesh velocity is really small! ripperjack Main CFD Forum 2 April 28, 2014 13:37
particles model ati_ros61 FLOW-3D 3 December 6, 2009 16:03


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