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

Paraview and VTK

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

Like Tree1Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   March 30, 2006, 13:40
Default Interesting but not in release
  #101
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 17
mattijs is on a distinguished road
Interesting but not in release notes: 1.3 foamToVTK runs in parallel. Produces one VTK directory per processor. Has got some new useful command line options as well (e.g. -allPatches)
mattijs is offline   Reply With Quote

Old   April 20, 2006, 08:26
Default Using release 1.3: test on lau
  #102
New Member
 
Fran�ois Cauneau
Join Date: Mar 2009
Location: Sophia Antipolis, France
Posts: 8
Rep Power: 9
cauneau is on a distinguished road
Using release 1.3: test on launching paraview-2.4.2 from inside FoamX (testcase is tutorial icoFoam/cavity). Everything fine, except on calculating streamlines. Error Message is:

ErrorMessage
# Error or warning: There was a VTK Error in file: ../../../../../paraview-2.4.2/VTK/Filtering/vtkDemandDrivenPipeline.cxx (661)
vtkCompositeDataPipeline (0x92c4200): Input port 0 of algorithm vtkDistributedStreamTracer(0x92c5be8) has 4 connections but is not repeatable.
ErrorMessage end

Other glyphs and 3D objects display quite normally...

I shall try to hack a little to know more.

NB1: Host system is a linux-mandriva (kernel 2.6.12), running on a laptop dell latitude (i586).

NB2: For the X server, "DRI" is off, as it is not compatible vith some calls of the PatchTool interface. Switching it on doesn't fix the present VTK problem.

NB3: Everything works fine with the couple OpenFOAM-1.2/paraview-2.2.0 on the same machine.

François Cauneau
cauneau is offline   Reply With Quote

Old   May 14, 2006, 10:36
Default Hello Foam Guys I experimen
  #103
Member
 
Wladimyr Mattos da Costa Dourado
Join Date: Mar 2009
Location: Sao Jose dos Campos, SP, Brazil
Posts: 36
Rep Power: 9
mattos is on a distinguished road
Hello Foam Guys

I experiment the same troubles that Francois Cauneau, both in my house machine (amd 32 bits) as well in my job (amd 64) using openfoam 1.3 + paraview 2.4.2.

Somebody can help us?

Many tanks in advance

Wladimyr
mattos is offline   Reply With Quote

Old   July 15, 2006, 07:00
Default the following is the error mes
  #104
New Member
 
Sreekanth Kolan
Join Date: Mar 2009
Posts: 13
Rep Power: 9
sreekanth is on a distinguished road
the following is the error message i get when i try to open paraview. My aim is to plot stream lines for backward facing step flow. can some one tell how to do that with lines/points/ribbons instead of tubes.

also i need help regarding this error. i tried reinstalling but still ended up with same error. so, plzzzzz help me as soon as u can



newton{skolan,53}% ErrorMessage
# Error or warning: ERROR: In ../../../../../paraview-2.4.2/Utilities/VTKClientServer/vtkClientServerInterpret er.cxx, line 866
vtkClientServerInterpreter (0x80664b8): Cannot find module "libPVFoamReader.so". The following paths were searched:
/home/reynolds/skolan/OpenFOAM/linux/paraview-2.4.2/lib/paraview-2.4
/home/user/skolan/OpenFOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt/lam-7.1.1
/home/user/skolan/OpenFOAM/OpenFOAM-1.3/src/lam-7.1.1/platforms/linuxGcc4DPOpt/l ib
/home/user/skolan/OpenFOAM/linux/gcc-4.1.0/lib
/home/user/skolan/OpenFOAM/skolan-1.3/lib/linuxGcc4DPOpt
/home/user/skolan/OpenFOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt
/usr/local/lib
/home/user/skolan/OpenFOAM/linux/paraview-2.4.2/lib
/home/user/skolan/OpenFOAM/OpenFOAM-1.3/src/lam-7.1.1/platforms/linuxGcc4DPOpt/b in
/home/user/skolan/OpenFOAM/OpenFOAM-1.3/src/mico-2.3.11/platforms/linuxGcc4DPOpt /bin
/home/user/skolan/OpenFOAM/linux/j2sdk1.4.2_05/bin
/home/user/skolan/OpenFOAM/linux/gcc-4.1.0/bin
/home/user/skolan/OpenFOAM/skolan-1.3/applications/bin/linuxGcc4DPOpt
/home/user/skolan/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt
/home/user/skolan/OpenFOAM/OpenFOAM-1.3/wmake
/home/user/skolan/OpenFOAM/OpenFOAM-1.3/bin
/usr/X11/bin
/usr/local/bin
/usr/bin
/bin
/etc
/local/Tecplot10.0//bin
/home/user/skolan/OpenFOAM/linux/paraview-2.4.2/bin
/usr/lib
/usr/lib/vtk
/usr/local/lib
/usr/local/lib/vtk



