CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   buoyantSimpleFoam abort error (http://www.cfd-online.com/Forums/openfoam/94183-buoyantsimplefoam-abort-error.html)

camoesas November 8, 2011 12:57

buoyantSimpleFoam abort error
 
Good Evening Everybody,

I am trying to simulate the flow over a hot board to investigate the boundary layer of velocity and temperature. I have already done a simulation with rhoSimpleFoam. Now I want to start a simultion with buoyantSimpleFoam. Iīve made the setup and OpenFoam told me to initialize with potentialFoam. Iīve initialized with my rhoSimpleFoam solution.

Now the simulation starts but then it aborts after few iterations giving me this strange error massage:

Code:

#0  Foam::error::printStack(Foam::Ostream&) in "/home/camoesas/OpenFOAM/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::sigFpe::sigHandler(int) in "/home/camoesas/OpenFOAM/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2  in "/lib64/libc.so.6"
#3  Foam::GAMGSolver::scalingFactor(Foam::Field<double>&, Foam::Field<double> const&, Foam::Field<double> const&, Foam::Field<double> const&) const in "/home/camoesas/OpenFOAM/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#4  Foam::GAMGSolver::scalingFactor(Foam::Field<double>&, Foam::lduMatrix const&, Foam::Field<double>&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, Foam::Field<double> const&, unsigned char) const in "/home/camoesas/OpenFOAM/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#5  Foam::GAMGSolver::Vcycle(Foam::PtrList<Foam::lduMatrix::smoother> const&, Foam::Field<double>&, Foam::Field<double> const&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::Field<double> >&, unsigned char) const in "/home/camoesas/OpenFOAM/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#6  Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/home/camoesas/OpenFOAM/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#7  Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/home/camoesas/OpenFOAM/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#8  Foam::fvMatrix<double>::solve() in "/home/camoesas/OpenFOAM/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/bin/buoyantSimpleFoam"
#9 
 in "/home/camoesas/OpenFOAM/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/bin/buoyantSimpleFoam"
#10  __libc_start_main in "/lib64/libc.so.6"
#11 
 at /usr/src/packages/BUILD/glibc-2.11.3/csu/../sysdeps/x86_64/elf/start.S:116

I donīt have any clue to interpret this message! What could it mean? Why is my solver aborting?

thanks

nimasam November 9, 2011 03:29

try this in your fvSolution for p, pFinal or p_rgh

{
solver PCG;
preconditioner DIC;
tolerance 1e-10;
relTol 0;
}
maybe cure your problem

camoesas November 9, 2011 04:20

1 Attachment(s)
HI Nima,

thanks for the hint. But it just makes my solver slower and its still aborting at the same step.
As one can see the residuals are exploding.

camoesas November 16, 2011 04:46

Iīve got it running but in the end I donīt know what exactly was the important change. Therefore I am uploading the whole case as example and inspiration for everybody who is struggling with buoyantSimpleFoam.

camoesas November 16, 2011 04:47

1 Attachment(s)
attached file:


All times are GMT -4. The time now is 20:46.