manualInjection fails with sprayFoam
Summary
sprayFoam fails to run // runs poorly when using a manualInjection atomization.
Steps to reproduce
Use the tutorial AachenBomb and modify the atomization to manualInjection (inject only 1 parcel)
Example case
What is the current bug behaviour?
- Depending on the SOI, the case might either run (erroneously) or fail to run When it runs, a particle is atomized every time step (but it also disappears). This happens for SOI > initial time. When it does not run, (this happens for SOI = initial time) it shows the following result: Selecting BreakupModel none #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 (closed) Foam::sigFpe::sigHandler(int) at ??:? #2 (closed) ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 (closed) ? in "/opt/openfoam8/platforms/linux64GccDPInt32Opt/bin/sprayFoam" #4 (closed) ? in "/opt/openfoam8/platforms/linux64GccDPInt32Opt/bin/sprayFoam" #5 (closed) __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #6 (closed) ? in "/opt/openfoam8/platforms/linux64GccDPInt32Opt/bin/sprayFoam" Floating point exception (core dumped)
What is the expected correct behaviour?
Relevant logs and/or images
Environment information
- OpenFOAM version : OpenFOAM 2012
- Operating system : Ubuntu 18.04
- Hardware info :
- Compiler :
Possible fixes
This bug was previously reported in OpenFOAM.org (v2.2) and appears as fixed, but I also experienced it today in OFV8. https://bugs.openfoam.org/view.php?id=1241. I'm afraid I don't have time at the moment to go into the code.
Edited by Jairo Andrés Gutiérrez