|
[Sponsors] |
August 5, 2012, 21:51 |
wired error in openfoam
|
#1 |
Member
Join Date: Jun 2012
Posts: 65
Rep Power: 14 |
Hi everyone, I'm running the sprayFoam. I have successfully run several cases before, but from last Monday, Openfoam became very wired. It stopped at the beginning and the error report is as below(with sprayFoam):
Time = 1.04768e-05 Solving cloud sprayCloud #0 Foam::error::printStack(Foam::Ostream&) at /usr/apps1/openfoam-2.1.1/OpenFOAM-2.1.1/src/OSspecific/POSIX/printStack.C:201 #1 Foam::sigSegv::sigHandler(int) at /usr/apps1/openfoam-2.1.1/OpenFOAM-2.1.1/src/OSspecific/POSIX/signals/sigSegv.C:56 #2 __restore_rt at sigaction.c:0 #3 Foam::divideOp3<double, double, double>::operator()(double const&, double const&) const at /usr/apps1/openfoam-2.1.1/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/ops.H:133 #4 void VectorSpaceOps<3, 0>::opVS<Foam::Vector<double>, Foam::VectorSpace<Foam::Vector<double>, double, 3>, double, Foam::divideOp3<double, double, double> >(Foam::Vector<double>&, Foam::VectorSpace<Foam::Vector<double>, double, 3> const&, double const&, Foam::divideOp3<double, double, double>) at /usr/apps1/openfoam-2.1.1/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/VectorSpaceM.H:34 #5 Foam::Vector<double> Foam::operator/<Foam::Vector<double>, double, 3>(Foam::VectorSpace<Foam::Vector<double>, double, 3> const&, double) at /usr/apps1/openfoam-2.1.1/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/VectorSpaceI.H:576 #6 Foam::ReitzKHRT<Foam::SprayCloud<Foam::ReactingClo ud<Foam::ThermoCloud<Foam::KinematicCloud<Foam::Cl oud<Foam::SprayParcel<Foam::ReactingParcel<Foam::T hermoParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > >::update(double, Foam::Vector<double> const&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double, double, double, double, Foam::Vector<double> const&, Foam::Vector<double> const&, double, double, Foam::Vector<double> const&, double, double, double, double&, double&, Foam::cachedRandom&) const at ~/OpenFOAM/liao23-2.1.1/src/lagrangian/spray/lnInclude/ReitzKHRT.C:132 #7 void Foam::SprayParcel<Foam::ReactingParcel<Foam::Therm oParcel<Foam::KinematicParcel<Foam::particle> > > >::calcBreakup<Foam::ReactingParcel<Foam::ThermoPa rcel<Foam::KinematicParcel<Foam::particle> > >::TrackingData<Foam::SprayCloud<Foam::ReactingClo ud<Foam::ThermoCloud<Foam::KinematicCloud<Foam::Cl oud<Foam::SprayParcel<Foam::ReactingParcel<Foam::T hermoParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > > >(Foam::ReactingParcel<Foam::ThermoParcel<Foam::Ki nematicParcel<Foam::particle> > >::TrackingData<Foam::SprayCloud<Foam::ReactingClo ud<Foam::ThermoCloud<Foam::KinematicCloud<Foam::Cl oud<Foam::SprayParcel<Foam::ReactingParcel<Foam::T hermoParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > >&, double, int) at /usr/apps1/openfoam-2.1.1/OpenFOAM-2.1.1/src/lagrangian/spray/lnInclude/SprayParcel.C:254 ... #16 _start in "/usr/apps1/openfoam-2.1.1/OpenFOAM-2.1.1/platforms/linux64Gcc44DPDebug/bin/sprayFoam" While if I run with mysprayFoam(no change with solver only link to my library), it also stopped at the beginning and said: --> FOAM FATAL ERROR: mesh flux field does not exists, is the mesh actually moving? From function fvMesh::phi() in file fvMesh/fvMeshGeometry.C at line 400. FOAM exiting I believe it's a configuration problem as when I run on my friend's computer(with sprayFoam), it works. So it may not be the input problem or case problem. Thanks for helping. |
|
August 6, 2012, 01:32 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings conceptone,
Well, there are several possibilities, all of which are likely either hardware related or incorrect usage Starting with the smaller list - incorrect usage:
Bruno
__________________
|
|
August 6, 2012, 13:06 |
|
#3 |
Member
Join Date: Jun 2012
Posts: 65
Rep Power: 14 |
Dear Bruno,
Thanks for replying. Actually, I submit the case to run on the processor, and the case is not run by my computer and I don't have the manage right for linux system, so ...(sorry for forgetting those terms...) When you say "clean case", actually I copied a case finished file from the remote file to my memory file last week, and the nightmare seemed to begin from that time. Because previously I have run the cases without problem, but after that, at first, the number of particle in lagrangian file in calculated time file exists much fewer than before(see below), then I recompiled the library and solver copied to my own computer, it comes out "mesh flux field does not exists, is the mesh actually moving?"(with mysprayFoam), then I tried sprayFoam(openfoam's original solver and libs), it comes out the message I posted. But later my friend tried with his computer(he doesn't use our remote processors), and the same case file can work. I guess there are two possible reasons: one is the memory space, the other is the "unclean" things from the finished case file I copied since before I can run the cases normally. Do you think it's reasonable? Thanks |
|
August 7, 2012, 08:13 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
If possible, try rebooting your computer!?
As for your friend's computer, did he copy the files from your computer or from the other machine as well?
__________________
|
|
August 7, 2012, 16:45 |
|
#5 |
Member
Join Date: Jun 2012
Posts: 65
Rep Power: 14 |
Actually, the situation is better now..I just switch to non-debug version.. It seems that Openfoam's code is not so robust as I imagine..
Thanks anyway! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
Issues with OpenFoam | sanjibdsharma | OpenFOAM | 0 | August 14, 2009 09:41 |
2009 OpenFOAM Summer School in Zagreb, Croatia | hjasak | OpenFOAM Announcements from Other Sources | 0 | March 27, 2009 13:08 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |
OpenFOAM Training and Workshop | Hrvoje Jasak | Main CFD Forum | 0 | October 7, 2005 08:14 |