|
[Sponsors] |
February 12, 2009, 11:23 |
Preview mesh in Paraview
|
#1 |
New Member
Gareth
Join Date: Mar 2009
Posts: 24
Rep Power: 17 |
Hi
I'm getting to grips with the meshing in blockMeshDict, but find it frustrating that the only way to view the mesh is once I have applied all the initial conditions and run the model, then exporting to VTK and selecting wireframe. For some reason paraFoam does not work on my setup, so I can only use foamToVTK. Is there a way to quickly export the mesh to paraView to have a look at it, after running blockMesh? Many thanks Gareth |
|
March 25, 2009, 17:29 |
|
#2 |
New Member
James
Join Date: Mar 2009
Location: Sheffield, UK
Posts: 9
Rep Power: 17 |
you can use Salome (3.2.x) to draw the geometry and then create and visualise the mesh. When you finish, save the created mesh as IDEAS and then use the ideasToFoam tool to conver to OpenFOAM format. There is a tutorial about this at the caelinux website www.caelinux.com
hope this helps... j |
|
March 26, 2009, 08:26 |
|
#3 |
Member
Johannes Baumann
Join Date: Mar 2009
Location: Baden-Wuerttemberg, Germany
Posts: 43
Rep Power: 17 |
Hi Gareth,
another option would be to use the native OpenFOAM-Reader by Takuya Oshima. It's the only ParaView post-processing method I'm using at the moment and I'm very satisfied with it. And - important for you - it's possible to visualize the mesh whether or not there are result files available for that case. Best regards, Johannes |
|
March 16, 2011, 18:43 |
|
#4 |
New Member
Son Ho
Join Date: Mar 2011
Location: Orlando, Florida
Posts: 5
Rep Power: 15 |
Hello,
I am new at OF and starting to learn it with OpenFOAM 1.7.1 on Ubuntu 10.10 on VMWare Player. To develop a mesh using blockMesh, I follow the steps from the tutorial: 1. Edit blockMeshDict 2. Run blockMesh 3. Run paraFoam 4. View mesh on paraFoam 5. Quit paraFoam 6. Repeat step 1 My question is that how can I eliminate step 5 (and therefore step 3 in the following cycles) and get paraFoam to update and view the new mesh? Thanks. Son |
|
March 17, 2011, 02:49 |
|
#5 |
Senior Member
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 255
Rep Power: 22 |
Hi Son,
disable the "Cache Mesh" option (red arrow), click "Update GUI" option (green arrow) to enable the "Apply" button (just switch between On/Off all the time), click the "Apply" button (blue arrow). The updated mesh will be loaded and displayed. Another feature, if you don't already use it, is to name the blocks in the blockMeshDict this way (be aware of "block_1" as a name for this block): Code:
hex (15 9 52 58 23 16 59 66) block_1 (8 4 8) simpleGrading (1 1 1) Martin Last edited by MartinB; March 17, 2011 at 02:50. Reason: Removed typos |
|
March 17, 2011, 11:59 |
|
#6 |
New Member
Son Ho
Join Date: Mar 2011
Location: Orlando, Florida
Posts: 5
Rep Power: 15 |
Thank you very much for the tips, Martin. I tried them out and it works perfectly.
I only have do the "disable Cache Mesh - enable Update GUI - click Apply" once. After that, I just have to click on the button "Refresh Times" in order to show the updated mesh (I use paraView 3.8.1 which came with openFoam 1.7.1 package). Son |
|
June 3, 2011, 12:03 |
|
#7 |
New Member
Mike
Join Date: May 2011
Posts: 19
Rep Power: 15 |
Hello,
Im trying to postprocess a mesh that I created with blockMesh, and I want to inspect separetely some blocks that I have saved in a "Sets" folder. I followed what MartinB said, but the problem is that Im using Paraview 3.10.1 on Windows XP. I cannot find the properties listed in Martin's screenshot in the object inspector! Does anybody have an idea? |
|
June 3, 2011, 12:30 |
|
#8 |
Senior Member
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 255
Rep Power: 22 |
Hi Mike,
you can use foamToVTK this way: Code:
foamToVTK -cellSet block_1 Martin |
|
June 4, 2011, 13:13 |
|
#9 |
New Member
Mike
Join Date: May 2011
Posts: 19
Rep Power: 15 |
Thanks Martin! It works perfectly
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] SnappyHexMesh for internal Flow | vishwa | OpenFOAM Meshing & Mesh Conversion | 24 | June 27, 2016 09:54 |
[Commercial meshers] MRF: imported mesh from ICEM not shown in ParaView and trying to merge with other | n0ukh3z007 | OpenFOAM Meshing & Mesh Conversion | 0 | September 20, 2015 16:04 |
Mesh motion with Translation & Rotation | Doginal | CFX | 2 | January 12, 2014 07:21 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 22:41 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |