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

completely passive particle tracking

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 2, 2022, 04:25
Default completely passive particle tracking
  #1
New Member
 
Giorgio Negrini
Join Date: Feb 2020
Location: Milan
Posts: 13
Rep Power: 6
alfiogn is on a distinguished road
Hi all,


I'm trying to perform langrangian particle tracking on a simple case.


Basically my flow domain is made by a hollow cylinder where I impose a flow rate at the inlet and a rotation at the internal wall. So my flow rotates and advances in axial direction.
Moreover the flow is steady state.



I want to perform a completely passive tracking, so where particles follow streamlines.


I expect particles to remain at their initial radial coordinate and to move towards the outlet.
This does not happen at all. I upload two images: the first is the initial state of the particles and the second is the state at the first time step.


Moreover, I initialize the particle velocity with their velocity position in the flow.


Thanks in advance!
Giorgio








PS: this is my kinematicCloudProperties dictionary:




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

solution
{
    active          true;
    coupled         false;
    transient       yes;
    cellValueSourceCorrection on;
    calcFrequency   1;
    maxCo           1;
    maxTrackTime    10000;

    interpolationSchemes
    {
        rho             cell;
        U               cellPoint;
        mu              cell;
        DUcDt           cellPoint;
        "(.*)"          cell;
    }

    integrationSchemes
    {
        U       Euler;
    }

    sourceTerms
    {
        schemes
        {
            U semiImplicit 1;
        }
    }
}

subModels
{

    radiation                   off;
    dispersionModel             none;
    collisionModel              none;
    heatTransferModel           none;
    surfaceFilmModel            none;
    stochasticCollisionModel    none;
    patchInteractionModel       localInteraction;

    particleForces
    {
        pressureGradient {}
    }

    injBase
    {
        type                initManualInjection;
        parcelBasisType     fixed;
        massTotal           0;
        nParticle           1;
        U0                  (0 0 0);
        SOI                 0;

        sizeDistribution
        {
            type        fixedValue;
            fixedValueDistribution
            {
                value   1e-13;
            }
        }
    }

    injectionModels
    {
        Cluster0
        {
            $injBase
            positionsFile       "Cluster0Positions";
        }
    }

    localInteractionCoeffs
    {
        patches
        (
            INLET
            {
                type escape;
            }

            OUTLET
            {
                type escape;
            }

            INTERNAL
            {
                type stick;
                e    0.97;
                mu   0.03;
            }

            EXTERNAL
            {
                type stick;
                e    0.97;
                mu   0.03;
            }
        );
    }

}


constantProperties
{
    rho0    1;
}

cloudFunctions
{}


// ************************************************************************* //
Attached Images
File Type: jpg img1.jpg (68.9 KB, 35 views)
File Type: jpg img2.jpg (64.8 KB, 25 views)
alfiogn is offline   Reply With Quote

Old   August 12, 2023, 15:34
Default
  #2
New Member
 
Giorgio Negrini
Join Date: Feb 2020
Location: Milan
Posts: 13
Rep Power: 6
alfiogn is on a distinguished road
update:


I manage to do it by setting the sphereDrag force instead of the pressure gradient.
In this way the force tends to generate a Cauchy problem that results in:
U_{parcel}^{n+1}=U_{carrier}
as the size of the parcel goes to zero (c.f. sizeDistribution dictionary).






Giorgio
alfiogn is offline   Reply With Quote

Reply


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
[swak4Foam] Validation of swak4Foam for lagrangian particle tracking nero235 OpenFOAM Community Contributions 13 March 28, 2017 05:45
Particle tracking AKHILESH S L CFX 1 November 14, 2013 16:45
[OpenFOAM] ParaView ErrOr soheil nazmdeh ParaView 1 August 17, 2013 07:40
particle tracking in unsteady flow peterchen FLUENT 1 July 22, 2010 22:18
particle tracking Gab CFX 0 January 5, 2006 16:12


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