CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] SnappyMeshHex generated time steps?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Antimony

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2016, 03:38
Default SnappyMeshHex generated time steps?
  #1
New Member
 
Alpha Beta
Join Date: Mar 2016
Posts: 28
Rep Power: 10
xoitx is on a distinguished road
Hello
Why has snappyHexMesh generated time stamps?
namely 0.5 and 1 each with varying files.
How do I view this in paraview using foamToVTK (parafoam doesn't work for me)?
Thanks
xoitx is offline   Reply With Quote

Old   March 13, 2016, 17:21
Default
  #2
New Member
 
Alpha Beta
Join Date: Mar 2016
Posts: 28
Rep Power: 10
xoitx is on a distinguished road
I tried placing the '0.5' folder items in the '0' folder as it contained a lot of files that are usually in the '0' folder.. like alpha.water... and p_rgh and a lot more..
and the '1' folder contents(polymesh) I placed in the constant/polymesh folder.
Question:
1)Am I doing things right?
2)why did snappyhexmesh generate all these files.. I thought it just meshes and setfields dict checks/edits alpha.water
3)I get this error after doing the above:
Quote:
--> FOAM FATAL IO ERROR:
size 250000 is not equal to the given value of 3087288

file: /home/bryce/openfoam30/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/0/p_rgh from line 18 to line 250030.

From function Field<Type>::Field(const word& keyword, const dictionary&, const label)
in file /home/openfoam/OpenFOAM/OpenFOAM-3.0.1/src/OpenFOAM/lnInclude/Field.C at line 283.

FOAM exiting
Why is the size of p_rgh and U also perfectly limited to 25000
I don't recall setting any limit :O

Please do help
xoitx is offline   Reply With Quote

Old   March 21, 2016, 05:26
Default
  #3
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 16
Antimony is on a distinguished road
Hi,

By default, snappy will write each stage of the mesh that it generates into a new time folder. In your case, my guess is that you have deltaT set to 0.5 and so each of the meshes is written into that.

If you want to avoid this, use the -overwrite flag for snappyHexMesh and it will be written into the original constant folder.

You get the error in size because I am guessing that you asked snappy to remesh before removing the previous mesh. Remove the previous mesh, reblockMesh and then run snappy with the -overwrite option and it should be fine I think.

Cheers,
Antimony
Pavlord likes this.
Antimony is offline   Reply With Quote

Old   March 21, 2016, 06:59
Default
  #4
New Member
 
Alpha Beta
Join Date: Mar 2016
Posts: 28
Rep Power: 10
xoitx is on a distinguished road
Greetings
Thank you for replying
Yea I figured it out, I was 2 days old with the software.Going on second week now.. so far it 's been great.
Any idea on wall functions and post processing?.. I have a few doubts if you could be kind enough to clear.
Thanks
xoitx 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
[General] Extracting ParaView Data into Python Arrays Jeffzda ParaView 30 November 6, 2023 22:00
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 03:36
LES, Courant Number, Crash, Sudden Alhasan OpenFOAM Running, Solving & CFD 5 November 22, 2019 03:05
Star cd es-ice solver error ernarasimman STAR-CD 2 September 12, 2014 01:01
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 23:40


All times are GMT -4. The time now is 00:14.