View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004047 | OpenFOAM | Bug | public | 2024-01-14 18:24 | 2024-01-17 16:06 |
Reporter | Federico Municchi | Assigned To | will | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu | OS Version | 22.04.03 |
Product Version | 11 | ||||
Fixed in Version | dev | ||||
Summary | 0004047: MPPIC "moment" averaging method causes Goldschmidt to crash | ||||
Description | This is a common issue with the previous versions of OpenFOAM. Switching the averaging method to "moment" results in the MPPIC solver crashing at the first "evolve()", when the isotropy model is employed. | ||||
Steps To Reproduce | Just run the GoldschmidtMPPIC tutorial with the moment averaging method. | ||||
Additional Information | ERROR MESSAGE: Solving 3-D cloud cloud Cloud: cloud injector: model1 Added 24750 new parcels #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 ? in "/lib/x86_64-linux-gnu/libm.so.6" #4 exp in "/lib/x86_64-linux-gnu/libm.so.6" #5 Foam::exp(Foam::Field<double>&, Foam::UList<double> const&) at ??:? #6 Foam::tmp<Foam::FieldField<Foam::Field, double> > Foam::exp<Foam::Field>(Foam::tmp<Foam::FieldField<Foam::Field, double> > const&) at ??:? #7 Foam::IsotropyModels::Stochastic<Foam::MPPICCloud<Foam::MomentumCloud<Foam::ParcelCloudBase<Foam::MPPICParcel<Foam::MomentumParcel<Foam::particle> > > > > >::calculate() at ??:? #8 void Foam::MPPICCloud<Foam::MomentumCloud<Foam::ParcelCloudBase<Foam::MPPICParcel<Foam::MomentumParcel<Foam::particle> > > > >::motion<Foam::MPPICCloud<Foam::MomentumCloud<Foam::ParcelCloudBase<Foam::MPPICParcel<Foam::MomentumParcel<Foam::particle> > > > > >(Foam::MPPICCloud<Foam::MomentumCloud<Foam::ParcelCloudBase<Foam::MPPICParcel<Foam::MomentumParcel<Foam::particle> > > > >&, Foam::MPPICParcel<Foam::MomentumParcel<Foam::particle> >::trackingData&) at ??:? #9 void Foam::MomentumCloud<Foam::ParcelCloudBase<Foam::MPPICParcel<Foam::MomentumParcel<Foam::particle> > > >::solve<Foam::MPPICCloud<Foam::MomentumCloud<Foam::ParcelCloudBase<Foam::MPPICParcel<Foam::MomentumParcel<Foam::particle> > > > > >(Foam::MPPICCloud<Foam::MomentumCloud<Foam::ParcelCloudBase<Foam::MPPICParcel<Foam::MomentumParcel<Foam::particle> > > > >&, Foam::MPPICParcel<Foam::MomentumParcel<Foam::particle> >::trackingData&) at ??:? #10 virtual thunk to Foam::ParcelCloud<Foam::MPPICCloud<Foam::MomentumCloud<Foam::ParcelCloudBase<Foam::MPPICParcel<Foam::MomentumParcel<Foam::particle> > > > > >::evolve() at ??:? #11 Foam::parcelCloudList::evolve() at ??:? #12 Foam::solvers::incompressibleDenseParticleFluid::prePredictor() at ??:? #13 ? in "/opt/openfoam11/platforms/linux64GccDPInt32Opt/bin/foamRun" #14 ? in "/lib/x86_64-linux-gnu/libc.so.6" #15 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #16 ? in "/opt/openfoam11/platforms/linux64GccDPInt32Opt/bin/foamRun" Floating point exception (core dumped) | ||||
Tags | No tags attached. | ||||
|
The moment method is not reliable. It was a nice idea, but ultimately it did not solve the problem of how to construct lagrangian-to-lagrangian averages in such a way as to create a uniform distribution of parcels within the cells. If someone had a need, and was able to fund development and maintenance work on this topic, then this issue could be revisited. For the time being, to avoid confusion regarding the applicability of this functionality, I have removed the moment method. https://github.com/OpenFOAM/OpenFOAM-dev/commit/a671b738c91280df42952e64a2b374b879062bc0 |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-01-14 18:24 | Federico Municchi | New Issue | |
2024-01-17 16:05 | will | Assigned To | => will |
2024-01-17 16:05 | will | Status | new => resolved |
2024-01-17 16:05 | will | Resolution | open => fixed |
2024-01-17 16:05 | will | Fixed in Version | => dev |
2024-01-17 16:05 | will | Note Added: 0013184 | |
2024-01-17 16:06 | will | Note Edited: 0013184 |