CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Problems of postprocessing of icoStructFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 7, 2008, 18:13
Default Problems of postprocessing of icoStructFoam
  #1
Member
 
feng wang
Join Date: Mar 2009
Posts: 67
Rep Power: 17
fw407 is on a distinguished road
hi,guys

i want to post-process the results of the icoStructFoam,i did

foamToVTK . icoStructFoamTest -mesh region1
foamToVTK . icoStructFoamTest -mesh region2

everything is fine, yet when i did

paraFoam $FOAM_RUN/tutorials/icoStructFoam icoStructFoamTest

i got errors:

--> FOAM FATAL ERROR : Cannot find file "boundary" in directory "constant/polyMesh"

From function Time::findInstance(const word& dir, const word& name)
in file db/Time/findInstance.C at line 133.

FOAM exiting

i am a brand new user of OF, so what can i do to solve this error?

all the best

Feng
fw407 is offline   Reply With Quote

Old   January 8, 2008, 05:28
Default You have already .vtk files (i
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
You have already .vtk files (in the VTK directory) so you can run straight paraview. No need to run paraFoam (Paraview-with-Foam reader). Just use the file->open menu.
mattijs is offline   Reply With Quote

Old   January 8, 2008, 06:36
Default Hi Feng! An alternate way t
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Hi Feng!

An alternate way to postprocess multi-region cases is described at
http://openfoamwiki.net/index.php/Ho...rocMultiregion
The advantage of this method is that you can use all the cool feature of paraFoam (time-step names, etc) and don't waste disk-space for the VTK-files.

Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   January 8, 2008, 19:02
Default Hi I think I know how to d
  #4
Member
 
feng wang
Join Date: Mar 2009
Posts: 67
Rep Power: 17
fw407 is on a distinguished road
Hi

I think I know how to do it.i am now trying Deformable channel, but the results is not satisfactory(i should have post the image, but i do not know how to do it,sorry about that).the mesh for the fluid domain is deformed^_^, while the mesh for the structure domain not. i download the solver and this case on the website i post below, so i think the problems may come from the post-processing(i am using version OF 1.3).could anyone tell me how to solve this problem?

this is the web site i download the case and sovler
http://openfoamwiki.net/index.php/Contrib_icoStructFoam



by the way,is there any difference between the method i use and the one recommended by Bernhard?

All the best

Feng
fw407 is offline   Reply With Quote

Old   January 9, 2008, 08:29
Default Hi Feng! To visualize the d
  #5
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Hi Feng!

To visualize the deformed solid use in paraView/Foam the "Warp Vector"-filter and use the displacement as the deforming value. Then the solid mesh should align with the fluid mesh

Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   May 30, 2008, 17:29
Default Hi Feng, I want to answer y
  #6
New Member
 
Ruth Oh
Join Date: Mar 2009
Posts: 7
Rep Power: 17
ruthie is on a distinguished road
Hi Feng,

I want to answer your original query about this error:

--> FOAM FATAL ERROR : Cannot find file "boundary" in directory "constant/polyMesh"

From function Time::findInstance(const word& dir, const word& name)
in file db/Time/findInstance.C at line 133.

FOAM exiting

I'm likewise new in using OpenFOAM, which is part of the reason why I'm replying so late.

One observation that I made is that for any of those cases in the tutorial directory ($FOAM_RUN/tutorials/), there would be the same cases found in the directory one level up (i.e. $FOAM_RUN/). I'm guessing those are the originals that the tutorial copied from. Those originals had additional files in the folder called polyMesh, eg. $FOAM_RUN/oodles/pitzDaily/constant/polyMesh/ has the files points, faces, neighbours, and so on. But the tutorial version of the original won't have those files, eg. $FOAM_RUN/tutorials/oodles/pitzDaily/constant/polyMesh/ doesn't have points, faces, and the rest of those files. I believe these files contain information about the different information for the mesh. Without them, you'll get that error message. I have resorted to use the originals instead of the tutorial version.

Perhaps other people could comment about the observation I made and explain better what is going on.
ruthie is offline   Reply With Quote

Old   May 30, 2008, 18:09
Default My mistake, but apparently, th
  #7
New Member
 
Ruth Oh
Join Date: Mar 2009
Posts: 7
Rep Power: 17
ruthie is on a distinguished road
My mistake, but apparently, the turbFoam directory's cavity case has points, faces, and those kind of files in polyMesh. So probably, some cases have the necessary points, etc, but not all of them have that.
ruthie 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
using fieldAverage library to average postprocessing eelcovv OpenFOAM Programming & Development 32 May 17, 2022 10:55
Needed Benchmark Problems for FSI Mechstud Main CFD Forum 4 July 26, 2011 13:13
Cyclic patches and parallel postprocessing problems askjak OpenFOAM Bugs 18 October 27, 2010 04:35
postprocessing for icoStructFoam solver aut_iut OpenFOAM Post-Processing 8 July 28, 2010 06:05
[OpenFOAM] ParaView Postprocessing problems with cyclic boundaries christian ParaView 10 June 26, 2009 06:49


All times are GMT -4. The time now is 00:40.