CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   simplefoam error (https://www.cfd-online.com/Forums/openfoam-solving/175547-simplefoam-error.html)

sergiopb91 August 1, 2016 10:18

simplefoam error
 
Hi, everyone.

I'm new using OpenFoam, I have been trying to run a 2D case, it's a pipe with a reduction. But when I use simpleFoam, throw me this error:


#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 ? in "/opt/openfoam30/platforms/linuxGccDPInt32Opt/lib/libOpenFOAM.so"
#3 void Foam::multiply<Foam::Tensor<double> >(Foam::Field<Foam::Tensor<double> >&, Foam::UList<double> const&, Foam::UList<Foam::Tensor<double> > const&) at ??:?
#4 Foam::tmp<Foam::GeometricField<Foam::Tensor<double >, Foam::fvPatchField, Foam::volMesh> > Foam::operator*<Foam::Tensor<double>, Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&, Foam::tmp<Foam::GeometricField<Foam::Tensor<double >, Foam::fvPatchField, Foam::volMesh> > const&) at ??:?
#5 Foam::linearViscousStress<Foam::RASModel<Foam::Inc ompressibleTurbulenceModel<Foam::transportModel> > >::divDevRhoReff(Foam::GeometricField<Foam::Vector <double>, Foam::fvPatchField, Foam::volMesh>&) const at ??:?
#6 Foam::IncompressibleTurbulenceModel<Foam::transpor tModel>::divDevReff(Foam::GeometricField<Foam::Vec tor<double>, Foam::fvPatchField, Foam::volMesh>&) const at ??:?
#7 ? at ??:?
#8 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6"
#9 ? at ??:?
Excepción de coma flotante (`core' generado)

I check the mesh several times and use checkmesh, also I have changed the initials properties (p, U, k, epsilon) and controlDict files but the error continue.

This is blockMesh information:


convertToMeters 0.001;

vertices
(
(0 0 0)
(60 0 0)
(60 9.65 0)
(130 9.65 0)
(130 22.35 0)
(60 22.35 0)
(60 32 0)
(0 32 0)
(0 0 1)
(60 0 1)
(60 9.65 1)
(130 9.65 1)
(130 22.35 1)
(60 22.35 1)
(60 32 1)
(0 32 1)


);

blocks
(
hex (0 1 6 7 8 9 14 15) (200 60 1) simpleGrading (2 1 1)
hex (2 3 4 5 10 11 12 13) (200 60 1) simpleGrading (2 1 1)
);

edges
(
);

boundary
(
inlet
{
type patch;
faces
(
(0 8 15 7)
);
}
outlet
{
type patch;
faces
(
(3 4 12 11)
);
}
upperWall
{
type wall;
faces
(
(6 7 15 14)
(4 5 13 12)
);
}
lowerWall
{
type wall;
faces
(
(0 1 9 8)
(2 3 11 10)
);
}
frontAndBack
{
type empty;
faces
(

(0 1 6 7)
(2 3 4 5)
(8 15 14 9)
(10 13 12 11)
);
}
);

mergePatchPairs
(
);

If someone can help me, I'd appreciate it.

cvillescas August 19, 2016 07:17

Hi Sergio,

The "back faces" after the pipe reduction are not assigned to any patch.

Carla

sergiopb91 August 19, 2016 12:01

Hi Carla.

You are right, I forget to define those faces.

Thank you very much.


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