|
[Sponsors] |
April 11, 2006, 14:14 |
File Format certainity
|
#1 |
Member
Terry Jordan
Join Date: Mar 2009
Posts: 95
Rep Power: 17 |
I am looking at adding a reader to paraview for OpenFoam files. I wanted to find out how set the file format is. Is there any talk of changing the file format soon or even later?
Thanks. |
|
April 11, 2006, 14:41 |
Will your reader be any differ
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Will your reader be any different from the paraFoam one?
There are no plans to change the file format any time soon. But if you use OpenFOAM functionality to read the mesh all this will be shielded from you. Mattijs |
|
April 11, 2006, 14:48 |
Nothing is set in stone but I
|
#3 |
Member
Terry Jordan
Join Date: Mar 2009
Posts: 95
Rep Power: 17 |
Nothing is set in stone but I am looking at foregoing using the OpenFOAM package to read the files.
|
|
April 11, 2006, 14:56 |
Not directly related: do you k
|
#4 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Not directly related: do you know whether VTK can handle polyhedral cells directly? We currently have to decompose anything which is more complex than a hex which is annoying.
Mattijs |
|
April 11, 2006, 15:47 |
You may want to take a look at
|
#5 |
Member
Terry Jordan
Join Date: Mar 2009
Posts: 95
Rep Power: 17 |
You may want to take a look at convexpointset. That should work although you may take a performance hit.
|
|
April 12, 2006, 12:17 |
I was looking at you cell type
|
#6 |
Member
Terry Jordan
Join Date: Mar 2009
Posts: 95
Rep Power: 17 |
I was looking at you cell types and I see the following correlation in VTK:
Hexahedron vtkHexahedron Wedge vtkConvexPointSet Prism vtkWedge Pyramid vtkPyramid Tetrahedon vtkTetrahedon Tet-Wedge vtkConvexPointSet |
|
April 12, 2006, 12:27 |
We use vtkTetrahedon vtkPyrami
|
#7 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
We use vtkTetrahedon vtkPyramid vtkWedge vtkHexahedron
I tried convexPointSet and it does not do what I want. It triangulates a convex point cloud but does not see the difference between internal and external faces of the mesh so it shows all faces which makes it very slow. What I would like is a generic vtk cell shape which implements all the needed functionality (cutting planes, derivatives etc) by on-the-fly decomposition. |
|
April 12, 2006, 12:30 |
Is it possible for you to add
|
#8 |
Member
Terry Jordan
Join Date: Mar 2009
Posts: 95
Rep Power: 17 |
Is it possible for you to add an empty .Foam file to the topmost directory in the case by default? This would call for adding one more file to the openfoam format but would not cause a need for changing any other files. It would just be a place holder for an entry point for readers as you did within your parafoam script. It could also be used to store some header info if desired at a later data.
How feasible would it be for you to add that? |
|
April 12, 2006, 13:10 |
Sorry, no intention of doing s
|
#9 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Sorry, no intention of doing so at the moment.
- you could change your paraFoam script not to delete the .foam file. - you could set the extension of 'foam' files to be 'controlDict' instead of '.foam' (if vtk allows this) and click on the system/controlDict |
|
April 12, 2006, 14:10 |
"- you could set the extension
|
#10 |
Member
Terry Jordan
Join Date: Mar 2009
Posts: 95
Rep Power: 17 |
"- you could set the extension of 'foam' files to be 'controlDict' instead of '.foam' (if vtk allows this) and click on the system/controlDict" - this was one idea I had.
"- you could change your paraFoam script not to delete the .foam file." - I am planning on writing my own readers for paraview. I figured I would give it a shot and ask if you could, no big deal I will work around it. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFoam "Permission denied" and "command not found" problems. | iyidaniel@yahoo.co.uk | OpenFOAM Running, Solving & CFD | 11 | January 2, 2018 07:47 |
polynomial BC | srv537 | OpenFOAM Pre-Processing | 4 | December 3, 2016 10:07 |
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 | towanda | OpenFOAM Community Contributions | 6 | September 5, 2015 22:03 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 02:41 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |