CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   error in running (https://www.cfd-online.com/Forums/openfoam-solving/156582-error-running.html)

bagherij July 9, 2015 14:10

error in running
 
Dear friends
i add a new viscosiity model to calculatr shear stress for simulation of creepng flow,after run i get below error,any help?
Selecting incompressible transport model Zhu
#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2 Uninterpreted:
#3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#4 void Foam::divide<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libincompressibleRASModels.so"
#5 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::operator/<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libincompressibleRASModels.so"
#6 Foam::viscosityModels::Zhu::calcNu() const in "/home/user/OpenFOAM/user-2.3.0/platforms/linuxGccDPOpt/lib/libuserZhu.so"
#7 Foam::viscosityModels::Zhu::Zhu(Foam::word const&, Foam::dictionary const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/home/user/OpenFOAM/user-2.3.0/platforms/linuxGccDPOpt/lib/libuserZhu.so"
#8 Foam::viscosityModel::adddictionaryConstructorToTa ble<Foam::viscosityModels::Zhu>::New(Foam::word const&, Foam::dictionary const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/home/user/OpenFOAM/user-2.3.0/platforms/linuxGccDPOpt/lib/libuserZhu.so"
#9 Foam::viscosityModel::New(Foam::word const&, Foam::dictionary const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libincompressibleTransportModels.so"
#10 Foam::singlePhaseTransportModel::singlePhaseTransp ortModel(Foam::GeometricField<Foam::Vector<double> , Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libincompressibleTransportModels.so"
#11
in "/opt/openfoam230/platforms/linuxGccDPOpt/bin/simpleFoam"
#12 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6"
#13
in "/opt/openfoam230/platforms/linuxGccDPOpt/bin/simpleFoam"
Floating point exception (core dumped)

T.D. July 16, 2015 08:22

Hi,

check if you are dividing by a value that might tend to zero.

Regards,
T.D.


All times are GMT -4. The time now is 03:47.