ERROR: In ../../../../../paraview-2.4.2/GUI/Client/vtkPVXMLPackageParser.cxx, line 677
vtkPVXMLPackageParser (0x88475d8): Error loading Library component PVFoamReader



ErrorMessage end
sreekanth is offline   Reply With Quote

Old   July 15, 2006, 07:03
Default forgot to tell u guys that i a
  #105
New Member
 
Sreekanth Kolan
Join Date: Mar 2009
Posts: 13
Rep Power: 9
sreekanth is on a distinguished road
forgot to tell u guys that i am working on inux machine
sreekanth is offline   Reply With Quote

Old   September 21, 2006, 02:50
Default Hello, I tried the conjugateF
  #106
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 12
dmoroian is on a distinguished road
Hello,
I tried the conjugateFoam7 solver and it went well after I got the help from you to compile the source. Now I want to see the results.
Having multiple regions seems to enforce the usage of foamToVTK.
Well, I tried it, and I can see the temperature field for instance, but no velocity. It is obvious that when I ran it, the program complains about something:

dragosm@casp02:~/OpenFOAM/dragosm-1.3/run/conjugateHeat> foamToVTK ./ Conjugate_pipe -mesh region1 -latestTime
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : foamToVTK ./ Conjugate_pipe -mesh region1 -latestTime
Date : Sep 21 2006
Time : 09:05:11
Host : casp02
PID : 13723
Root : /fsd/soft/OpenFOAM/dragosm-1.3/run/conjugateHeat/
Case : Conjugate_pipe
Nprocs : 1
Create time

--> FOAM Warning :
From function objectRegistry::checkIn(regIOobject&)
in file db/objectRegistry/objectRegistry.C at line 51
Registering object 'region1' with objectRegistry 'time'
This is only appropriate for registering the regions of a multi-region computation
or in other special circumstances.
Otherwise please register this object with it's region (mesh)
Time 19
volScalarFields : rho p T
volVectorFields : U
pointScalarFields :
pointVectorFields :

Internal : "/fsd/soft/OpenFOAM/dragosm-1.3/run/conjugateHeat//Conjugate_pipe/VTK/region1/Co njugate_pipe_381.vtk"
Original cells:400 points:861 Additional cells:0 additional points:0



--> FOAM FATAL ERROR : Not implemented

From function void CyclicPointPatchField<patchfield,>::evaluate()
in file /home/dm2/henry/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude/CyclicPointPatchFie ld.C at line 187.

FOAM aborting

Foam::error::printStack(Foam:: Ostream&)
Foam::error::abort()
Foam::GeometricField<double,>::GeometricBoundaryFi eld::evaluate()
void Foam::volPointInterpolation::interpolate<double>(F oam::GeometricField<double,> const&, Foam::GeometricField<double,>&
) const
Foam::tmp<foam::geometricfield<double,> > Foam::volPointInterpolation::interpolate<double>(F oam::GeometricField<double,> c
onst&) const
foamToVTK [0x41a70c]
foamToVTK [0x437dc9]
__libc_start_main
__gxx_personality_v0
Aborted


Can you give me a hint in the right direction to solve this problem?

Regards,
Dragos
dmoroian is offline   Reply With Quote

Old   September 21, 2006, 05:01
Default Use the search facility. Look
  #107
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 17
mattijs is on a distinguished road
Use the search facility. Look for CyclicPointPatchField.

