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

icoFoam incompatible dimensions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 23, 2015, 09:20
Default icoFoam incompatible dimensions
  #1
New Member
 
peter pan
Join Date: Jun 2015
Posts: 3
Rep Power: 10
student12345 is on a distinguished road
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?
student12345 is offline   Reply With Quote

Old   June 24, 2015, 14:35
Default
  #2
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 839
Rep Power: 17
sharonyue is on a distinguished road
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
sharonyue is offline   Reply With Quote

Old   June 24, 2015, 14:45
Default
  #3
New Member
 
peter pan
Join Date: Jun 2015
Posts: 3
Rep Power: 10
student12345 is on a distinguished road
thanks, i figured it out now. But i have another problem now ( see me other thread) do you also know how to fix this?
student12345 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 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


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