OutPut

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
Jhno
Posts: 214
Joined: Sat May 05, 2012 2:55 pm
Location: Laval

OutPut

Post by Jhno »

Hi, does anyone have experience in obtaining valid VTK files (or any other files format) for use with Paraview to visualize opensees output? I found this link (https://github.com/lge88/opensees-vtk) but the .tcl files doesn't work for me. Either am not using it properly or it's out of date with current version I couldn't tell.
I am trying to visualize my soil deposit and I will eventually want to add a structure or many structures over it. The only way I made a good model was building my own matlab script and plot a graph. This is long, painful, and it's not cute in the end. I'd like to obtain nice display of the model and be able to animate the whole thing. Paraview (or GiD) seem fine to do the job but I can't obtain a valid file to use them from my analysis results. Any help on this? Thanks!

:!: I did notice the example on the opensees-wiki about GiD and 2-D soil deposit analysis.
francisconazar
Posts: 10
Joined: Fri Jan 16, 2015 12:07 pm
Location: Universidad de Chile

Re: OutPut

Post by francisconazar »

Apparently there is a new recorder in the code (PVDRecorder) compatible with ParaView, but so far I can't find any documentation.

PD: The script from github did work for me, but it only shows displacements.
skamalzare
Posts: 112
Joined: Thu Jun 27, 2013 11:45 am
Location: Seattle, WA

Re: OutPut

Post by skamalzare »

I am using GiD very conveniently for both pre and post-processing. Why don't you use the codes that are provided in Wiki. GiD gives you all the animations you like.
---
PhD, EIT, Geotechnical Engineer
Condon-Johnson & Associates INC
francisconazar
Posts: 10
Joined: Fri Jan 16, 2015 12:07 pm
Location: Universidad de Chile

Re: OutPut

Post by francisconazar »

GiD is commercial software (free up to 1010 nodes only), whilst ParaView is Open Source and you have more control on what you can show.
francisconazar
Posts: 10
Joined: Fri Jan 16, 2015 12:07 pm
Location: Universidad de Chile

Re: OutPut

Post by francisconazar »

For the record, the documentation can be found on Dr. Minjie Zue's webpage:
http://web.engr.oregonstate.edu/~zhum/command.html
skygrandpa
Posts: 6
Joined: Mon Mar 07, 2016 7:23 am
Location: Beijing University of Civil Engineering and Architechture

Re: OutPut

Post by skygrandpa »

francisconazar wrote:
> For the record, the documentation can be found on Dr. Minjie Zue's webpage:
>
> http://web.engr.oregonstate.edu/~zhum/command.html

thank you francisconazar

but when I use paraview to open the generated .pvd output file, something just went wrong

here are the errors in paraview:

ERROR: In C:\bbd\df0abce0\build\paraview\src\paraview\VTK\IO\XMLParser\vtkXMLParser.cxx, line 397
vtkXMLDataParser (000001A5C03F8FA0): Error parsing XML in stream at line 4, column 59, byte index 162: not well-formed (invalid token)


ERROR: In C:\bbd\df0abce0\build\paraview\src\paraview\VTK\IO\XML\vtkXMLReader.cxx, line 456
vtkPVDReader (000001A5BFF4F950): Error parsing input file. ReadXMLInformation aborting.


ERROR: In C:\bbd\df0abce0\build\paraview\src\paraview\ParaViewCore\VTKExtensions\Default\vtkPVDReader.cxx, line 147
vtkPVDReader (000001A5BFF4F950): Could not read file information


ERROR: In C:\bbd\df0abce0\build\paraview\src\paraview\VTK\Common\ExecutionModel\vtkExecutive.cxx, line 784
vtkPVCompositeDataPipeline (000001A53B9A84D0): Algorithm vtkPVDReader(000001A5BFF4F950) returned failure for request: vtkInformation (000001A5C00DCE80)
Debug: Off
Modified Time: 190930
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA_OBJECT
FORWARD_DIRECTION: 0
ALGORITHM_AFTER_FORWARD: 1




ERROR: In C:\bbd\df0abce0\build\paraview\src\paraview\ParaViewCore\VTKExtensions\Default\vtkPVDReader.cxx, line 147
vtkPVDReader (000001A5BFF4F950): Could not read file information


ERROR: In C:\bbd\df0abce0\build\paraview\src\paraview\VTK\Common\ExecutionModel\vtkExecutive.cxx, line 784
vtkPVCompositeDataPipeline (000001A53B9A84D0): Algorithm vtkPVDReader(000001A5BFF4F950) returned failure for request: vtkInformation (000001A5C00DCE80)
Debug: Off
Modified Time: 190930
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA_OBJECT
FORWARD_DIRECTION: 0
ALGORITHM_AFTER_FORWARD: 1
zhum
Posts: 11
Joined: Fri Apr 01, 2016 3:03 pm

Re: OutPut

Post by zhum »

Hi: what's the model you are using and paraview version? Thank you!
skygrandpa
Posts: 6
Joined: Mon Mar 07, 2016 7:23 am
Location: Beijing University of Civil Engineering and Architechture

Re: OutPut

Post by skygrandpa »

zhum wrote:
> Hi: what's the model you are using and paraview version? Thank you!

Paraview 5.0.1
the model is a the example RCFramePushover
http://opensees.berkeley.edu/wiki/index ... r_Analysis
zhum
Posts: 11
Joined: Fri Apr 01, 2016 3:03 pm

Re: OutPut

Post by zhum »

It's been fixed. Please make updates.
skygrandpa
Posts: 6
Joined: Mon Mar 07, 2016 7:23 am
Location: Beijing University of Civil Engineering and Architechture

Re: OutPut

Post by skygrandpa »

zhum wrote:
> It's been fixed. Please make updates.

thank you,but where i can get the update?
:D
Post Reply