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

[snappyHexMesh] Copying writeFlags after reconstructParMesh

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By simrego

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 10, 2020, 06:38
Default Copying writeFlags after reconstructParMesh
  #1
Member
 
Join Date: Sep 2018
Location: France
Posts: 62
Rep Power: 8
john myce is on a distinguished road
Hello,


I am currently analysing how snappyHexMesh is working so I chose to start with the motorBike tutorials.



When I am running the case in parallel by using decomposePar and mpirun, I set on the writeflags in the initial snappyHexMeshDict to see the different level of refinement in paraview.


In parallel, in the folders processor.*, I have got the files in each time step "cellLevel" and "pointLevel" which allows me to see the volScalarfield in paraview.



The problem is that when I do the command reconstructParMesh, it does not taking into account these two files in the reconstructed time step file (1/ and 2/) . Therefore I cannot use these fields in paraview.



Do you know which option can take into account these two files after reconstruct the mesh ?


Cheers
john myce is offline   Reply With Quote

Old   January 10, 2020, 08:02
Default
  #2
Member
 
Join Date: Sep 2018
Location: France
Posts: 62
Rep Power: 8
john myce is on a distinguished road
I just find how to read the writeflags in paraview without reconstruct the case.



You can either read without reconstructing the case by selecting case type "Decomposed Case" in paraview or do reconstructPar after reconstructParMesh.
john myce is offline   Reply With Quote

Old   January 11, 2020, 08:45
Default
  #3
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Hi!


Just if you need it in the future.
reconstructParMesh reconstruct your MESH, and only the mesh. Then you can use reconstructPar, which will reconstruct your fields.
john myce likes this.
simrego is offline   Reply With Quote

Old   August 27, 2022, 12:44
Default
  #4
Senior Member
 
Giles Richardson
Join Date: Jun 2012
Location: Cambs UK
Posts: 102
Rep Power: 14
ufocfd is on a distinguished road
Quote:
Originally Posted by john myce View Post
I just find how to read the writeflags in paraview without reconstruct the case. You can either read without reconstructing the case by selecting case type "Decomposed Case" in paraview or do reconstructPar after reconstructParMesh.
Thanks so much John for posting this solution - I was just really helpful to us!
ufocfd is offline   Reply With Quote

Reply

Tags
parallel, snappyhexmeshdict, writeflags


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
[ICEM] Problems after copying blocks anand32 ANSYS Meshing & Geometry 1 August 3, 2017 21:57
[Other] Using reconstructParMesh on a cluster, bottle neck and out of memory KTG OpenFOAM Meshing & Mesh Conversion 2 May 5, 2017 13:48
reconstructParMesh + GGI problem jiejie OpenFOAM Post-Processing 0 August 14, 2012 03:10
Copying tranfsinite volumes in gmsh shangzung Main CFD Forum 0 December 10, 2009 04:04
reconstructParMesh not working with an axisymetric case francesco OpenFOAM Bugs 4 May 8, 2009 06:49


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