April 17, 2025, 11:29
|
available objects of type parcelCloud are 0()
|
#1
|
New Member
Simon Ferson
Join Date: Apr 2025
Posts: 1
Rep Power: 0
|
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)
|
|
|