Post by dsrivallabha on Jul 19, 2017 23:54:38 GMT -6
I was trying to run the pbeTransportFoam solver for the TaylorCouette test case. blockMesh runs fine, but executing pbeTransportFoam results in an error. The log looks like this.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PIMPLE: iteration 1 Solving source terms in realizable ODE solver. #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::populationBalanceSubModels::aggregationKernels::turbulentBrownian::Ka(double const&, double const&, int const&) const at ??:? #4 Foam::PDFTransportModels::populationBalanceModels::univariatePopulationBalance::aggregationSource(int const&, int const&) at ??:? #5 Foam::PDFTransportModels::populationBalanceModels::univariatePopulationBalance::cellMomentSource(int&, int&) at ??:? #6 Foam::PDFTransportModels::univariatePDFTransportModel::explicitMomentSource() at ??:? #7 Foam::PDFTransportModels::univariatePDFTransportModel::solve() at ??:? #8 ? at ??:? #9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #10 ? at ??:? Floating point exception (core dumped) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I had the same error for the rhoPbePimpleFoam solver that I compiled and tried running.
Can you please tell me if there is something I missed out or some parameters to set.
PS: I am attaching a screen-shot of the error for reference.
Post by Alberto Passalacqua on Jul 21, 2017 5:18:10 GMT -6
Thank you for reporting this. Addressed by commit: c022333a10165b044e19281071787da714424eac in our development branch.
The problem was due to trying to access the kinematic viscosity field. It used to work in previous versions of OpenFOAM, but apparently it is not in the current one. I replaced it with the more consistent mu/rho, since we use compressible models. I apologize for the inconvenience.
Please, report any other issue (P.S. the GitHub issues feature is a better way to report bugs. We are notified faster, and we can track the issue more easily)