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

Using solidParticleCloud in OpenFOAM 3.0.x

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 27, 2017, 04:14
Default Using solidParticleCloud in OpenFOAM 3.0.x
  #1
Member
 
Vishwesh Ravi Shrimali
Join Date: Aug 2017
Posts: 43
Rep Power: 8
vishwesh is on a distinguished road
Hi

I have built a solver for converting VOF to LPT in runtime. I want to store the information of the Lagrangian particles in a solidParticleCloud instead of the kinematicCloud that I was using earlier. I want to do this because I want to add particle(s) to the Cloud during the runTime. Unfortunately, I don't know how to initialize a new kinematicParcel which I can add in my Cloud.

I had defined my kinematicCloud in createFields.H file of my solver:

Code:
Info<< "\nReading transportProperties for Kinematic Cloud\n" << endl;

IOdictionary transportProperties
    (
        IOobject
        (
        "transportProperties",
        runTime.constant(),
        mesh,
        IOobject::MUST_READ_IF_MODIFIED,
        IOobject::NO_WRITE
        )
    );

dimensionedScalar rhoInfValue
    (
        transportProperties.lookup("rhoInf")
    );

volScalarField rhoInf
    (
        IOobject
        (
        "rho",
        runTime.timeName(),
        mesh,
        IOobject::NO_READ,
        IOobject::AUTO_WRITE
        ),
    mesh,
    rhoInfValue
    );

dimensionedScalar nu
    (
        transportProperties.lookup("nu")
    );

volScalarField mu
    (
        IOobject
        (
        "mu",
        runTime.timeName(),
        mesh,
        IOobject::NO_READ,
        IOobject::AUTO_WRITE
        ),
    mesh,
    nu*rhoInfValue
    );





word kinematicCloudName("kinematicCloud");
args.optionReadIfPresent("cloudName", kinematicCloudName);
Info<< "Constructing kinematicCloud " << kinematicCloudName << endl;
//Info << "Constructing kinematicCloud" << endl;
basicKinematicCloud kinematicCloud
(
    "kinematicCloud",
    rhoInf,
    U,
    mu,
    g
);
I would then write my kinematicClouds file in runtime and then evolve my kinematicCloud.

Since there are no tutorials provided in OpenFOAM 3.0.x for solidParticleCloud, I am looking for some help regarding how to update my createFields.H file and how to implement the solidParticleCloud in OpenFOAM 3.0.x.

Thanks

Vishwesh
vishwesh is offline   Reply With Quote

Reply

Tags
interfoam, lagrangian particle, lagrangian tracking, openfoam 3.0.x

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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
UNIGE February 13th-17th - 2107. OpenFOAM advaced training days joegi.geo OpenFOAM Announcements from Other Sources 0 October 1, 2016 19:20
OpenFOAM Training Jan-Apr 2017, Virtual, London, Houston, Berlin cfd.direct OpenFOAM Announcements from Other Sources 0 September 21, 2016 11:50
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 03:19
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07


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