CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Size *** is not equal to the given value of ***

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 24, 2015, 17:09
Default Size *** is not equal to the given value of ***
  #1
New Member
 
Jimmy
Join Date: Apr 2015
Posts: 20
Rep Power: 11
MtnRunBeachBum is on a distinguished road
I am trying to view a solution in ParaView (paraFoam). When I try to step through the timesteps, after the first step or two I get the following:

Code:
-->FOAM FATAL IO ERROR:
size 500000 is not equal to the given value of 740324
From there the error message indicates the crash occurred while trying to read the p file for the corresponding timestep. I know that 500000 is the size of my overall mesh from blockMesh, but I cannot figure out where 740XXX comes from. More importantly (I think), I cannot figure out where OF is getting that value from; I would say that value was written (somehow, maybe a previous block mesh iteration?) to some file or dictionary, but I cannot figure out where. Perhaps another possibility is the block mesh info isn't playing nice with the snappyHeMesh info, though I don't even know if that's a thing.

I've tried copying over the directory and clearing out any created files, but to no avail.

Any insight?


Cheers,
Jimmy
MtnRunBeachBum is offline   Reply With Quote

Old   April 25, 2015, 07:01
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: My guess is that you did not run snappyHexMesh with the "-overwrite" option:
Code:
snappyHexMesh -overwrite
wyldckat is offline   Reply With Quote

Old   April 25, 2015, 10:09
Default
  #3
New Member
 
Jimmy
Join Date: Apr 2015
Posts: 20
Rep Power: 11
MtnRunBeachBum is on a distinguished road
That makes sense. I'll give that a shot. I guess I would have thought sHM would overwrite old results/data by default. Is that more of a OF thing or Linux thing?
MtnRunBeachBum is offline   Reply With Quote

Old   April 25, 2015, 15:09
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: When in doubt, use the option "-help":
Code:
snappyHexMesh -help
which can work with most applications in Linux.
mdhfiz likes this.
wyldckat is offline   Reply With Quote

Old   May 28, 2021, 22:40
Default
  #5
New Member
 
A
Join Date: Dec 2018
Posts: 8
Rep Power: 7
David Jean is on a distinguished road
Hi.

I am using OpenFOAM I meet a problem like that. Could you help me to solve this problem? Thank you so much. I hope you are doing well.
David Jean 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
[blockMesh] edges not aligned with or perpendicular to non-empty directions ynos OpenFOAM Meshing & Mesh Conversion 6 March 26, 2020 15:02
[ICEM] Effect of globle mesh size and mesh independency sujay ANSYS Meshing & Geometry 20 September 29, 2019 07:36
Number of cells in mesh:16000 does not equal size of cellLevel:24400 rupesh_w OpenFOAM Pre-Processing 1 February 15, 2016 11:00
Hydrocyclone simulation and catalogue size problem alexandre.david CFX 8 May 15, 2015 08:40
OpenFOAM 13 AMD quadcore parallel results msrinath80 OpenFOAM Running, Solving & CFD 1 November 10, 2007 23:23


All times are GMT -4. The time now is 20:34.