CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Error when doing the computations (http://www.cfd-online.com/Forums/openfoam/97228-error-when-doing-computations.html)

libra February 12, 2012 22:37

Error when doing the computations
 
Hi everyone

I am simulating the water flow in a pipe with channelFoam. I could start the computations but it stopped after a few hours and I got this error:

[olcs03:31646] [ 4] /home/naka/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libfiniteVolume.so(_ZNK4Foam33limitedSurfaceInterp olationSchemeIdE7weightsERKNS_14GeometricFieldIdNS _12fvPatchFieldENS_7volMeshEEE+0x2a) [0x7f4e637260ca]
[olcs03:31646] [ 5] /home/naka/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libfiniteVolume.so(_ZNK4Foam2fv21gaussConvectionSc hemeIdE6fvmDivERKNS_14GeometricFieldIdNS_13fvsPatc hFieldENS_11surfaceMeshEEERNS3_IdNS_12fvPatchField ENS_7volMeshEEE+0x5c) [0x7f4e6372e72c]
[olcs03:31646] [ 6] /home/naka/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libincompressibleLESModels.so(_ZN4Foam3fvm3divIdEE NS_3tmpINS_8fvMatrixIT_EEEERKNS_14GeometricFieldId NS_13fvsPatchFieldENS_11surfaceMeshEEERNS7_IS4_NS_ 12fvPatchFieldENS_7volMeshEEERKNS_4wordE+0x81) [0x7f4e6430d171]
[olcs03:31646] [ 7] /home/naka/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libincompressibleLESModels.so(_ZN4Foam3fvm3divIdEE NS_3tmpINS_8fvMatrixIT_EEEERKNS_14GeometricFieldId NS_13fvsPatchFieldENS_11surfaceMeshEEERNS7_IS4_NS_ 12fvPatchFieldENS_7volMeshEEE+0xf2) [0x7f4e643110f2]
[olcs03:31646] [ 8] /home/naka/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libincompressibleLESModels.so(_ZN4Foam14incompress ible9LESModels9oneEqEddy7correctERKNS_3tmpINS_14Ge ometricFieldINS_6TensorIdEENS_12fvPatchFieldENS_7v olMeshEEEEE+0x48c) [0x7f4e64329bfc]
[olcs03:31646] [ 9] /home/naka/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libincompressibleLESModels.so(_ZN4Foam14incompress ible8LESModel7correctEv+0x35) [0x7f4e642b1665]
[olcs03:31646] [10] channelFoam [0x41773c]
[olcs03:31646] [11] /lib/libc.so.6(__libc_start_main+0xe6) [0x7f4e61a2a1a6]
[olcs03:31646] [12] channelFoam(_ZNK4Foam11regIOobject11writeObjectENS _8IOstream12streamFormatENS1_13versionNumberENS1_1 5compressionTypeE+0xc9) [0x416449]
[olcs03:31646] *** End of error message ***
^C
naka@olcs03:~/OpenFOAM/naka-1.6.x/run/melika/case7$
naka@olcs03:~/OpenFOAM/naka-1.6.x/run/melika/case7$
naka@olcs03:~/OpenFOAM/naka-1.6.x/run/melika/case7$ tail -f log
[olcs03:31646] [ 4] /home/naka/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libfiniteVolume.so(_ZNK4Foam33limitedSurfaceInterp olationSchemeIdE7weightsERKNS_14GeometricFieldIdNS _12fvPatchFieldENS_7volMeshEEE+0x2a) [0x7f4e637260ca]
[olcs03:31646] [ 5] /home/naka/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libfiniteVolume.so(_ZNK4Foam2fv21gaussConvectionSc hemeIdE6fvmDivERKNS_14GeometricFieldIdNS_13fvsPatc hFieldENS_11surfaceMeshEEERNS3_IdNS_12fvPatchField ENS_7volMeshEEE+0x5c) [0x7f4e6372e72c]
[olcs03:31646] [ 6] /home/naka/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libincompressibleLESModels.so(_ZN4Foam3fvm3divIdEE NS_3tmpINS_8fvMatrixIT_EEEERKNS_14GeometricFieldId NS_13fvsPatchFieldENS_11surfaceMeshEEERNS7_IS4_NS_ 12fvPatchFieldENS_7volMeshEEERKNS_4wordE+0x81) [0x7f4e6430d171]
[olcs03:31646] [ 7] /home/naka/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libincompressibleLESModels.so(_ZN4Foam3fvm3divIdEE NS_3tmpINS_8fvMatrixIT_EEEERKNS_14GeometricFieldId NS_13fvsPatchFieldENS_11surfaceMeshEEERNS7_IS4_NS_ 12fvPatchFieldENS_7volMeshEEE+0xf2) [0x7f4e643110f2]
[olcs03:31646] [ 8] /home/naka/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libincompressibleLESModels.so(_ZN4Foam14incompress ible9LESModels9oneEqEddy7correctERKNS_3tmpINS_14Ge ometricFieldINS_6TensorIdEENS_12fvPatchFieldENS_7v olMeshEEEEE+0x48c) [0x7f4e64329bfc]
[olcs03:31646] [ 9] /home/naka/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libincompressibleLESModels.so(_ZN4Foam14incompress ible8LESModel7correctEv+0x35) [0x7f4e642b1665]
[olcs03:31646] [10] channelFoam [0x41773c]
[olcs03:31646] [11] /lib/libc.so.6(__libc_start_main+0xe6) [0x7f4e61a2a1a6]
[olcs03:31646] [12] channelFoam(_ZNK4Foam11regIOobject11writeObjectENS _8IOstream12streamFormatENS1_13versionNumberENS1_1 5compressionTypeE+0xc9) [0x416449]
[olcs03:31646] *** End of error message ***

Can anyone help me with that?

nimasam February 13, 2012 15:44

it seems its related your schemes in fvScheme,
put your fvScheme here. may some one can help you :)

libra February 14, 2012 22:46

For my case fvScheme is as follows:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

ddtSchemes
{
default backward;
}

gradSchemes
{
default Gauss linear;
grad(p) Gauss linear;
grad(U) Gauss linear;
}

divSchemes
{
default none;
div(phi,U) Gauss filteredLinear2V 0.2 0;
div(phi,k) Gauss limitedLinear 1;
div(phi,B) Gauss limitedLinear 1;
div(phi,nuTilda) Gauss limitedLinear 1;
div(B) Gauss linear;
div((nuEff*dev(grad(U).T()))) Gauss linear;
}

laplacianSchemes
{
default none;
laplacian(nuEff,U) Gauss linear corrected;
laplacian((1|A(U)),p) Gauss linear corrected;
laplacian(DkEff,k) Gauss linear corrected;
laplacian(DBEff,B) Gauss linear corrected;
laplacian(DnuTildaEff,nuTilda) Gauss linear corrected;
}

interpolationSchemes
{
default linear;
interpolate(U) linear;
}

snGradSchemes
{
default corrected;
}

fluxRequired
{
default no;
p ;
}


// ************************************************** *********************** //

However it seems that there is something wrong with "courant number". During the computations it gets bigger and bigger and finally the computation stops. :confused:

nimasam February 15, 2012 03:50

i dont know where the problem is but could you change limited linear schemes into upwind schemes! and report the result?

libra February 23, 2012 22:30

Thanks nimasam
Problem solved. :) There was sth wrong with the offset value. I needed to define it in the opposite direction.


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