Who can help me with the OpenFoam errors?
I'm create a new and simple OpenFoam case. But when i running the interFoam,i get the error below.Who can tell me what cause the errors,and how can i fix them! Thanks!! a lot!!
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.7.1 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 1.7.1-03e7e056c215 Exec : interFoam Date : Aug 23 2005 Time : 04:55:44 Host : ubuntu PID : 8399 Case : /home/cfd/OpenFOAM/OpenFOAM-1.7.1/tutorials1/multiphase/interFoam/les/tankcase nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Reading field p_rgh Reading field alpha1 Reading field U Reading/calculating face flux field phi Reading transportProperties Selecting incompressible transport model Newtonian Selecting incompressible transport model Newtonian #0 Foam::error::printStack(Foam::Ostream&) at ~/OpenFOAM/OpenFOAM-1.7.1/src/OSspecific/POSIX/printStack.C:202 #1 Foam::sigFpe::sigFpeHandler(int) at ~/OpenFOAM/OpenFOAM-1.7.1/src/OSspecific/POSIX/signals/sigFpe.C:127 #2 Uninterpreted: #3 Foam::plusEqMagSqrOp2<double, double>::operator()(double&, double const&) const at ~/OpenFOAM/OpenFOAM-1.7.1/src/OpenFOAM/lnInclude/ops.H:76 #4 void VectorSpaceOps<3, 1>::SeqOp<double, Foam::VectorSpace<Foam::Vector<double>, double, 3>, Foam::plusEqMagSqrOp2<double, double> >(double&, Foam::VectorSpace<Foam::Vector<double>, double, 3> const&, Foam::plusEqMagSqrOp2<double, double>) at ~/OpenFOAM/OpenFOAM-1.7.1/src/OpenFOAM/lnInclude/VectorSpaceM.H:20 #5 double Foam::magSqr<Foam::Vector<double>, double, 3>(Foam::VectorSpace<Foam::Vector<double>, double, 3> const&) at ~/OpenFOAM/OpenFOAM-1.7.1/src/OpenFOAM/lnInclude/VectorSpaceI.H:311 #6 double Foam::mag<Foam::Vector<double>, double, 3>(Foam::VectorSpace<Foam::Vector<double>, double, 3> const&) at ~/OpenFOAM/OpenFOAM-1.7.1/src/OpenFOAM/lnInclude/VectorSpaceI.H:321 #7 void Foam::mag<Foam::Vector<double> >(Foam::Field<double>&, Foam::UList<Foam::Vector<double> > const&) at ~/OpenFOAM/OpenFOAM-1.7.1/src/OpenFOAM/lnInclude/FieldFunctions.C:174 #8 void Foam::mag<Foam::Vector<double>, Foam::fvsPatchField, Foam::surfaceMesh>(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>&, Foam::GeometricField<Foam::Vector<double>, Foam::fvsPatchField, Foam::surfaceMesh> const&) at ~/OpenFOAM/OpenFOAM-1.7.1/src/OpenFOAM/lnInclude/GeometricFieldFunctions.C:319 #9 Foam::tmp<Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> > Foam::mag<Foam::Vector<double>, Foam::fvsPatchField, Foam::surfaceMesh>(Foam::GeometricField<Foam::Vect or<double>, Foam::fvsPatchField, Foam::surfaceMesh> const&) at ~/OpenFOAM/OpenFOAM-1.7.1/src/OpenFOAM/lnInclude/GeometricFieldFunctions.C:345 #10 Foam::interfaceProperties::calculateK() at ~/OpenFOAM/OpenFOAM-1.7.1/src/transportModels/interfaceProperties/interfaceProperties.C:121 #11 Foam::interfaceProperties::interfaceProperties(Foa m::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::IOdictionary const&) at ~/OpenFOAM/OpenFOAM-1.7.1/src/transportModels/interfaceProperties/interfaceProperties.C:197 #12 at ~/OpenFOAM/OpenFOAM-1.7.1/applications/solvers/multiphase/interFoam/createFields.H:94 #13 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6" #14 in "/home/cfd/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linuxGccDPDebug/interFoam" |
Greetings Wayne and welcome to the forum!
Well, you're asking a very generic question... therefore, I'm going to use a pre-packaged answer:
Best regards and good luck! Bruno |
Quote:
But when i use 'checkMesh',i also have some errors below. Do i have some problems in my Mesh? Quote:
|
Quote:
|
Could you analysis it more clearly? What's the problem with the Mesh?
|
Quote:
I have a very simple Mesh. Just a tank.So i cann't know the specific problem with my Mesh. |
Greetings to all!
@waynezoon: Quote:
This seems to be a clear indication of what's going wrong: Quote:
Ironically, the volume indicated is: Quote:
It almost looks like you don't even have a mesh :( Or that you are trying to simulate the whole universe... If you give some details about the mesher you are using, then it might be easier to point out what is really going on :( Best regards, Bruno |
Dear Bruno:
Thanks for your precious time to analysis my poor problems. My tank is 10*2*2 m^3. And i use gridgen to make a fluent mesh. Then using the tool 'fluentMeshToFoam' to transform the mesh . I have known the problem! My hard disk is full.So when i copy the Mesh file,maybe some error happened. And my Mesh is broken. Thank you very much man . You are the frist guy who reply me in OpenFoam forume. But when i running the case ,there some error happens. [error]-> FOAM FATAL IO ERROR: keyword backwall is undefined in dictionary "/home/cfd/OpenFOAM/OpenFOAM-1.7.1/tutorials1/multiphase/interFoam/ras/tankcase/0/p_rgh::boundaryField" file: /home/cfd/OpenFOAM/OpenFOAM-1.7.1/tutorials1/multiphase/interFoam/ras/tankcase/0/p_rgh::boundaryField from line 25 to line 57. From function dictionary::subDict(const word& keyword) const in file db/dictionary/dictionary.C at line 456. FOAM exiting [/error] What the matter with the p_rgh? |
You have a patch called backwall on which you have not defined a boundary condition for p_rgh. So you must add (or correct, if there is a typo) an entry for backwall in the 0/p_rgh file.
|
Dear joel.lehikoinen
Greet to meet you and thank you for your time to helping me with the problem. With your analysis ,i have fixed the error and my case is running now . Thanks guys above. You are so kind! |
Floating Point Exception
Guys,
I am experiencing a similar problem. I posted my error details on another thread in this forum, but my problem has not resolved. I was told to try changing all "0" value boundary conditions to a value such as "1e10-16". But it didn't work. My mesh is alright, and my boundary conditions worked well for incompressible case. Can I get some help by posting my error here? Regars, Umer |
Hi Umer,
You could have posted the link to said thread ;) I've answered you here: http://www.cfd-online.com/Forums/ope...ion-1-6-a.html Best regards, Bruno |
All times are GMT -4. The time now is 18:21. |