|
[Sponsors] |
June 23, 2015, 09:20 |
icoFoam incompatible dimensions
|
#1 |
New Member
peter pan
Join Date: Jun 2015
Posts: 3
Rep Power: 10 |
Hi,
im new to OpenFOAM and trying to do my first simulation. I always get the error: incompatible dimensions for operatin [U[0 1 -2 0 0 0 0] ] == [-grad(p)[1 -2 -2 0 0 0 0]] The Dimensions in the "0-folder" for U=[0 1 -1 0 0 0 0] and P=[1 2 -1 0 0 0 0] I tried to change, but didnt work out. I was looking for the U==-grad(p) equation, but couldnt find it. In wich file is this written down? I searched older posts and found some similar problems, but couldnt fix it. Can anyone help me? |
|
June 24, 2015, 14:35 |
|
#2 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 839
Rep Power: 17 |
P=[1 2 -1 0 0 0 0]
Change this to P=[0 2 -2 0 0 0 0]
__________________
My OpenFOAM algorithm website: http://dyfluid.com By far the largest Chinese CFD-based forum: http://www.cfd-china.com/category/6/openfoam We provide lots of clusters to Chinese customers, and we are considering to do business overseas: http://dyfluid.com/DMCmodel.html |
|
June 24, 2015, 14:45 |
|
#3 |
New Member
peter pan
Join Date: Jun 2015
Posts: 3
Rep Power: 10 |
thanks, i figured it out now. But i have another problem now ( see me other thread) do you also know how to fix this?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Incompatible dimensions for operation | pramodopen4foam | OpenFOAM | 10 | January 4, 2024 04:51 |
Incompatible dimensions for operation | ruben23 | OpenFOAM Running, Solving & CFD | 2 | June 12, 2015 04:14 |
Incompatible dimensions | sfigato | OpenFOAM Running, Solving & CFD | 2 | January 22, 2013 17:50 |
Incompatible dimensions.... | Amiga500 | OpenFOAM Running, Solving & CFD | 13 | June 1, 2012 07:20 |
incompatible dimensions for operation (rhoSimpleFoam) | dongest | OpenFOAM Running, Solving & CFD | 3 | July 19, 2011 04:51 |