Hello everyone,
I wish to make a probability distribution function of particle Reynolds number for all the particles in the simulation.
What is the best possible way to achieve this on the go? It appears there is no 'dump'-like LIGGGHTS feature in CFDEMCoupling.
Sadly the fluid velocity is not accessible on the LIGGGHTS side.
More general question would be, how to dump any similar data from CFD side to a file?
Thanks and kind regards,
Vinay
paul | Wed, 06/29/2016 - 09:23
You probably want to have a
You probably want to have a look at the probeModel (http://www.cfdem.com/media/CFDEM/docu/probeModel_particleProbe.html) which can dump data directly from force calculation.
vinaym | Thu, 06/30/2016 - 21:29
Tried the ProbeModel
Thanks for your answer Paul. I tried the probeModel. But it seems there is something missing. I get the following error.
[0] --> FOAM FATAL ERROR:
[0] probeModel::New(const dictionary&, const spray&) :
unknown probeModelType type particleProbe, constructor not in hash table
Valid probeModel types are :
[0]
[0]
FOAM parallel run aborting
When run in debug mode I see the error is at line 74 of newProbeModel.C
Info<< dictionaryConstructorTablePtr_->toc()
seems like its not able to read the valid model types from the table.
Can you check, if its possible for you to reproduce this error? I just made two changes to couplingProperties file.
1. probeModel particleProbe;
2. particleProbeProps
{
verboseToFile; //main switch
verbose; //currently not used
printEvery 100; //print every this many CFD time steps
sampleAll; //Activate sampling for all particles
probeDebug; //probes additional fields
includePosition; //will include particle position in the output file
writePrecision 4; //number of significant digits to print
}
Thanks and regards,
Vinay