|
[Sponsors] |
[OpenFOAM] paraFoam does not show results of Cavity tutorial |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 14, 2010, 12:07 |
paraFoam does not show results of Cavity tutorial
|
#1 |
New Member
Josef
Join Date: Jul 2010
Posts: 2
Rep Power: 0 |
I have just installed openFoam with ParaView 3.8.0 on Ubuntu
I did this by exactly going throw all steps of http://www.openfoam.com/download/ubuntu.php As written at this side a started the cavity example. Everything working well. But after starting paraFoam I am not able to visualize anything. In the Pipline Browser I see - in black letters - "cavity.OpenFOAM". Also after turning beside "eye" on and selecting the green "Apply" button i can not see anything. I also tried "Upsate GUI", Mesh Parts,... but without success. Can anyone help me ? |
|
July 14, 2010, 12:52 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Josef and welcome to the forum!
In what language is your Ubuntu working? If it isn't working in English, then try running this before paraFoam: Code:
export LC_ALL=C Code:
gksu gedit /opt/openfoam170/bin/paraFoam Save, close and try to run paraFoam again. Best regards, Bruno
__________________
|
|
July 14, 2010, 13:14 |
|
#3 |
New Member
Josef
Join Date: Jul 2010
Posts: 2
Rep Power: 0 |
Thank you for your welcome.
Your tip solved the problem immediately. Josef |
|
July 31, 2010, 09:05 |
|
#4 |
New Member
Luiz Eduardo
Join Date: May 2010
Posts: 19
Rep Power: 16 |
Ola Bruno!
Hope you can help me as well. I am trying to run paraview in ubuntu 10.04 guest with VirtualBox 3.2.6, but I am having problems. What is happening is that after enabling the 3D accelaration I am having this message in the terminal when I try to run paraview: "OpenGL Warning: No pincher, please call crStateSetCurrentPointers() in your SPU ERROR: In /home/opencfd/OpenFOAM/ThirdParty-1.7.0/ParaView-3.8.0/VTK/Rendering/vtkOpenGLExtensionManager.cxx, line 358 vtkOpenGLExtensionManager (0x91d7e60): Extension GL_VERSION_1_5 could not be loaded" Then paraview opens but the darkblue screem stays in the same place when I move the program window and it stays in front of everything else. For instance if I click on "Open" to open a file, the new window stays behind the darkblue screem (geometry, mesh, etc display). the cavity tutorial seems to work fine. I have no idea how to solve this. I have installed the guest additions successfully previously. Muito Obrigado!!! |
|
July 31, 2010, 14:52 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Olá Luiz and welcome to the forum
that's a bad idea turning on 3D acceleration in VMs... at least by my experience. But I haven't tried VirtualBox, so maybe their 3D acceleration system might work properly. Anyway, the problem you're having with ParaView is the same as some other users have reported when they install the drivers for their graphics card! I've answered about this before on this thread: http://www.cfd-online.com/Forums/ope...tml#post267127 post #6 You can also try following my instructions to install the official pre-built ParaView 3.8.0: Using the official pre-built ParaView 3.8.0 version with OpenFOAM... Or you can try rebuilding ParaView 3.8.0, by following the official instructions in OpenFOAM's website. Best regards, Bruno
__________________
|
|
July 31, 2010, 17:51 |
|
#6 |
New Member
Luiz Eduardo
Join Date: May 2010
Posts: 19
Rep Power: 16 |
Bruno muito obrigado pela resposta!
I've disabled the 3D acceleration and rebuilt paraview. It seems to be working well at least for the cavity case. Another error I was having before is not happening now. Thank you again! Luiz Eduardo |
|
February 26, 2011, 16:42 |
I cannot plot the 2D field for the cavity example with Paraview
|
#7 |
New Member
Francesca
Join Date: Feb 2011
Posts: 10
Rep Power: 14 |
Hi there, so I'm fresh with paraview..I've tried to run the cavity example and I taped the instructions icoFoam and paraFoam. When I launched paraFoam, Paraview started so I was able to visualize a block and the mesh but not the 2D field. I read in the manual that I should load the 0.5 time data but I cannot find anything when I go to open the file..So, what should I do to view the 2D field that is reported in the on-line manual? Please give me your help
Francesca Last edited by Francesca Scaramuzzino; February 26, 2011 at 17:45. |
|
February 27, 2011, 09:32 |
|
#8 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Francesca and welcome to the forum!
It's simple:
Bruno
__________________
Last edited by wyldckat; February 27, 2011 at 09:34. Reason: fixed typo... |
||
February 27, 2011, 14:29 |
|
#9 |
New Member
Francesca
Join Date: Feb 2011
Posts: 10
Rep Power: 14 |
Bruno thanks a lot...my problem was the set of the time..I thought I should open a file, while it was the simple setting of 0.5 in the time box...then the problem was the colour scale, because I've the new version (blue to red)...anyway at the moment I fixed the problem...but I think I'll ask to you a lot of things in the future..so "be prepared" !
Thanksthanksthanks Francesca |
|
February 27, 2011, 19:09 |
|
#10 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Francesca,
Quote:
Best regards, Bruno
__________________
|
||
March 7, 2011, 11:30 |
|
#11 |
New Member
Francesca
Join Date: Feb 2011
Posts: 10
Rep Power: 14 |
Hi Bruno,
so I'd like to ask to u help about the format for paraview. I have output files that I opened with tecplot (these files are "var" files) that contains for many zones of the computational domain the informations about thermodynamics variables like temperature, pressure etc..Now, I'd like to open these files in paraview, to do this I should convert the var files into vtk files, I guess. So, what should I do to achieve that? Best regards Francesca |
|
March 7, 2011, 17:30 |
|
#12 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Francesca,
I've never used Tecplot. All I know about Tecplot is that there is an executable in OpenFOAM named "foamToTecplot360" that can convert OpenFOAM data to Tecplot's format. So my best guess would be to visualize both results in Tecplot, instead of trying to visualize both in ParaView. Nonetheless, the easiest thing next to that would be to see what formats Tecplot exports to and which ParaView can read. Failing that, then search this forum for "tecplot" and find out which user is working for Tecplot's company, because I vaguely remember someone responded on their behalf a few months ago. Best regards, Bruno
__________________
|
|
March 30, 2011, 10:04 |
x-y plot in paraview
|
#13 |
New Member
Francesca
Join Date: Feb 2011
Posts: 10
Rep Power: 14 |
Hi Bruno,
I need of your help. I should draw an x-y graph in paraview, where the x axis is the time. Now I've tried with filters, alphabetical and plot over line but obviously I see a constant line because on the x axis it doesn't show the time. How can I plot for example the velocity vs the time on a graph in paraview? |
|
March 30, 2011, 20:32 |
|
#14 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Francesca,
Uhm, I didn't know either, but after searching in google for: Code:
site:cfd-online.com plot time I haven't tried it yet, so I can only assume it should work Best regards and good luck! Bruno PS: I've hit the 1000 posts barrier!
__________________
|
|
April 3, 2011, 11:06 |
|
#15 |
New Member
Francesca
Join Date: Feb 2011
Posts: 10
Rep Power: 14 |
Hi Bruno,
it doesn't work. Listen, I'm trying to do that with the tutorial in the combustion directory, combustion/ras/counterflowflame2D. So, could you try to use the same instructions you post to me and see if, for example, you can visualize the behaviour of the axial velocity vs the time? Sorry because I know I'm bothering you! Best regards Francesca |
|
April 3, 2011, 12:09 |
|
#16 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Franscesca,
I played around a bit with the filters but I don't think I found the right solution. Basically I:
Like I said, I didn't know and basically I still don't know how to solve your problem. But if you use the search tools to search here in the forum, you should find the solution. Best regards and good luck! Bruno
__________________
|
|
March 6, 2015, 10:31 |
export LC_ALL=C file empty and not possible to be saved
|
#17 | |
New Member
Andres Salazar
Join Date: Mar 2015
Posts: 1
Rep Power: 0 |
Hello,
I followed the advice of Bruno to the question of Josef (paraFoam does not show results of Cavity tutorial) as I was having the same issue. So I ran: export LC_ALL=C Quote:
|
||
March 8, 2015, 09:40 |
|
#18 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Andres and welcome to the forum!
Quote:
Best regards, Bruno
__________________
|
||
June 10, 2015, 00:00 |
Problem with Cavity Tutorial in paraFoam
|
#19 |
Member
Michu
Join Date: Jun 2015
Location: PA, USA
Posts: 32
Rep Power: 0 |
Hello All,
I am new to OpenFoam and was also trying to complete the cavity tutorial. It all seemed to work, but when I opened ParaFoam, at time t=0, it had one image then at time =0.1 it had another, but then t=0.2 it had the same image as t=0.1 and so on until it ended. I then extended the time to ten seconds and again at t=0 it had one image then at t=0.1, 0.2, 0.3....10.0 seconds it had the other image (image did not change between the second part). So in the end I only had two images in paraFoam. I thought Parafoam should keep changing the image each time interval to reflect the environment as it changes due to the flow. The image shows the velocity component U. Can someone help me with this issue, I would greatly appreciate it? The programs I am using: Oracle VM Virtual Box Ubuntu-14.04.2 Openfoam240 Paraviewopenfoam410 PS I am also new to this forum, sorry if I am incorrectly doing something. |
|
June 12, 2015, 19:03 |
|
#20 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Michu and welcome to the forum!
If you could have provided screenshots of what you were seeing, it would have been easier to diagnose the problem. Since you did not, the most efficient answer I can think of is that you take a look at the YouTube tutorials provided here: http://openfoamwiki.net/index.php/Tu...VideoTutorials Best regards, Bruno
__________________
|
|
Tags |
cavity problem, parafoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Refresh Times does not seem to work (Cavity tutorial) | MBttR | ParaView | 2 | June 7, 2016 09:53 |
[OpenFOAM] icoFsiElasticNonLinULSolidFoam (foam-extend 3.1)>>How to see results with paraFoam? | steven123 | ParaView | 7 | December 5, 2015 03:34 |
[OpenFOAM] Open Sample results using paraFoam | lpashwin | ParaView | 0 | June 24, 2015 12:04 |
[OpenFOAM] Trouble running paraFoam in cavity tutorial | sweisenb | ParaView | 2 | October 10, 2014 16:56 |
Viscositymodel tutorial, problems when changing test case to cavity | sur4j | OpenFOAM Programming & Development | 1 | December 8, 2013 10:53 |