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

incompatible dimensions for operation (rhoSimpleFoam)

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 19, 2011, 04:08
Default incompatible dimensions for operation (rhoSimpleFoam)
  #1
New Member
 
Esther
Join Date: Jul 2011
Posts: 3
Rep Power: 6
dongest is on a distinguished road
good Morning Foamer,
can somebody help me about this error happen by running rhoSimpleFoam,

thank you for your help

--> FOAM FATAL ERROR:
incompatible dimensions for operation
[U[0 1 -2 0 0 0 0] ] + [U[1 -2 -2 0 0 0 0] ]

From function checkMethod(const fvMatrix<Type>&, const fvMatrix<Type>&)
in file /opt/CFD/OpenFOAM/OpenFOAM-1.7.1/src/finiteVolume/lnInclude/fvMatrix.C at line 1191.

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/CFD/OpenFOAM/OpenFOAM-1.7.1/lib/linux64IccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/CFD/OpenFOAM/OpenFOAM-1.7.1/lib/linux64IccDPOpt/libOpenFOAM.so"
#2 Foam::tmp<Foam::fvMatrix<Foam::Vector<double> > > Foam:perator+<Foam::Vector<double> >(Foam::tmp<Foam::fvMatrix<Foam::Vector<double> > > const&, Foam::tmp<Foam::fvMatrix<Foam::Vector<double> > > const&) in "/opt/CFD/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linux64IccDPOpt/rhoSimpleFoam"
#3 main in "/opt/CFD/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linux64IccDPOpt/rhoSimpleFoam"
#4 __libc_start_main in "/lib64/libc.so.6"
#5 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/opt/CFD/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linux64IccDPOpt/rhoSimpleFoam"
Aborted
dongest is offline   Reply With Quote

Old   July 19, 2011, 04:44
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 12
Bernhard is on a distinguished road
How did you define the dimensions of U en p in the 0/ directory?
Bernhard is offline   Reply With Quote

Old   July 19, 2011, 04:44
Default
  #3
New Member
 
Dima Risch
Join Date: Jun 2011
Location: Cologne
Posts: 22
Rep Power: 6
dima is on a distinguished road
Hi,
i got this kind of error a few times
and one reason was the dimension of pressure

in incompressible cases its
dimensions [0 2 -2 0 0 0 0];

and in compressible its
dimensions [1 -1 -2 0 0 0 0];

hope this helps you

regards, Dima
dima is offline   Reply With Quote

Old   July 19, 2011, 04:51
Default
  #4
New Member
 
Esther
Join Date: Jul 2011
Posts: 3
Rep Power: 6
dongest is on a distinguished road
thank you!
the dimension fo U are [0 1 -1 0 0 0 0]
and for p I tried with [1 -1 -2 0 0 0 0] for compressible flow
and [0 2 -2 0 0 0 0] for imcompressible flow
dongest 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
transsonic nozzle with rhoSimpleFoam Unseen OpenFOAM Running, Solving & CFD 7 April 16, 2014 03:38
Incompatible dimensions.... Amiga500 OpenFOAM Running, Solving & CFD 13 June 1, 2012 07:20
Problem with rhoSimpleFoam : exploding enthalpy and density at the walls david39 OpenFOAM Running, Solving & CFD 6 January 18, 2011 12:49
Dimesion error after switching from simpleFoam to rhoSimpleFoam sebastian OpenFOAM Bugs 2 June 17, 2010 08:03
Incompatible dimensions for operation pramodopen4foam OpenFOAM 8 October 15, 2009 05:00


All times are GMT -4. The time now is 13:18.