CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

newbie problem with cavity tutorial

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2009, 14:34
Default newbie problem with cavity tutorial
  #1
New Member
 
Michele Mastropietro
Join Date: Aug 2009
Posts: 1
Rep Power: 0
miki is on a distinguished road
Yesterday I installed (I think correctly) OpenFoam and I started with the cavity tutorial to learn how it works. It seems very very interesting.

But I've a problem... Following the tutorial, after typing "blockMesh" it's suggested to open paraFoam and view the mesh.
But I cannot see nothing!
It's said to check some boxes in the Region Status panel. I think now it's called "Mesh Parts" or I'm wrong?
Well, but even checking every boxes and clicking on Apply button, nothing appears.

Even zooming in or out, changing colors... nothing!


The only things that paraview shows are a lot of red small prints overlaying. They are obtained checking "Show patch names": it'a good sign. Paraview is alive.


Maybe the problem is a very simple thing.
I cannot see any cavity mesh in Paraview's window.
I want to unblock myself from this problem to learn to use OpenFoam

What can I do to see the same mesh that is in the tutorial?

Thanks in advance.
Michele
miki is offline   Reply With Quote

Old   August 8, 2009, 14:47
Default
  #2
Senior Member
 
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18
Ahmed is on a distinguished road
1- Did you select the zones to display?
2- Did you change/select the background color and the foreground color

Carefully read the tutorial
Good Luck
Ahmed is offline   Reply With Quote

Old   December 10, 2009, 05:00
Default
  #3
Member
 
Wolfram Kretzschmar
Join Date: Dec 2009
Posts: 71
Rep Power: 16
Wolle is on a distinguished road
Hi all,

it seems I've got the same problem, as miki has. Miki, can you confirm the appearance of ParaView as shown in my screenshots?

For the record: System is a brand new Xubuntu 9.04-32, OpenFOAM installed completely from the binary packages.

When I execute blockMesh and paraFoam, the following window appears. Just to show you, that there simply ISN'T something called "Region Status" (though I've seen it on other screenshots).




Afterwards, changing the "View settings" and what it looks like:



Next I changed the general settings (colors are not my taste, just to figure out)...



As you can see, no changes. Do I chose the whole "Mesh Parts" thing (as I suspect a renaming of the "Region Status" thing), included sets and zones and the patch names:
(By the way: In the tutorials, sometimes they refer to "Vol Field Status", which has obviously also been renamed to "Volume Fields"...)



Still, nothing to see, but the labels (when I chose them seperately, I can read them. They've got the names listed in the Mesh Parts list). So I go on to the Display settings and chose "Wireframe" and "Color By > Solid Color". Sadly, no "Set Solid Color" button (as I've seen in different screenshots) appears.



So from here on, I'm stuck and I think it's the same problem, miki has had encountered. I didn't make any other changes, started with a clean, blank and fresh Linux, installed openFOAM from the binaries and copied the tutorial files. Next steps are all described here.

What am I doing wrong?

Cheers
Wolle

BTW: Clicking "Zoom to data", adjusting/reseting the view etc. doesn't produce any other result. Just for the record: ParaView seems to read the case data though:

Wolle is offline   Reply With Quote

Old   December 10, 2009, 06:14
Default
  #4
Bjw
New Member
 
Björn Westendorf
Join Date: Oct 2009
Location: Stuttgart, Germany
Posts: 9
Rep Power: 16
Bjw is on a distinguished road
ParaFoam may cause problems on some machines. You can try converting your data using

Code:
foamToVTK
and then open the VTK files with paraview.
Bjw is offline   Reply With Quote

Old   December 10, 2009, 09:08
Default
  #5
Member
 
Wolfram Kretzschmar
Join Date: Dec 2009
Posts: 71
Rep Power: 16
Wolle is on a distinguished road
Hi Björn,

thanks for your help. foamToVTK indeed produces a directory named "VTK". When I launch paraview and open VTK/cavity_0.vtk, I can see the mesh.

