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

A question on the first tutorial example bcavityb

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 21, 2008, 17:45
Default Hi all: I just installed Open
  #1
New Member
 
Yu
Join Date: Mar 2009
Location: USA
Posts: 11
Rep Power: 17
athlonshi is on a distinguished road
Hi all:
I just installed OpenFOAM 1.5 successfully and was able to run the first tutorial 'cavity' up to post-processing.
The problem that I encountered was that the blockMesh program worked fine and so did the icoFOAM, but I didn't find any case file which was supposed to be 'cavity.foam' in that folder or even other places that I searched. I was wondering where the result file was located and is it possible that I messed up the system path which might cause this problem? Thanks.
Yu
athlonshi is offline   Reply With Quote

Old   October 22, 2008, 03:46
Default Hi Yu, Try running the case
  #2
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hi Yu,

Try running the case in ParaView from the command line, i.e. go to the cavity directory and type "paraFoam". Or. I think, the 1.4.1 version of that should also still work: go to the directory where cavity lives and type "paraFoam . cavity".

Regards,

Gijs
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   October 22, 2008, 03:47
Default Hi Yu, as far as I know and
  #3
Senior Member
 
Markus Rehm
Join Date: Mar 2009
Location: Erlangen (Germany)
Posts: 184
Rep Power: 17
markusrehm is on a distinguished road
Hi Yu,

as far as I know and interpret your posting you mean the cavity.OpenFOAM mentioned in UG 2.1.2. This is automatically generated when you start paraFOAM and you will not really need it.


Regards and a lot of fun with OF, Markus.
markusrehm is offline   Reply With Quote

Old   October 22, 2008, 10:12
Default Thanks, Gijs and Markus! I fo
  #4
New Member
 
Yu
Join Date: Mar 2009
Location: USA
Posts: 11
Rep Power: 17
athlonshi is on a distinguished road
Thanks, Gijs and Markus!
I followed the UG2.1.2 but received the following message
*************************************************
ERROR: In ~/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.cxx, line 148
vtkPVDReader (0x9840d58): Could not read file information


ERROR: In ~/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx, line 757
vtkCompositeDataPipeline (0x90fca48): Algorithm vtkPVDReader(0x9840d58) returned failure for request: vtkInformation (0x97d6760)
Debug: Off
Modified Time: 80913
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA_OBJECT
FORWARD_DIRECTION: 0
ALGORITHM_AFTER_FORWARD: 1

ERROR: In ~/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Common/vtkPVDataInformation.cxx, line 493
vtkPVDataInformation (0x98516d8): Could not cast object to a known data set: vtkAlgorithmOutput
**************************************************
It seems to me that the ParaView cannot found the data file somehow.

Then I tried to convert the results to VTK format using FormTOVTK, and it worked. Still, I am interested what I was wrong when I followed the UG or there might be some problems when I installed it. Thanks again.
Yu
athlonshi is offline   Reply With Quote

Old   October 22, 2008, 13:19
Default Hi Yu, It seems you have th
  #5
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hi Yu,

It seems you have the same proble I had when I tried to install OpenFOAM-1.5 with ParaViwe3.3. It is mentioned in section 7 in the OpenFOAM-1.5 README file, you probably need to rebuild ParaView and make sure you have Qt-4.3.x (and also you may need some openGL headers, as Bernhard Gschaider mentions in this thread). This and this thread deal with the same or similar issue. I have not had enough time yet to fix it, but if I will I will let you know. For now, if you work it out, please post it. Thanks in advance.

Cheers, Gijs
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   October 22, 2008, 22:47
Default Hi,Gijs: The platform folder
  #6
New Member
 
Yu
Join Date: Mar 2009
Location: USA
Posts: 11
Rep Power: 17
athlonshi is on a distinguished road
Hi,Gijs:
The platform folder has been deleted though took a long time. However, when i failed to rebuild the paraview using buildParaView3.3-cvs
After passing all checks, it left me
"make: *** No targets specified and no makefile found. Stop."

I think I need to contact our system administrator to see what to do next. Thanks.
athlonshi is offline   Reply With Quote

Old   October 23, 2008, 03:38
Default Hi Yu, I had a similar prob
  #7
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hi Yu,

I had a similar problem, haven't solved it yet though. I will let you know if I get it to work.

Rgds,

Gijs
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   October 23, 2008, 12:28
Default Gijs: Our system administrato
  #8
New Member
 
Yu
Join Date: Mar 2009
Location: USA
Posts: 11
Rep Power: 17
athlonshi is on a distinguished road
Gijs:
Our system administrator helped me to install the OpenFOAM on our server and I have successfully run a few tutorial cases. According to him, it is not necessary to rebuild the paraview. And the problem that we have encountered are most likely due to a wrong path specified. Thanks.
Good luck!
Yu
athlonshi is offline   Reply With Quote

Reply


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
A question about horizontal film boiling tutorial? Asghari FLUENT 3 September 23, 2016 14:18
[OpenFOAM] Question about the kivaTest tutorial johan ParaView 1 October 27, 2008 08:07
Question for COSMOS FLOWORKS Tutorial Charpter 2 OPticdesigner Main CFD Forum 2 January 8, 2006 23:27
Tutorial bCavityb case problem wells OpenFOAM Installation 2 March 21, 2005 08:55
natural convection tutorial question Cynthia Campbell FLUENT 2 June 29, 2001 20:09


All times are GMT -4. The time now is 16:55.