CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   IcoDyMFoam crashing after a particular time. (

Shaurya July 2, 2009 13:14

IcoDyMFoam crashing after a particular time.
I'm simulating the fuel injection system of a diesel engine using openfoam. Now, for the entire inlet open - inlet closed process, the mesh varied too much and I had to change the mesh twice.
In the 0.5 milliseconds that the process would take I had to have the mesh recreated at 0.15 ms and 0.3 ms.
In the first transition, the no. of cells remained unchanged, and in the second transition the no. of cells had to be changed from 5999 to 5615.
I'm using quadratic inverse distance 1 diffusion model and velocityComponentLaplacian solver. Whatever I do, I can simply not get past 0.31 milliseconds. The mesh doesn't fail, so I can use moveDynamidMesh but when I try to simulate the values of velocity and pressure using icoDyMFoam, it fails around that region. I've tried 3 other diffusion models but to no avail.

The error that I got most recently is as follows:-
--> FOAM Warning :
From function polyBoundaryMesh::patchSet(const wordList& patchNames)
in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 429
Cannot find any patch names matching movingWall
DICPCG: Solving for cellMotionUx, Initial residual = 5.39908e-05, Final residual = 9.86322e-09, No Iterations 24
DILUPBiCG: Solving for Ux, Initial residual = 0.999757, Final residual = 2.97334e-06, No Iterations 11
DILUPBiCG: Solving for Uy, Initial residual = 0.999757, Final residual = 1.53516e-07, No Iterations 14
DILUPBiCG: Solving for Uz, Initial residual = 0.000829198, Final residual = 5.60623e-06, No Iterations 4
#0 Foam::error::printStack(Foam::Ostream&) in "/home/shaurya/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/"
#1 Foam::sigFpe::sigFpeHandler(int) in "/home/shaurya/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/"
#2 Uninterpreted: [0xb7f09400]
#3 Foam::PCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/home/shaurya/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/"
#4 Foam::fvMatrix<double>::solve(Foam::Istream&) in "/home/shaurya/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/"
#5 main in "/home/shaurya/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/icoDyMFoam"
#6 __libc_start_main in "/lib/tls/i686/cmov/"
#7 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/home/shaurya/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/icoDyMFoam"
Floating point exception

don't worry about the movingwall FOAM Warning, that is certainly not the cause, in fact that has intentionally been done.

What should I do. I've already spent two futile days on this juncture in this problem.

Thanks in advance.

Shaurya July 2, 2009 13:15

also, my apologies for the smileys in the message, evidently they are : p (without the space) that have been automatically corrected to :p.

i will just reiterate for clarity, during the first transition to a new mesh everything goes okay (from 0.15ms to 0.3ms) however, after the second transition, in which i use mapfields again, the code crashes very soon (after ~0.01ms).

Interestingly, I tried to start with the new mesh from 0.25 ms instead of 0.3 ms, and icoDyMFoam crashed around 0.26 ms.

sachin July 2, 2009 16:47

have very little idea ...why it is failing ....maybe this can help

All times are GMT -4. The time now is 17:45.