|
[Sponsors] |
[OpenFOAM] Color display problem to view OpenFOAM results. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 1, 2013, 19:44 |
Color display problem to view OpenFOAM results.
|
#1 |
Member
Sangeeta
Join Date: Jul 2012
Location: Kingston, Canada
Posts: 70
Rep Power: 14 |
Hello everyone,
I am doing OpenFOAM simulations for a microstructure geometry. After getting converged solutions when I used foamToVTK -latestTime. Geometry is not showing different colour distribution after viewing VTK file in paraview. As it can be seen in the attachment that colour bar is showing different colours with respected values but the geometry is showing only one colour everywhere. Does anyone have any idea why this problem is coming? How can I get rid of this problem? Best regards, Sangeeta |
|
May 2, 2013, 08:06 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Sangeeta,
There are at least two possibilities:
Best regards, Bruno
__________________
|
|
May 2, 2013, 16:20 |
|
#3 |
Member
Sangeeta
Join Date: Jul 2012
Location: Kingston, Canada
Posts: 70
Rep Power: 14 |
Hi Bruno,
Thank you so much for the reply. Yes, values are too low in my case. As you suggested, I have tried to solve the problem by using Transform filter. But when I am using Transform filter my computer is getting stop. I do not know if there is some problem with paraview or something else with my computer. Similar thing happens when I use slice filter. My computer suddenly stops when I use these filters. Have you encountered this problem? Please let me know if you have any suggestion to get rid of this issue. Best regards, Sangeeta |
|
May 2, 2013, 16:28 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Sangeeta,
It's possible that ParaView is crashing due to a problem with the graphics card drivers. So a few questions:
Bruno
__________________
|
|
May 2, 2013, 17:11 |
|
#5 |
Member
Sangeeta
Join Date: Jul 2012
Location: Kingston, Canada
Posts: 70
Rep Power: 14 |
Hi Bruno,
Thank you so very much for the quick reply! 1. I am using Ubuntu 10.04 version in my laptop. 2. I have 50-50% partition of Windows and Linux in my machine. 3. I am using paraview381 which which has come with OpenFOAM171 version during installation. My laptop suddenly stops running specially when I used some filters (as I mentioned in previous message). This problem is going for a long time but I was guessing this might be because of partition in my laptop. I appreciate if you have suggestions to overcome this problem. Best regards, Sangeeta |
|
May 2, 2013, 17:38 |
|
#6 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Sangeeta,
OK, try following this tutorial for installing the graphics card drivers: http://www.howtogeek.com/howto/17495...-ubuntu-10.04/ - starting from this paragraph: Quote:
Best regards, Bruno
__________________
|
||
May 3, 2013, 14:42 |
|
#7 |
Member
Sangeeta
Join Date: Jul 2012
Location: Kingston, Canada
Posts: 70
Rep Power: 14 |
Hi Bruno,
Thank you for the valuable suggestions. I did click System, then Administration, and select Hardware Drivers and does not show NVidia in my machine (please see in the first attachment). Then I tried to install this driver through System->Administration->Synaptic Package Manager, here as you could see in the second attachment that it is showing several versions of NVidia. Could you please let me know which version I should install to get rid of the paraview problem? Thanks, Sangeeta |
|
May 3, 2013, 15:09 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
First check which NVidia card you've got:
Code:
lspci | grep -i nvidia
__________________
|
|
May 3, 2013, 15:29 |
|
#9 |
Member
Sangeeta
Join Date: Jul 2012
Location: Kingston, Canada
Posts: 70
Rep Power: 14 |
Hi Bruno,
As you suggested I have used command in the terminal window. lspci | grep -i nvidia It is showing nothing or no information when I entered (please see the attachment). |
|
May 3, 2013, 15:54 |
|
#10 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Sangeeta,
Then it looks like the kernel is not identifying your NVidia card. Try the following commands to see if you have any other major graphics card maker: Code:
lspci | grep -i ATI lspci | grep -i Intel Code:
lspci | grep VGA Bruno PS: In case it is an NVidia card, see this thread: http://ubuntuforums.org/showthread.p...3#post11307903
__________________
Last edited by wyldckat; May 3, 2013 at 15:56. Reason: see "PS:" |
|
May 3, 2013, 17:50 |
|
#11 |
Member
Sangeeta
Join Date: Jul 2012
Location: Kingston, Canada
Posts: 70
Rep Power: 14 |
Hi Bruno,
Following information is coming when I am using the commands you suggested: sangeeta@sangeeta-laptop:~$ lspci | grep -i ATI 00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02) 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06) 00:19.0 Ethernet controller: Intel Corporation 82577LC Gigabit Network Connection (rev 06) 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06) 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06) 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06) 00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 06) 00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06) 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6) 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06) 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 06) 00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06) 02:00.0 Network controller: Broadcom Corporation Device 4727 (rev 01) ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02) ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02) ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02) ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02) ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02) ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02) sangeeta@sangeeta-laptop:~$ lspci | grep -i Intel 00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02) 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06) 00:19.0 Ethernet controller: Intel Corporation 82577LC Gigabit Network Connection (rev 06) 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06) 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06) 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06) 00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 06) 00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06) 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6) 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06) 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 06) 00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06) ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02) ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02) ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02) ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02) ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02) ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02) sangeeta@sangeeta-laptop:~$ lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) |
|
May 3, 2013, 18:23 |
|
#12 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Sangeeta,
OK, it's an Intel GPU you've got there. I've helped someone sometime ago on how to install the latest drivers for Intel: Quote:
Best regards, Bruno
__________________
|
||
May 3, 2013, 22:56 |
|
#13 |
Member
Sangeeta
Join Date: Jul 2012
Location: Kingston, Canada
Posts: 70
Rep Power: 14 |
Hi Bruno,
I used run the two commands in terminal as you mentioned your message.
Does it happening because I installed paraview381 with OpenFOAM171? What do you think? Best regards, Sangeeta |
|
May 4, 2013, 07:47 |
|
#14 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Sangeeta,
This problem also use to happen to some people back when OpenFOAM 1.7.1 was released, as I had pointed out in a previous thread link. OK, let's try this:
Bruno
__________________
|
|
May 7, 2013, 12:39 |
|
#15 |
Member
Sangeeta
Join Date: Jul 2012
Location: Kingston, Canada
Posts: 70
Rep Power: 14 |
Hi Bruno,
I am sorry for the late reply. I have removed paraview3.8.1 from my machine and was trying to install it again as you mentioned in the Using the official pre-built ParaView 3.10.1 version with OpenFOAM - post. When I was using step 3 mentioned in the above post Now run: Code: cd $HOME/OpenFOAM mkdir -p $ParaView_DIR following information is coming in my machine: mkdir: cannot create directory `/opt/paraviewopenfoam381': Permission denied I have run step 4 successfully and untar the paraview3.8.1 folder. but when I used paraview command in my machine it says: The program 'paraview' is currently not installed. You can install it by typing: sudo apt-get install paraview Do I need to reinstall OpenFOAM in my machine? Best regards, Sangeeta |
|
May 7, 2013, 18:28 |
|
#16 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Sangeeta,
Sorry, I should have provided an easier set of instructions to follow. The ones I gave you were under the assumption that you had some more experience with Linux. And there is no need to re-install OpenFOAM OK, here are some much easier instructions:
Code:
alias paraFoam='touch case.foam && paraview3981 --data=case.foam' Bruno
__________________
|
||
May 11, 2013, 01:10 |
|
#17 |
Member
Sangeeta
Join Date: Jul 2012
Location: Kingston, Canada
Posts: 70
Rep Power: 14 |
Hi Bruno,
Thanks a lot for your suggestions! I have tried all the ways as you suggested. Latter I found that I can be able to make slice for simple geometries (e.s. solid cube) in my machine but not with complicated geometries (e.g. two phase structure). I think this is some other problem related to the memory of my machine. I checked mesh of complicated geometry and it is fine even I can able to do slicing of complicated geometry from another machine. I would like to thank you once again for your help! Best regards, Sangeeta |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
k and omega at inlet for k-omega SST | driu | OpenFOAM Running, Solving & CFD | 10 | March 5, 2021 11:48 |
Evaluating view factors in OpenFoam 5.0 | fracasce | OpenFOAM Running, Solving & CFD | 1 | September 27, 2017 13:34 |
Very small Matlab job: post-processing OpenFOAM (.CSV) results | RbBb | CFD Freelancers | 1 | July 11, 2016 10:00 |
CAD -> gMsh -> enGrid -> OpenFOAM Problem | AlGates | OpenFOAM | 7 | August 6, 2010 13:46 |
OpenFOAM Install problem | masb | OpenFOAM | 3 | May 25, 2009 12:32 |