http://www.cfd-online.com/cgi-bin/Op...=7286#POST7286
mattijs is offline   Reply With Quote

Old   September 21, 2006, 06:59
Default Hi Mattijs, The solution work
  #108
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 12
dmoroian is on a distinguished road
Hi Mattijs,
The solution worked immediately. Thanks!

By the way, I always search first the forum, before I add my question. My fault is that I searched for the wrong key ("foamToVTK" instead for the actual error).

Regards,
Dragos
dmoroian is offline   Reply With Quote

Old   December 20, 2006, 19:16
Default Hi, I was wondering if anyone
  #109
New Member
 
Shawn Pfeil
Join Date: Mar 2009
Posts: 11
Rep Power: 9
shawn is on a distinguished road
Hi,
I was wondering if anyone could give me a pointer on what a foamToVTK error message means. I am running twoLiquidMixingFoam without any problems in the simulation, but when I run foamToVTK it spits out.

--> FOAM FATAL IO ERROR : size 6000 is not equal to the given value of 10400

file: /home/shp/OpenFOAM/shp-1.3/run/interFoam//tmix/0.01/gamma_0 from line 25 to line 6121.

From function Field<type>::Field(const word& keyword, const dictionary& dict, const label s)
in file /home/dm2/henry/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude/Field.C at line 223.

FOAM exiting

I looked at the data file and their are 6000 data points for gamma but I don't know where this other number 10400 is defined. I am a little bit of a newbie still, so I have to apologize for my lack of error message knowledge.

Shawn
shawn is offline   Reply With Quote

Old   December 20, 2006, 19:38
Default Take a look at the file: 0.
  #110
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,783
Rep Power: 22
hjasak will become famous soon enough
Take a look at the file:

0.01/gamma_0

and swee what the field size is. It should be the same as the number of cells in the mesh. If it is not, delete it. Do that with all other fields if the error appears again.

You can find the number of cells in the comment (under nCells) in constant/polyMesh/owner

Enjoy,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   September 6, 2007, 00:25
Default Hi, When I save view image,
  #111
atsushi
Guest
 
Posts: n/a
Hi,

When I save view image, suddenly paraview is terminated and error occurs&darr;&darr;&darr;


×Erroe of failed request:GLXBadContext
 Major opcode of failed request:143(GLX)
 Minor opcode of failed request:5(X_GLXMakeCurrent)
 Serial number of failed request:72026
 Current serial number in output sream72026


What kind of error is this??
  Reply With Quote

Old   September 6, 2007, 01:25
Default I have solved this irritating
  #112
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 13
msrinath80 is on a distinguished road
I have solved this irritating problem before. Here you go -> http://www.cfd-online.com/OpenFOAM_D...es/1/4438.html
msrinath80 is offline   Reply With Quote

Old   September 7, 2007, 03:21
Default Thank you. I'll check it.
  #113
atsushi
Guest
 
Posts: n/a
Thank you.
I'll check it.

Atsu
  Reply With Quote

Old   October 25, 2007, 02:30
Default Dear All would you please a
  #114
New Member
 
Armin Hosseinian
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 17
Rep Power: 9
armin_h is on a distinguished road
Dear All

would you please any one let me know, which kind of problem has my paravies which shows the following error?
and what should i do with that?
i use OpenFoam 1.4 , with paraview 2.4.4.

# Error or warning: There was a VTK Error in file: /home/dm2/henry/OpenFOAM/linuxSrc/paraview-2.4.4/VTK/Filtering/vtkDemandDrivenPi peline.cxx (651)
vtkStreamingDemandDrivenPipeline (0x99c8b00): Input port 0 of algorithm vtkAppendFilter(0x99c81a8) has 0 connections but is not optional.


MANY THANKS
ARMIN
armin_h is offline   Reply With Quote

Old   June 25, 2008, 21:51
Default hi everyone, i need to gene
  #115
New Member
 
nikhil babu madduri
Join Date: Mar 2009
Posts: 17
Rep Power: 9
nikhilmadduri is on a distinguished road
hi everyone,

