|
[Sponsors] |
[OpenFOAM] Mesh display Errors using ParaView/works with VTK |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 28, 2013, 04:49 |
Mesh display Errors using ParaView/works with VTK
|
#1 |
New Member
Lutz Goedeke
Join Date: May 2013
Location: Dortmund/Germany
Posts: 6
Rep Power: 13 |
Hello guys.
This morning i noticed some weird 'errors' while using ParaView. The same mesh that has been displayed without any Errors the last weeks now looks awfully distorted. After running foamToVTK i am able to look at the results and my mesh. Any ideas why this happens? CheckMesh looks fine as well and my Simulations do work properly on the mesh. I added some Screenshots from paraView, the properly displayed mesh is the VTK Data Set. I am using ParaView 3.8.0 CheckMesh.txt Mesh1.jpg Geo1.jpg Geo2.jpg Geo3.jpg |
|
June 9, 2013, 16:20 |
|
#2 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 |
Greetings Lutz and welcome to the forum!
I suspect I know what the problem is and I'll quote myself from a bug report I commented on sometime ago: http://www.openfoam.org/mantisbt/view.php?id=746#c1922 Quote:
... although, I've only now looked at the checkMesh output file and the sizes don't seem to be all that bad or far away from the origin. On ParaView, in the "Information" tab, what does the "Bounds" group box say about the limits of the mesh? Are they the same as in the checkMesh output? Quote:
Bruno
__________________
|
|||
June 11, 2013, 02:56 |
|
#3 |
New Member
Lutz Goedeke
Join Date: May 2013
Location: Dortmund/Germany
Posts: 6
Rep Power: 13 |
Hi Bruno, thanks a lot for the kind words and even more for your answer.
I have been a long time lurker non-poster until now as i usually found what i needed to improve but didn't feel like i could contribute much by now. paraView -> Information -> Bounds: X Range: -4 to 5 (Delta: 9) Y Range: -10 to 1 (Delta: 11) Z Range: -9 to 9 (Delta: 18) These are the outlines of the distorted Mesh displayed in paraView. The Mesh itself seems to be fine, as OpenFOAM works fine and the results that can be viewed in VTK form are as expected. The one thing that baffles me the most is that there has no changes been made neither at the Linux i am using nor with any of the Lib.-Files or paraView and still something changed. So the problem is based on paraView and as it seems that it only affects my user specific installation. There seem to be no errors on another account using the same Data from my case. I hope that i can solve this, as i am fairly new to both Linux and OpenFoam/paraView and have no ideas how to track down the specific reasons for this. Best Regards, Lutz. |
|
June 15, 2013, 07:32 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 |
Hi Lutz,
Quote:
The quick fix is to remove the file "ParaView*.ini" at the folder "$HOME/.config/ParaView/", where the "*" relates to the version of the ParaView you've been using. For example, the following command should delete the configuration file for ParaView 3.12.0: Code:
rm $HOME/.config/ParaView/ParaView3.12.0.ini Then start ParaView once again and everything should be OK once again. Best regards, Bruno
__________________
|
||
June 25, 2013, 06:10 |
|
#5 | |
New Member
Lutz Goedeke
Join Date: May 2013
Location: Dortmund/Germany
Posts: 6
Rep Power: 13 |
Quote:
Hi Bruno, thanks for your efforts. Removing the ParaView.ini did not help fixing the problem. I know somethin has been resetted because the colour schemes i used are the default ones again but the display error still appear. I am using the VTK data format right now because i can not invest a lot of time in tracking down the error as it is client based and therefore not important for other people working with the data i provide. Still i am open to try any new ideas on how to fix this. Thanks a lot for your input so far. Regards, Lutz. |
||
June 25, 2013, 17:10 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 |
Hi Lutz,
I think now I know what it is. It's possibly a conflict of "." vs ",", namely "1.0" vs "1,0". Try these commands from within your case folder: Code:
export LC_ALL=C paraFoam Best regards, Bruno
__________________
|
|
June 26, 2013, 08:39 |
|
#7 |
New Member
Lutz Goedeke
Join Date: May 2013
Location: Dortmund/Germany
Posts: 6
Rep Power: 13 |
Awesome, this works.
Do you have any ideas what the origin of this error is? I don't mind to run the EXPORT command every time, though i wonder why this error actually appears, as nothing has been updated or changed on the computer i use (at least as far as i know). Thanks for your help so far, i appreciate that a lot. If you have any further ideas how to track down the error, let me know and i will try to fix it for future questions about this topic. Regards, Lutz. |
|
June 27, 2013, 16:58 |
|
#8 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 |
Hi Lutz,
I guess you didn't read the thread I told you about: Quote:
My guess is that there was a specific fix for Germany in Ubuntu 13.04, that switched your system language's decimal separator from "." to "," ... apparently because the correct decimal separator in Germany is the comma and not the dot? Anyway, there are a few ways you can make this permanent and you only need one :
Best regards, Bruno
__________________
|
||
July 9, 2013, 04:39 |
|
#9 | |
New Member
Lutz Goedeke
Join Date: May 2013
Location: Dortmund/Germany
Posts: 6
Rep Power: 13 |
Quote:
Adding the line you posted works fine for the global installation. Thank you again for the help. I am still learning a lot as i am still very unfamiliar with Ubuntu. Regards, Lutz. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
courant number increases to rather large values | 6863523 | OpenFOAM Running, Solving & CFD | 22 | July 5, 2023 23:48 |
Star CCM Overset Mesh Error (Rotating Turbine) | thezack | Siemens | 7 | October 12, 2016 11:14 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 02:50 |
Help for the small implementation in turbulence model | shipman | OpenFOAM Programming & Development | 25 | March 19, 2014 10:08 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |