CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   compressible DEM floating point exception (https://www.cfd-online.com/Forums/openfoam-programming-development/98023-compressible-dem-floating-point-exception.html)

motzi March 1, 2012 12:00

compressible DEM floating point exception
 
1 Attachment(s)
Hi,

I have a Problem with my new CFD-DEM-Solver, this Solver uses OpenFOAM for the CFD Part of the Simulation.
The CFD Solver bases on the rhoPisoFoam Solver.
At the Point where the Dragforce is calculated, there I need nu but the compressible Turbulencemodel has only mu,
so I have to devide mu by rho and thats the point which causes the error.
The first 4 values are something like 1.3245e-310 and I don't know why.
I hope anybody of you know where the mistake is.
Thanks for your help.

attached my log-file with the printed variables

this is the code which causes the error.:

rho_(sm.mesh().lookupObject<volScalarField> (densityFieldName_))

const volScalarField& nufField = particleCloud_.turbulence().mu() / rho_;


All times are GMT -4. The time now is 08:15.