CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Error size 400 is not equal to the given value of 1681 (http://www.cfd-online.com/Forums/openfoam-solving/58148-error-size-400-not-equal-given-value-1681-a.html)

alimansouri December 31, 2008 16:04

Hi guys I am working on my
 
Hi guys

I am working on my first tutorial (lidcavity) and I changed the mesh density from 20*20 to 41*41
and I got this error


size 400 is not equal to the given value of 1681


could you help and let me know what I am missing?

thank you!

sachin January 6, 2009 07:32

Hi , I m not sure just delete
 
Hi ,
I m not sure just delete all other files other than blockMeshdict from polyMesh folder and again run blockMesh...
i hope u ran blockMesh command after editing meshdict

sega January 7, 2009 05:58

The initialization of gamma is
 
The initialization of gamma is done in a list containing 20*20 values. If you change the cell to 41*41 there are more cells than values for gamma.

You have to set the gamma field to the new mesh using setFields or funkySetFields.

Tell me if this works out.

idrama December 2, 2009 07:40

Thanks a lot!

It had worked.

cheers


All times are GMT -4. The time now is 03:19.