|
[Sponsors] |
size (#1) is not equal to the given value of (#2) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 11, 2024, 21:35 |
size (#1) is not equal to the given value of (#2)
|
#1 |
New Member
Kihyun
Join Date: Jun 2024
Location: Seoul
Posts: 2
Rep Power: 0 |
Hi I am beginner of OpenFoam. And I am using OpenFoam2.3.1.
I'm trying to solve basic icoFoam Problem. BlockMEesh, surfaceFeatureExtract, snappyHexMesh, and icoFoam work very well. BUt error comes up when i try to see result on the praview. When i press apply and play button, this happens Code:
FOAM FATAL IO ERROR: size 4000 is not equal to the given value of 59676 file: /home/openfoam/shared_folder/2shot/0.22/p from line 18 to line 4051. From function Field<Type>::Field(const word& keyword, const dictionary&, const label) in file /home/openfoam/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude/Field.C at line 292. FOAM exiting Code:
FoamFile { version 2.0; format ascii; class volVectorField; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { inlet { type fixedValue; value uniform (27.7 0 0); } outlet { type zeroGradient; } back { type slip; } sky { type slip; } front { type slip; } bottom { type slip; } carGroup { type fixedValue; value uniform (0 0 0); } } Code:
FoamFile { version 2.0; format ascii; class volScalarField; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform 0; boundaryField { inlet { type zeroGradient; } outlet { type fixedValue; value uniform 0; } back { type zeroGradient; } sky { type zeroGradient; } front { type zeroGradient; } bottom { type zeroGradient; } carGroup { type zeroGradient; } } Code:
FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 1; vertices ( (0 0 0) (2 0 0) (2 0.7 0) (0 0.7 0) (0 0 0.3) (2 0 0.3) (2 0.7 0.3) (0 0.7 0.3) ); blocks ( hex (0 1 2 3 4 5 6 7) (40 10 10) simpleGrading (1 1 1) ); edges ( ); boundary ( inlet { type patch; faces ( (0 4 7 3) ); } outlet { type patch; faces ( (1 2 6 5) ); } back { type wall; faces ( (0 3 2 1) ); } sky { type wall; faces ( (3 7 6 2) ); } front { type wall; faces ( (4 5 6 7) ); } bottom { type wall; faces ( (0 1 5 4) ); } ); mergePatchPairs ( ); |
|
Tags |
blockmesh, snappyhexmesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] edges not aligned with or perpendicular to non-empty directions | ynos | OpenFOAM Meshing & Mesh Conversion | 6 | March 26, 2020 16:02 |
Number of cells in mesh:16000 does not equal size of cellLevel:24400 | rupesh_w | OpenFOAM Pre-Processing | 1 | February 15, 2016 12:00 |
Hydrocyclone simulation and catalogue size problem | alexandre.david | CFX | 8 | May 15, 2015 09:40 |
Phase locked average in run time | panara | OpenFOAM | 2 | February 20, 2008 15:37 |
OpenFOAM 13 AMD quadcore parallel results | msrinath80 | OpenFOAM Running, Solving & CFD | 1 | November 11, 2007 00:23 |