Unfortunately, the other options at the left (selecting fields or meshes) are gone then.



I guess, I have to load both, old OpenFOAM files and VTK files? How do I use your hint for fluent working?

And another approach: Why is it, that ParaView doesn't like the native OpenFOAM files? Can you give a hint concerning the cause of this effect? Is that maybe related to my installation from binaries and could be solved by compiling all from sources?

Cheers
Wolle
Wolle is offline   Reply With Quote

Old   December 10, 2009, 09:44
Default
  #6
Bjw
New Member
 
Björn Westendorf
Join Date: Oct 2009
Location: Stuttgart, Germany
Posts: 9
Rep Power: 16
Bjw is on a distinguished road
Hi Wolle,

foamToVTK produces VTK files for the internal mesh and one for every patch. You should see an extra directory for every patch in the VTK folder. So you can still choose what you want to import; it's just not as comfortable as with paraFoam.

Unfortunately, I don't know why paraFoam is not working on some machines. In our pool, we see that it's working on machines that run openSUSE 11, but it's not working on SUSE 10. We see this behavior with a self-compiled 1.5.x as well as with a pre-compiled 1.6.

Greetings, Björn
Bjw is offline   Reply With Quote

Old   December 11, 2009, 04:10
Default
  #7
Member
 
Wolfram Kretzschmar
Join Date: Dec 2009
Posts: 71
Rep Power: 16
Wolle is on a distinguished road
Hi all!

I think I found the reason for that behaviour of paraFoam and (what is best) I think I found a solution for this problem, too.

This is, where I found it:
http://energy.tf.itb.ac.id/index.php/lang-en/cfd

So obviously, you simply have to add a line:
Code:
export LC_ALL=C
in the beginning of the paraFoam script in order to suspend your local LOCALES settings, that might cause the conflict within paraFoam.

What I don't know, is whether this is vaild for German users only (as Björn and I seem to be German) or whether it is also a solution for mikis (who doesn't seem to be German, though not English as well) problem... needs further confirmation!

Ciao
Wolle
Wolle is offline   Reply With Quote

Old   September 2, 2012, 11:09
Default
  #8
New Member
 
Steve
Join Date: Sep 2012
Location: Perth, Australia
Posts: 17
Rep Power: 13
greenleader is on a distinguished road
I am having the same problem - mesh won't display. I am using 32-bit Ubuntu 12.04.1 and ParaView 3.12.0. I am a new user of linux and parafoam (1 week!) so I don;t really have any clue where to look - any pointers appreciated. I've gone through this post and tried all the suggestions, including VTK and searched for other threads, but no joy.
greenleader is offline   Reply With Quote

Old   September 2, 2012, 16:22
Default pls help me out...
  #9
New Member
 
Notada
Join Date: Sep 2012
Posts: 1
Rep Power: 0
notavishal is on a distinguished road
Quote:
Originally Posted by Ahmed View Post
1- Did you select the zones to display?
2- Did you change/select the background color and the foreground color

Carefully read the tutorial
Good Luck
sir... am goin to do an cfd analysis on a moderate sized agricultural dryer..
wer in am facing diff to start with... i hav adial fans to enforce forced convection... does ansys 10 help me out???? can i proceed in tat direction.... pls help me out with ur valuable suggestion
notavishal is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent: Unsteady 3-D supersonic cavity flow Min-Sung Kang FLUENT 3 April 6, 2014 10:50
Temporal convergence of cavity problem RAK FLUENT 1 September 15, 2008 20:32
radiation problem for square cavity using fluent john Main CFD Forum 0 September 30, 2005 08:40
Problem with increasing Re no. for cavity flow Quarkz Main CFD Forum 3 July 2, 2005 17:58
CODE FOR THE CAVITY FLOW PROBLEM ricky Main CFD Forum 1 November 8, 2001 12:21


All times are GMT -4. The time now is 05:43.