i need to generate a mesh around a cylnder. i have started with quarter of it. now how to complete it? i tried with filter>Reflection in paraview. it was working but i have a doubt that paraview being just a viewing tool, if i take the reflection, is it really going to change my computational domain physically??

this is a kind of urgent. reply will be greatly appreciated.

regards,
nike
nikhilmadduri is offline   Reply With Quote

Old   June 26, 2008, 03:57
Default You just need to do what you h
  #116
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Deltares, Delft, The Netherlands
Posts: 1,702
Rep Power: 27
ngj will become famous soon enoughngj will become famous soon enough
You just need to do what you have done already three more times to end the circle, i.e. you have to generate the mesh around the entire cylinder using whatever meshing-tool you are comfortable with.

ParaView is "merely" a postprocessing tool.

/ Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   June 26, 2008, 04:28
Default thanq Niels, I am able to d
  #117
New Member
 
nikhil babu madduri
Join Date: Mar 2009
Posts: 17
Rep Power: 9
nikhilmadduri is on a distinguished road
thanq Niels,

I am able to do it by inputting all the other 3 parts too again and was able to generate the whole cylinder using blockmesh. but since rest 3 parts are just symmetric along either x or z axes, do i have any tool which can just take the mirror image such that my tedious job of inputting all again will be reduced?

regards,
nike.
nikhilmadduri is offline   Reply With Quote

Old   July 20, 2008, 05:57
Default hi Henry, I was reading yo
  #118
Senior Member
 
mayank gupta
Join Date: Mar 2009
Posts: 110
Rep Power: 9
mgz1985 is on a distinguished road
hi Henry,

I was reading your post above and would like to ask you regarding a problem of pre-installed paraveiw.

I am unable to execute the command paraFoam correctly. i get the following error

mayank-guptas-macbook:icoFoam mayankgupta$ paraFoam ~/openfoam/mayankgupta-1.4.1/run/icoFoam cavity
/Users/mayankgupta/OpenFOAM/OpenFOAM-1.4.1/bin/paraFoam: line 75: paraview: command not found


can u help me fix this problem. I have installed paraview as a disk image and i am completely new to linux and no nothing about computers. secondy i was trying ur solutions of setting the environment for paraview but i could not find the paraview directory in the applications directory of openfoam-1.4.1

please help.

thanx
mgz1985 is offline   Reply With Quote

Old   August 25, 2008, 06:39
Default Dear All: The following opt
  #119
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 10
musahossein is on a distinguished road
Dear All:

The following options are given for suitable Qt for different versions of SuSE:

The default versions of Qt used by some GNU/Linux releases are as follows.

* ubuntu-7.10: Version 4.3.2
* ubuntu-8.04: Version 4.3.4
* openSuSE-10.2: Version 4.2.1 - too old
* openSuSE-10.3: Version 4.3.1
* openSuSE-11.0: Version 4.4.0 - too new

I am running SuSE 10.0 Does this mean I will need to upgrade to 10.3, or is there something availabe for 10.0
Thanks
Musa
musahossein is offline   Reply With Quote

Old   October 3, 2008, 15:11
Default Dear All: just managed to s
  #120
New Member
 
Annika Gram
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 7
Rep Power: 9
annikagram is on a distinguished road
Dear All:

just managed to start paraView for OF1.5. It looks wonderful! However: it seems like running a case does not produce any files for paraView to read, that is, I can see the mesh doing the cavity tutorial. But there is no way I can get any additional info after running icoFoam. The same goes for the damBreak after running interFoam (looks ok while running). What could be wrong? My OS is Ubuntu 8.04.
Thanx,
Annika
annikagram 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 34 hsieh OpenFOAM Paraview & paraFoam 4 January 26, 2009 15:31
Paraview 300 vinz OpenFOAM Paraview & paraFoam 12 October 6, 2007 09:46
Paraview peter ParaView 0 November 29, 2006 02:47
Paraview jojo ParaView 4 June 25, 2006 19:01
HI all I cant find display button in paraview when i execute cavity tutorial there is only parameter button in the paraview chan OpenFOAM Paraview & paraFoam 2 February 13, 2006 08:37


All times are GMT -4. The time now is 20:33.