|
[Sponsors] |
August 31, 2009, 13:08 |
|
#181 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Hello BastiL,
Good Evening to you!! That almost looks like a problem with your "readers.xml" file... are you sure you have modified that file as per the instructions given by Takuya? If I am not mistaken, the original version of Paraview still contains the old OpenFOAM reader by Terry Jordan.... and it must be conflicting with the version from Takuya.... Have a nice day...! Philippose |
|
August 31, 2009, 15:59 |
|
#182 | |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Quote:
http://openfoamwiki.net/index.php/Ti...r#Installation I can not find anything about a "readers.xml"-File in there - except the hint that it does not need to be patched anymore...? Regards, BastiL |
||
August 31, 2009, 20:33 |
|
#183 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Hi BastiL,
The contents of the readers.xml should be included in the parallel plugin (libPOpenFOAMReaderSMPlugin.so) thus perhaps the plugin was not loaded to ParaView correctly. If you don't mind building ParaView again try another "build everything as builtin" version PHP Code:
Takuya |
|
September 1, 2009, 04:11 |
|
#184 | |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Quote:
Ok fine I will try. Do I have to rebuild all of paraview? (make clean, make)? Or can I rebuild just modified as with OpenFOAM? If yes, how? Thanks. BastiL |
||
September 1, 2009, 11:48 |
|
#185 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
A safe bet would be to start over from the vanilla 3.6.1 source and re-run CMake from a fresh build directory (It may not be necessary to go through all the steps in reality but that would help pinpointing the causes if you had more problems).
Takuya |
|
September 1, 2009, 12:53 |
|
#186 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Takuya,
thanks this works fine now. |
|
November 24, 2009, 13:44 |
parafoam and pvFoam freezes laptop?
|
#187 |
Member
Pablo Caron
Join Date: Nov 2009
Location: Buenos Aires, Argentina
Posts: 75
Rep Power: 17 |
Hello everybody. Regards from Argentina!
I've used OpenFOAM since January 09. I've ran OF in Ubuntu 8.04, Kubuntu 8.04 without problems. Always desktop machines. By June, I bought a laptop: HP 550, Intel Core 2 Duo 1.8GHz, RAM:4Gb,Video: Intel GME965. I installed an Ubuntu 9.04 64bit, with several known problems with the Intel video driver. So I've waited until Ubuntu 9.10 64bit. At the beginning everything looks fine. But sometimes the system hanged up. I thought the problem was related again with the video driver (almost the last version available) so I installed Opensuse 11.2 64bit last weekend (with the last video driver available). All partitions using ext4. Today my system hanged up again. The difference with previous times is: I know what I have to do to hang up the system. I'll explain the details: Objetive: Read an OpenFOAM mesh. Just the mesh, no results. Apply opacity to the surface. Option 1: Read the mesh using paraFoam. After read the mesh, change to Surface+Solid Color. Apply opacity=0.5. After a few seconds the system freezes. Then the only option is to force shutdown Option 2: Read the mesh using pvFoam. Same results as Option 1. Option 3: export the mesh with foamToVTK and read using paraview. Everything works fine, just a little slow. I'm really confused. Could it be a problem with the reader? I'll appreciate any help. Best regards Pablo |
|
November 25, 2009, 02:45 |
|
#188 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Hi Pablo,
Sorry but have no idea. If you can reproduce with one of the datasets that is included in ParaViewData3.6.zip, you might ask help at the ParaView list. Takuya |
|
November 25, 2009, 09:36 |
Thanks
|
#189 |
Member
Pablo Caron
Join Date: Nov 2009
Location: Buenos Aires, Argentina
Posts: 75
Rep Power: 17 |
Hi Takuya!
Thank you for your quickly response. I'll try to reproduce the problem with the paraview data. Have a nice day! Pablo |
|
January 23, 2010, 11:45 |
|
#190 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Hi,
A version of the reader has been in ParaView 3.7-cvs and VTK 5.5-cvs since 9 Jan 2010. As far as I understand, the commit is still considered tentative as the Kitware developers are setting up a test soon and the reader still has to pass it before everything settles. The version is based on a previous release of r64-20081005 since I had to do some specific works of addressing compilation issues on some ParaView/VTK dashboard platforms. The most notable differences from the current release of r173-20090920 are
Have a nice weekend, Takuya |
|
February 11, 2010, 08:48 |
Thanks and "view patch names"
|
#191 |
Member
Pablo Caron
Join Date: Nov 2009
Location: Buenos Aires, Argentina
Posts: 75
Rep Power: 17 |
Hi Takuya!
I'll give it a try! BTW, is it posible to add the "view patch names" option to the reader? When using the standard reader I can see this option. It's very useful to check the mesh. Regards Pablo |
|
February 11, 2010, 09:39 |
|
#192 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Hi Pablo,
I admit its usefulness, but sorry, currently I have no plan to implement the option because
|
|
February 11, 2010, 10:30 |
|
#193 |
Member
Pablo Caron
Join Date: Nov 2009
Location: Buenos Aires, Argentina
Posts: 75
Rep Power: 17 |
Takuya,
Thanks for your quickly response. I understand the problem. I'll tell you if the problem persist in my laptop. Regards. Pablo |
|
February 16, 2010, 06:00 |
Building and installing the plugins problem
|
#194 |
Senior Member
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16 |
Hi,
I am trying to build the r173-20090920 Reader on Ubuntu 8.1 & 9.04 for paraview3.6.2. But has problem: Follow Step 4.2.2 Building and installing the plugins When ccmake <the top directory of the reader source tree> setting ParaView_DIR = <the directory where ParaView was built> I got an error saying ParaView_DIR can't be found. It asks me to locate a file named ParaViewConfig.cmake. But I can only found one named ParaViewConfig.cmake.in under the folder ParaView3 extracted from the source. Where the this file? Does this Reader need a working paraview to build? Thanks Cean |
|
February 24, 2010, 17:10 |
|
#196 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
Takuya,
Do you think you could add support for surfaceFields on your reader? I'd like to be able to visualize them like say, a pointField, or something similar. I'm hoping that this isn't too much of a problem, because boundaries for volFields are already displayed correctly, and they lie on faces. Thanks |
|
February 25, 2010, 03:57 |
|
#197 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Quote:
The only way I can see representing a surface field as a point field would be to create new points corresponding to the face centroids - but this would be a reader feature entirely. Simply extending the current volFields handling to include surface fields isn't really an option either. The boundaries faces are indeed treated as independent geometric entities in VTK and have their own values, but the internal faces do not exist independently. If internal faces were to be added as independent entities, I would suspect that the best would be a switch in the GUI to handle that. In one position, the reader would handle surface fields, in the other position it would handle volume fields - you would then need two reader instances to display everything. |
||
February 25, 2010, 05:00 |
|
#198 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Hi Sandeep, Mark,
Both you two are quite right -- from pure technical standpoint, adding support for surfaceField should not be that difficult. The problems are what entity we would create in order to represent the surfaceField mesh and fields and what amount of work is required in order to implement the feature, because VTK does not have its own support for face fields. I wonder if creating a point field of face centroids is enough? Or should we create a polygonal mesh that contains all faces? (The latter is what I did in gmshFoam by the way) Takuya |
|
February 25, 2010, 05:36 |
|
#199 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
That is probably the best solution. If you want to avoid having two reader instances, it'd be reasonable easy to use a GUI switch to enable surfaceFields and then place the resulting vtkPolyData on a separate output port.
|
|
February 25, 2010, 07:04 |
|
#200 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Here is what it looks like in the case of gmshFoam, and would look like (sort of) in ParaView when a clip of a polygonal surfaceField mesh is created.
(Surface with edges, emulated by Gmsh with additional element outlines) surfaceWithEdges.png (Wireframe, emulated by Gmsh with Element boudary mode Dimension - 1) wireframe.jpg Note that you will typically see different colors depending on the direction of the faces since the face fluxes quite depends on the direction of the flow. Are these representations look useful? Takuya |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Extract Block with paraview native reader | kandelabr | ParaView | 4 | August 30, 2021 03:28 |
[OpenFOAM] Decomposed multiregion cases in Paraview with native reader | Yann | ParaView | 2 | January 16, 2019 06:48 |
Updated native OpenFOAM reader for ParaView 5.3 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 4 | July 13, 2017 11:14 |
[OpenFOAM] Native VisIt Reader Bugs | tj22 | ParaView | 8 | November 8, 2013 05:21 |
[OpenFOAM] Paraview Windows VTK Reader | trex930 | ParaView | 0 | November 3, 2010 20:31 |