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

available objects of type parcelCloud are 0()

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2025, 11:29
Default available objects of type parcelCloud are 0()
  #1
New Member
 
Simon Ferson
Join Date: Apr 2025
Posts: 1
Rep Power: 0
SF_KUL is on a distinguished road
Dear Foamers


I am trying to simulate evaporating droplets. I am capable to simulate my velocity field without paticles. However I encounter an error after adding this to my controlDict.
Code:
functions
{
    thermoCloudInfo
    {
        type        cloudInfo;
        libs        ("liblagrangianFunctionObjects.so");
        clouds      (thermoCloud1);
    }
}

My cloudProperties file is given below:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version: 12                                     |
|   \\  /    A nd           | Website:  www.openfoam.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/

cloudName       thermoCloud1;

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

    maxCo           0.3;
    sourceTerms
    {
        mass        yes;
        momentum    yes;
        energy      yes;
    }
}

subModels
{
    particleForces
    {
        gravity;
    }

    injectionModels
    {
        model1
        {
            type            patchInjection;
            patchName       inlet;
            duration        1e-3;
            parcelBasisType mass;
            parcelsPerSecond 1000000;
            flowRateProfile constant  // can be a table for more control
            {
                value       0.01;
            }

            sizeDistribution
            {
                type        normal;
                normalDistribution
                {
                    average     5e-6;   // 5 microns
                    standardDeviation 1e-6;
                    minValue    1e-6;
                    maxValue    1e-5;
                }
            }

            U0              (0 0 -10); // Injection velocity in m/s
            nParticle       1;
            SOI             0;
            massTotal       1e-6;
        }
    }

    dispersionModel none;

    patchInteractionModel standardWallInteraction;

    heatTransferModel RanzMarshall;

    phaseChangeModel Lee;

    compositionModel
    {
        type        singleMixtureFraction;
        components
        (
            H2O
        );
    }

    atomizationModel none;
    breakupModel     none;
    coagulationModel none;
    surfaceFilmModel none;
}

constantProperties
{
    rho0            997;
    Cp              4184;
    mu              1e-3;
    sigma           0.072;
    h0              0;
    T0              373.15;
    vapourPressure  yes;
}
The error received is
Code:
Create time

Create mesh for time = 0

Selecting solver multicomponentFluid
Selecting thermodynamics package
{
    type            heRhoThermo;
    mixture         multicomponentMixture;
    transport       sutherland;
    thermo          janaf;
    energy          sensibleEnthalpy;
    equationOfState perfectGas;
    specie          specie;
}

--> FOAM Warning :
    From function const Foam::HashTable<Foam::List<int>, Foam::word>& Foam::polyBoundaryMesh::groupPatchIndices() const
    in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 506
    Removing patchGroup 'wall' which clashes with patch 2 of the same name.
Selecting turbulence model type laminar
Selecting laminar stress model Stokes
No MRF models present

Courant Number mean: 0.1 max: 0.1
Combustion model not active: combustionProperties not found
Selecting combustion model none
Selecting thermophysical transport type laminar
Selecting default laminar thermophysical transport model unityLewisFourier
Creating fvModels from "constant/fvModels"

Selecting finite volume model type buoyancyForce
    Name: buoyancyForce

PIMPLE: No convergence criteria found


PIMPLE: Operating solver in transient mode with 1 outer corrector
PIMPLE: Operating solver in PISO mode


cloudInfo thermoCloudInfo: no clouds to be processed


Starting time loop



--> FOAM FATAL ERROR:

    request for parcelCloud thermoCloud1 from objectRegistry region0 failed
    available objects of type parcelCloud are
0()

    From function const Type& Foam::objectRegistry::lookupObject(const Foam::word&) const [with Type = Foam::parcelCloud]
    in file /home/ubuntu/OpenFOAM/OpenFOAM-12/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 211.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::error::abort() at ??:?
#2  Foam::parcelCloud const& Foam::objectRegistry::lookupObject<Foam::parcelCloud>(Foam::word const&) const at ??:?
#3  Foam::functionObjects::cloudInfo::write() at ??:?
#4  Foam::functionObjectList::start() at ??:?
#5  Foam::Time::run() const at ??:?
#6  ? in "/opt/openfoam12/platforms/linux64GccDPInt32Opt/bin/foamRun"
#7  ? in "/usr/lib/x86_64-linux-gnu/libc.so.6"
#8  __libc_start_main in "/usr/lib/x86_64-linux-gnu/libc.so.6"
#9  ? in "/opt/openfoam12/platforms/linux64GccDPInt32Opt/bin/foamRun"
Aborted (core dumped)
SF_KUL is offline   Reply With Quote

Reply

Tags
lagrange particles, parcel, region0, thermocloud

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
About the totalPressure BC shock77 OpenFOAM Running, Solving & CFD 67 May 14, 2025 06:59
activeBaffleVelocity boundary condition ? om3ro OpenFOAM Programming & Development 10 November 16, 2020 23:26
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 00:21
rhoPimpleFoam hardship petrus OpenFOAM Running, Solving & CFD 0 October 7, 2016 02:41
interFoam/kOmegaSST tank filling with printStackError/Mules simpomann OpenFOAM Running, Solving & CFD 3 February 17, 2014 17:06


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