CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

Problems of postprocessing of icoStructFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 7, 2008, 18:13
Default hi,guys i want to post-proc
  #1
Member
 
feng wang
Join Date: Mar 2009
Posts: 67
Rep Power: 8
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
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
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: 3,914
Rep Power: 40
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: 8
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: 3,914
Rep Power: 40
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, 16:29
Default Hi Feng, I want to answer y
  #6
New Member
 
Ruth Oh
Join Date: Mar 2009
Posts: 7
Rep Power: 8
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, 17:09
Default My mistake, but apparently, th
  #7
New Member
 
Ruth Oh
Join Date: Mar 2009
Posts: 7
Rep Power: 8
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

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ParaView Postprocessing problems with cyclic boundaries christian OpenFOAM Paraview & paraFoam 10 June 26, 2009 05:49
Error icoStructFoam pi06jl6 OpenFOAM Running, Solving & CFD 1 July 10, 2008 13:09
How to add the RhO to the icoStructFoam msha OpenFOAM Running, Solving & CFD 8 January 25, 2008 09:46
Problems in Turbo Postprocessing Tobias FLUENT 6 October 19, 2005 06:17
Win NT, pre and postprocessing with large problems Dirk FLUENT 1 February 7, 2001 15:50


All times are GMT -4. The time now is 09:34.