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

incompatible dimensions for operation (rhoSimpleFoam)

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By dima

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 19, 2011, 05:08
Default incompatible dimensions for operation (rhoSimpleFoam)
  #1
New Member
 
Esther
Join Date: Jul 2011
Posts: 3
Rep Power: 15
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, 05:44
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22
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, 05:44
Default
  #3
New Member
 
Dima Risch
Join Date: Jun 2011
Location: Cologne
Posts: 22
Rep Power: 15
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
elham usefi likes this.
dima is offline   Reply With Quote

Old   July 19, 2011, 05:51
Default
  #4
New Member
 
Esther
Join Date: Jul 2011
Posts: 3
Rep Power: 15
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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Incompatible dimensions for operation pramodopen4foam OpenFOAM 10 January 4, 2024 05:51
transsonic nozzle with rhoSimpleFoam Unseen OpenFOAM Running, Solving & CFD 8 July 1, 2022 07:54
Incompatible dimensions.... Amiga500 OpenFOAM Running, Solving & CFD 13 June 1, 2012 08: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 09:03


All times are GMT -4. The time now is 10:24.