View Issue Details

IDProjectCategoryView StatusLast Update
0004256OpenFOAMBugpublic2025-07-11 16:58
ReporterFederico Municchi Assigned Towill  
PriorityimmediateSeverityblockReproducibilityalways
Status closedResolutionduplicate 
PlatformGNU/LinuxOSOtherOS Version(please specify)
Product Version13 
Summary0004256: Error in multiphaseEuler with massDiffusionLimitedPhaseChange and populationBalance
DescriptionThe following error is thrown when using both the models

```
MULES: Solving for alpha.gas
MULES: Solving for alpha.liquid
MULES: Correcting alpha.gas
MULES: Correcting alpha.liquid
gas fraction, min, max = 9.56334e-09 -1.17816e-25 0.5
liquid fraction, min, max = 1 0.5 1
Phase-sum volume fraction, min, max = 1 1 1
MULES: Solving for alpha.gas
MULES: Solving for alpha.liquid
MULES: Correcting alpha.gas
MULES: Correcting alpha.liquid
gas fraction, min, max = 1.85542e-08 -8.33572e-113 0.5
liquid fraction, min, max = 1 0.5 1
Phase-sum volume fraction, min, max = 1 1 1
populationBalance bubbles: Iteration 1
[24]
[24]
[24] --> FOAM FATAL IO ERROR:
[24] Cannot find fieldSource entry for phaseChange
[24]
[24] file: unknown
[24]
[24] From function const Source& Foam::GeometricFieldSources<Type, GeoMesh, PrimitiveField>::operator[](const Foam::word&) const [with Type = double; GeoMesh = Foam::volMesh; PrimitiveField = Foam::Field; Foam::GeometricFieldSources<Type, GeoMesh, PrimitiveField>::Source = Foam::fvFieldSource<double>]
[24] in file /opt/openfoam13/src/OpenFOAM/lnInclude/GeometricFieldSources.C at line 251.
[24]
```

The error happens when the population balance equations are solved.
Commenting out line 579 and 1414 from populationBalance.C removes the error. Thus, the error happens when fvOptions().source(alpha, rho, fi) is called.

Someone else experienced the same error https://www.cfd-online.com/Forums/openfoam-solving/260782-migrating-ofv13-masstransfer-multiphaseeuler-population-balance.html
TagsNo tags attached.

Relationships

duplicate of 0004252 closedwill crash with unexpected error when using mass transfer and population balance together 

Activities

Issue History

Date Modified Username Field Change
2025-07-10 20:27 Federico Municchi New Issue
2025-07-11 12:08 otaolafr Note Added: 0013602
2025-07-11 16:58 will Assigned To => will
2025-07-11 16:58 will Status new => closed
2025-07-11 16:58 will Resolution open => duplicate
2025-07-11 16:58 will Relationship added duplicate of 0004252