CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Paraview & paraFoam (http://www.cfd-online.com/Forums/openfoam-paraview/)
-   -   Problems of postprocessing of icoStructFoam (http://www.cfd-online.com/Forums/openfoam-paraview/61145-problems-postprocessing-icostructfoam.html)

fw407 January 7, 2008 18:13

hi,guys i want to post-proc
 
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

mattijs January 8, 2008 05:28

You have already .vtk files (i
 
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.

gschaider January 8, 2008 06:36

Hi Feng! An alternate way t
 
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

fw407 January 8, 2008 19:02

Hi I think I know how to d
 
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

gschaider January 9, 2008 08:29

Hi Feng! To visualize the d
 
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

ruthie May 30, 2008 16:29

Hi Feng, I want to answer y
 
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 May 30, 2008 17:09

My mistake, but apparently, th
 
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.


All times are GMT -4. The time now is 10:35.