|
[Sponsors] |
[OpenFOAM] ParaView can't find OpenFOAM files |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 23, 2014, 08:40 |
ParaView can't find OpenFOAM files
|
#1 |
New Member
John
Join Date: Feb 2014
Posts: 7
Rep Power: 12 |
I have been following the tutorial to get me started with OpenFOAM. (I am running v1.5 on Windows). I have followed the instructions on the 'cavity' case and the folders '0' to '5' have been created. I have created an empty file called 'cavity.OpenFOAM' in the 'cavity' folder. When I run ParaView it shows only the folders, no files, and clicking on a folder simply expands it but does not open anything.
What should I do to get ParaView to recognise the files created by OpenFOAM? Thanks, John. |
|
March 23, 2014, 12:52 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: http://www.cfd-online.com/Forums/ope...ndows-7-a.html
|
|
March 25, 2014, 13:41 |
|
#3 |
New Member
John
Join Date: Feb 2014
Posts: 7
Rep Power: 12 |
I am running Windows XP. I have created an empty file called cavity.OpenFOAM - ParaView does not recognise it. I don't know whether this is relevant but the files created by OpenFoam do not have extensions.
|
|
March 26, 2014, 17:24 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Seriously? You didn't even bother reading the thread? It's Windows!!! It's the same thing (just to not say some other more demeaning word about it), no matter which version it is
I was hoping you would check the thread just in case and notice this post of mine: The detail is really simple: Use the file extension ".foam" and not ".OpenFOAM" |
|
March 30, 2014, 05:17 |
|
#5 |
New Member
John
Join Date: Feb 2014
Posts: 7
Rep Power: 12 |
Thanks for the reply. Being a newbie I didn't know whether the version of Windows would matter, so I thought it best to be accurate. I was following the tutorial, which said to use the extension .OpenFOAM. I have read the threads but since I did not know that the problem was with the extension I must have overlooked your comment.
However, I have now changed the extension to .foam and I have found that it makes absolutely no difference at all - ParaView still does not show any files of any description. I'm sure that I have got something very basic wrong but I have checked what I am doing against the tutorial and I can't see what I am doing wrong. Is it right that the files created by OpenFOAM do not have extensions? Thanks, John. |
|
March 30, 2014, 05:30 |
|
#6 |
New Member
John
Join Date: Feb 2014
Posts: 7
Rep Power: 12 |
I've made a step sideways. When opening a file in ParaView, the type of file is named as ParaView Files (with a long list of extensions), which I thought was reasonable. The tutorial does not mention selecting the file type so I had not changed it. However, I have found that there is a file type for OpenFoam files (extension .foam). Success! Now it finds my file. So I opened it and Paraview crashed with the message: 'This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.'
Any suggestions? John. |
|
March 30, 2014, 09:16 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings John,
My first suggestion is to use a more recent port of OpenFOAM for Windows, such as blueCFD-SingleCore (disclaimer: I'm the guy responsible for it). You can find other ports of OpenFOAM for Windows here: http://openfoamwiki.net/index.php/Installation/Windows The second suggestion is to install ParaView 3.12.0 or 4.1.0. The third suggestion is to run the first "cavity" tutorial like this: Code:
blockMesh icoFoam paraFoam If you're unable to configure ParaView to be used with blueCFD-SingleCore, read this thread: http://www.cfd-online.com/Forums/ope...ease-help.html Best regards, Bruno
__________________
|
|
March 30, 2014, 12:50 |
|
#8 |
New Member
John
Join Date: Feb 2014
Posts: 7
Rep Power: 12 |
Bruno,
Thank you for the suggestions. I'll have a go with them over the next week or so and I'll let you know. Much appreciated, John. |
|
April 5, 2014, 07:26 |
|
#9 |
New Member
John
Join Date: Feb 2014
Posts: 7
Rep Power: 12 |
Hi Wyldckat,
I ran the applications as you suggested, but paraFoam does not exist under Windows, so that did not help. I have downloaded ParaView 4.1.0. It's not the same as the previous one so the tutorial could not be followed exactly, but I managed. It recognised the files and loaded them. I finally got a plot of pressure, but it was wrong; the range was 0 to 10^-16, which is way too small and nothing like what's in the files generated by OpenFoam. It appears that OpenFoam is OK, so I won't be downloading a replacement. However, something appears to be wrong with ParaView. Any ideas what I can do? Thanks, John. |
|
April 5, 2014, 12:16 |
|
#10 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi John,
Create a file named "paraFoam.bat" inside the folder "OpenFOAM-*\bin" with this content (adapt to your needs): Code:
set PATH=%PATH%;C:\Program Files\ParaView 3.12.0\bin echo.>case.foam start paraview.exe --data="case.foam" Essentially, you should be looking for the rescale button: http://paraview.org/OnlineHelpCurrent/Display.html Best regards, Bruno
__________________
|
|
April 6, 2014, 14:00 |
|
#11 |
New Member
John
Join Date: Feb 2014
Posts: 7
Rep Power: 12 |
Dear Bruno,
Thank you for the pointer to the Rescale button. You are quite right, I have not rad the manual for ParaView yet. I was trying to following the tutorial as I though that was the best way to get to grip with the way everything works. However, I can't even get that to work. Maybe reading the manual would be a better way to get started. The reference you sent describes what ParaView 3.12.0 does, in that it has a tab for the display settings. However, Paraview 4.1.0 does not have this tab but it does have a 'display' panel under the 'properties' tab, in which there is a 'rescale' button. I've clicked it but nothing happens - the scale still shows the pressure as going from 0 to 10^-16. Just to make it worse, today the velocity display is wrong too. I'll keep trying. John. |
|
January 8, 2015, 16:00 |
|
#12 | |
New Member
Join Date: Jan 2015
Posts: 2
Rep Power: 0 |
I met the same problem. I followed the steps exactly as told in the tutorial, but the pressure calculated is 0. Did you figured out what's wrong?
-------------------------- I have blueCFD-core-2.3 installed, and I followed exactly as told in the user guide. And I clicked the rescale button. Still, the pressure is 0 everywhere. Did anyone actually test the tutorial using a windows 8 system? I found the U file in the 'cavity' tutorial is totally different from the one shown in the User Guide for openFOAM, is this the reason why I get a 0 pressure other than the result shown in the User Guide? Quote:
Last edited by wyldckat; January 8, 2015 at 16:33. Reason: merge consecutive posts, posted a few minutes apart |
||
January 8, 2015, 16:41 |
|
#13 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings cfdnewbie001 and welcome to the forum!
Uhm... if you're using blueCFD-Core 2.3, you could have sent me an email to my work email, since I'm the one responsible for blueCFD-Core Although I guess that it was more likely that I would answer here on the forum at this hour... Either way, attached are two images:
In particular, you might find useful the following wiki pages:
Bruno
__________________
|
|
January 8, 2015, 18:36 |
|
#14 | |
New Member
Join Date: Jan 2015
Posts: 2
Rep Power: 0 |
Thank you wyldckat! Problem solved. Oh well as I can blame the User Guide for not pointing out the time step set up, I should probably pay more attention to the user interface myself.
Quote:
|
||
Tags |
paraview, tutorial |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Trouble opening OpenFOAM files in ParaView | EvanClaes | ParaView | 2 | May 22, 2018 05:06 |
[OpenFOAM.com] v1706 on Windows+Docker: Can't find the files | Atomic_Sheep | OpenFOAM Installation | 6 | September 21, 2017 09:18 |
[OpenFOAM.org] Two different versions of ParaView with same OpenFOAM release | FJSJ | OpenFOAM Installation | 2 | July 23, 2017 06:48 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 22:41 |
OpenFOAM Debian packaging current status problems and TODOs | oseen | OpenFOAM Installation | 9 | August 26, 2007 14:50 |