|
[Sponsors] |
Who can help me with the OpenFoam errors? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 23, 2011, 09:18 |
Who can help me with the OpenFoam errors?
|
#1 |
New Member
Wayne
Join Date: Aug 2011
Location: China
Posts: 9
Rep Power: 15 |
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:rintStack(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:lusEqMagSqrOp2<double, double>:perator()(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:lusEqMagSqrOp2<double, double> >(double&, Foam::VectorSpace<Foam::Vector<double>, double, 3> const&, Foam:lusEqMagSqrOp2<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" |
|
August 23, 2011, 16:49 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
August 23, 2011, 22:56 |
|
#3 | ||
New Member
Wayne
Join Date: Aug 2011
Location: China
Posts: 9
Rep Power: 15 |
Quote:
But when i use 'checkMesh',i also have some errors below. Do i have some problems in my Mesh? Quote:
|
|||
August 24, 2011, 03:48 |
|
#4 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
||
August 24, 2011, 04:09 |
|
#5 |
New Member
Wayne
Join Date: Aug 2011
Location: China
Posts: 9
Rep Power: 15 |
Could you analysis it more clearly? What's the problem with the Mesh?
|
|
August 24, 2011, 04:21 |
|
#6 |
New Member
Wayne
Join Date: Aug 2011
Location: China
Posts: 9
Rep Power: 15 |
||
August 24, 2011, 05:33 |
|
#7 | |||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
||||
August 24, 2011, 08:52 |
|
#8 |
New Member
Wayne
Join Date: Aug 2011
Location: China
Posts: 9
Rep Power: 15 |
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? |
|
August 24, 2011, 11:39 |
|
#9 |
New Member
Joel Lehikoinen
Join Date: Jun 2011
Posts: 26
Rep Power: 15 |
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.
|
|
August 24, 2011, 22:08 |
|
#10 |
New Member
Wayne
Join Date: Aug 2011
Location: China
Posts: 9
Rep Power: 15 |
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! |
|
September 5, 2011, 06:00 |
Floating Point Exception
|
#11 |
New Member
|
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 |
|
September 5, 2011, 15:16 |
|
#12 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 7 | July 30, 2009 04:14 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 06:56 |
OpenFOAM Training in Europe and USA | hjasak | OpenFOAM | 0 | August 8, 2008 06:33 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |