|
[Sponsors] |
incompatible dimensions for operation (rhoSimpleFoam) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 19, 2011, 05:08 |
incompatible dimensions for operation (rhoSimpleFoam)
|
#1 |
New Member
Esther
Join Date: Jul 2011
Posts: 3
Rep Power: 15 |
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 |
|
July 19, 2011, 05:44 |
|
#2 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
How did you define the dimensions of U en p in the 0/ directory?
|
|
July 19, 2011, 05:44 |
|
#3 |
New Member
Dima Risch
Join Date: Jun 2011
Location: Cologne
Posts: 22
Rep Power: 15 |
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 |
|
July 19, 2011, 05:51 |
|
#4 |
New Member
Esther
Join Date: Jul 2011
Posts: 3
Rep Power: 15 |
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 |
|
|
|
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 |