CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Guidance on reading an error message

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 24, 2008, 11:54
Default Dear OpenFOAM community, I
  #1
laurent25
Guest
 
Posts: n/a
Dear OpenFOAM community,

I am playing with the icoDyMFoam solver. I looked at the tutorial and I am now trying to build a simple 2D case: a box with a lid on the top moving up and down.
When running it, I have the following error message:

laurent@laurent-desktop:~/OpenFOAM/laurent-1.4.1/run/test2D$ icoDyMFoam . estuary
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : icoDyMFoam . estuary
Date : Jan 24 2008
Time : 15:27:59
Host : laurent-desktop
PID : 9404
Root : /home/laurent/OpenFOAM/laurent-1.4.1/run/test2D
Case : estuary
Nprocs : 1
Create time

Create mesh for time = 0

Selecting dynamicFvMesh dynamicMotionSolverFvMesh
Selecting motion solver: velocityComponentLaplacian


--> FOAM FATAL ERROR : Not implemented#0 Foam::error::printStack(Foam:stream&) in "/home/laurent/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/laurent/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Foam::defaultFvPatchField<double>::defaultFvPatchF ield(Foam::fvPatch const&, Foam::DimensionedField<double,> const&) in "/home/laurent/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libfiniteVolume.so"
#3 Foam::fvPatchField<double>::addpatchConstructorToT able<foam::defaultfvpatchfield <double> >::New(Foam::fvPatch const&, Foam::DimensionedField<double,> const&) in "/home/laurent/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libfiniteVolume.so"
#4 Foam::fvPatchField<double>::New(Foam::word const&, Foam::fvPatch const&, Foam::DimensionedField<double,> const&) in "/home/laurent/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/icoDyMFoam "
#5 Foam::GeometricField<double,>::GeometricBoundaryFi eld::GeometricBoundaryField(Fo am::fvBoundaryMesh const&, Foam::DimensionedField<double,> const&, Foam::List<foam::word> const&) in "/home/laurent/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libfvMotionSolvers.so"
#6 Foam::GeometricField<double,>::GeometricField(Foam ::IOobject const&, Foam::fvMesh const&, Foam::dimensioned<double> const&, Foam::List<foam::word> const&) in "/home/laurent/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libfvMotionSolvers.so"
#7 Foam::velocityComponentLaplacianFvMotionSolver::ve locityComponentLaplacianFvMoti onSolver(Foam::polyMesh const&, Foam::Istream&) in "/home/laurent/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libfvMotionSolvers.so"
#8 Foam::motionSolver::adddictionaryConstructorToTabl e<foam::velocitycomponentlapla cianfvmotionsolver>::New(Foam::polyMesh const&, Foam::Istream&) in "/home/laurent/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libfvMotionSolvers.so"
#9 Foam::motionSolver::New(Foam::polyMesh const&) in "/home/laurent/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libdynamicMesh.so"
#10 Foam::dynamicMotionSolverFvMesh::dynamicMotionSolv erFvMesh(Foam::IOobject const&) in "/home/laurent/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libdynamicFvMesh.so"
#11 Foam::dynamicFvMesh::addIOobjectConstructorToTable <foam::dynamicmotionsolverfvme sh>::New(Foam::IOobject const&) in "/home/laurent/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libdynamicFvMesh.so"
#12 Foam::dynamicFvMesh::New(Foam::IOobject const&) in "/home/laurent/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libdynamicFvMesh.so"
#13 main in "/home/laurent/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/icoDyMFoam "
#14 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
#15 Foam::regIOobject::readIfModified() in "/home/laurent/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/icoDyMFoam "


From function defaultFvPatchField<type>::defaultFvPatchField(con st fvPatch& p, const DimensionedField<type,>& iF)
in file fields/fvPatchFields/basic/default/defaultFvPatchField.C at line 50.

FOAM aborting

Aborted (core dumped)


Could someone give me some guidance on how to interpret this message?

thanks very much in advance

Laurent
  Reply With Quote

Old   January 24, 2008, 12:16
Default The text after FOAM FATAL ERRO
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
The text after FOAM FATAL ERROR is a situation specific error message (in your case: the method exists, but is not properly implemented)

The stuff with #<nr> is a stack-trace (http://en.wikipedia.org/wiki/Stack_trace) (If you're using a Debug-version of OF it might even show you the files and line numbers)

After that follows the source-file and the line number that caused the error.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   June 16, 2008, 10:05
Default Do you recall what you changed
  #3
New Member
 
Scott Ford
Join Date: Mar 2009
Location: Pennsylvania, USA
Posts: 7
Rep Power: 8
saf5029 is on a distinguished road
Do you recall what you changed when you got this error, I just got an identical one and am having trouble fixing it.

Thanks

Scott
saf5029 is offline   Reply With Quote

Old   June 18, 2008, 07:32
Default hi, i am compiling a solver(m
  #4
Member
 
davey david
Join Date: Mar 2009
Posts: 54
Rep Power: 8
suredross is on a distinguished road
hi,
i am compiling a solver(modified icoFoam)to solve this equation:

dimensionedScalar k=q*l/(U0*mu);
solve (
(Ux = -(k*fvc::grad(psi)))
);
//(like a boundary condition)
and keep getting this error:

SOURCE=jxnFoam.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/cfd/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/cfd/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/jxnFoam.o
jxnFoam.C: In function 'int main(int, char**)':
jxnFoam.C:115: error: invalid use of void expression
/home/cfd/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude/initContinuityErrs. H:38: warning: unused variable 'cumulativeContErr'
make: *** [Make/linuxGccDPOpt/jxnFoam.o] Error 1

any help will be appreciated.

cheers
davey
suredross is offline   Reply With Quote

Old   June 18, 2008, 07:47
Default Assume psi is a scalar, then g
  #5
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Rotterdam, The Netherlands
Posts: 1,595
Rep Power: 24
ngj will become famous soon enoughngj will become famous soon enough
Assume psi is a scalar, then grad(psi) is a vector which cannot be equal to a scalar, which I assumme Ux is.

Further I believe you need '==' and not just '=' when setting up equations. Further no 'fvm::' command is used, thus no variable to solve for is specified.

I you want qualified help, you need to post definition of the different variables etc, otherwise you will receive guesses just as this on.

- Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   June 18, 2008, 09:29
Default hi Niels good to hear from yo
  #6
Member
 
davey david
Join Date: Mar 2009
Posts: 54
Rep Power: 8
suredross is on a distinguished road
hi Niels
good to hear from you again.
i am trying to impose a boundary condition(the Helmholtz-smoluchowski equation) on the walls of my case after the calculation for an electrical field has elapsed.this is to see the effect the field will have on the velocity at the cells next(immediately)to the boundary.
what will be the best way to go about this?any suggestions are welcome

regards
davey
suredross is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when reading res file Taewon Seo CFX 1 April 28, 2009 09:09
error by reading cas and dat data! Hai Duc FLUENT 0 December 12, 2007 05:56
Error reading mesh Naghman Khan FLUENT 0 July 17, 2007 10:13
error reading file limingtiger CD-adapco 3 September 21, 2005 20:31
error reading xy data zago FLUENT 1 February 25, 2004 11:05


All times are GMT -4. The time now is 05:48.