interFoam printStack error
1 Attachment(s)
Hello Foam'ers
I am working on a simple geometry(attachment). I fill the first part of volume with setField and when I run interFoam, this error appears: [PHP]MULES: Solving for alpha1 Phase-1 volume fraction = 0.0566561 Min(alpha1) = 0 Max(alpha1) = 1 MULES: Solving for alpha1 Phase-1 volume fraction = 0.0549789 Min(alpha1) = 0 Max(alpha1) = 1 #0 Foam::error::printStack(Foam::Ostream&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigFpe::sigHandler(int) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #2 Uninterpreted: #3 void Foam::fvc::surfaceIntegrate<Foam::Vector<double> >(Foam::Field<Foam::Vector<double> >&, Foam::GeometricField<Foam::Vector<double>, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libfiniteVolume.so" #4 Foam::tmp<Foam::GeometricField<Foam::Vector<double >, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::surfaceIntegrate<Foam::Vector<double> >(Foam::GeometricField<Foam::Vector<double>, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libfiniteVolume.so" #5 at gaussDivSchemes.C:0 #6 Foam::fv::gaussDivScheme<Foam::Tensor<double> >::fvcDiv(Foam::GeometricField<Foam::Tensor<double >, Foam::fvPatchField, Foam::volMesh> const&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libfiniteVolume.so" #7 Foam::tmp<Foam::GeometricField<Foam::innerProduct< Foam::Vector<double>, Foam::Tensor<double> >::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::div<Foam::Tensor<double> >(Foam::GeometricField<Foam::Tensor<double>, Foam::fvPatchField, Foam::volMesh> const&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libincompressibleTurbulenceModel.so" #8 Foam::incompressible::laminar::divDevRhoReff(Foam: :GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>&) const in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libincompressibleTurbulenceModel.so" #9 in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/bin/interFoam" #10 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6" #11 in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/bin/interFoam" Floating point exception (core dumped) /PHP] I appreciate any help :) thanks |
1 Attachment(s)
Hello again,
It works with a simple rectangular cube, but when I add the triangle shape to the geometry (with just changing the blockMeshDict), this error appears. something is wrong with geometry that I cannot understand. I attached the blockmeshDict, which might help. |
Hi,
surely it'll be easier for everybody if you show... 1. Your case files (as the error may be in mesh, schemes, solver, boundary conditions, initial conditions, elsewhere). 2. If 1 is not possible for some reason, your checkMesh output in CODE tag. |
1 Attachment(s)
Thank you. I attached the case.
|
Well,
I'd say it's rather rude to ignore blockMesh warning ;) Code:
Creating block mesh topology As a result you've got these parameters of the mesh: Code:
Mesh non-orthogonality Max: 180 average: 151.951 |
Thank you. I tried to change the blockMeshDict to correct the mesh generation problem (geometry shape is in first post). I tried the
PHP Code:
last update of mesh is like this: PHP Code:
|
Hi,
the code, you've posted, doesn't work at all. So I've decided to look closer at the case you've posted previously. I've modified blocks section the following way: Code:
blocks Code:
Checking geometry... Not quite sure about high difference in cell sizes between outer and central parts of the mesh but you can start with the mesh you've got and if results should be improved, you can make mesh cell sizes more uniform. |
All times are GMT -4. The time now is 10:13. |