← Back to team overview

yade-users team mailing list archive

Re: [Question #699374]: Import VTK files

 

Question #699374 on Yade changed:
https://answers.launchpad.net/yade/+question/699374

    Status: Open => Answered

Robert Caulk proposed the following answer:
Hello,

Please review our standard method for saving and loading simulations [1].
Also consider searching thru this forum for keywords of “save” and “load”.
Maybe O.save and O.load. This question is frequently asked in various ways,
I’m certain you’ll find example usages for it.

If you still have an issue after using our standard save load method.
Please read thru [2] and consider adding the requested MWE if you seek
accurate assistance.

[1]
https://yade-dem.org/doc/introduction.html#saving-and-loading

[2]https://www.yade-dem.org/wiki/Howtoask

Cheers,

Robert

Le lun. 8 nov. 2021 à 08:01, Chiara Gigoli <
question699374@xxxxxxxxxxxxxxxxxxxxx> a écrit :

> Question #699374 on Yade changed:
> https://answers.launchpad.net/yade/+question/699374
>
> Description changed to:
> Good evening.
> I have a problem with YADE and I am not able to solve that.
> I have 2 .py file: in the first one I simulate a clump cloud deposition
> and in the second one I have to simulate a flux of this particles in an
> inclinated channel.
> The first file save the VTK files and the .yade file, that I import in the
> second file. By the way, I have an error when I launch the second one:
> ERROR: In /build/vtk6-9ueea8/vtk6-6.3.0+dfsg2/IO/XML/vtkXMLWriter.cxx,
> line 739
> vtkXMLUnstructuredGridWriter (0x7f527c1be350): Error opening output file
> "/home/chiara/Scrivania/Tesista/provaDeposizione_b/provaFlusso_b/provaFlusso_b/VTK_provaFlusso_b/vtk-spheres.367434.vtu"
>
> ERROR: In /build/vtk6-9ueea8/vtk6-6.3.0+dfsg2/IO/XML/vtkXMLWriter.cxx,
> line 741
> vtkXMLUnstructuredGridWriter (0x7f527c1be350): Error code "File o
> directory non esistente"
>
> ERROR: In
> /build/vtk6-9ueea8/vtk6-6.3.0+dfsg2/Common/ExecutionModel/vtkExecutive.cxx,
> line 781
> vtkCompositeDataPipeline (0x7f527d53bfc0): Algorithm
> vtkXMLUnstructuredGridWriter(0x7f527c1be350) returned failure for request:
> vtkInformation (0x7f527c1b9590)
>   Debug: Off
>   Modified Time: 22206
>   Reference Count: 1
>   Registered Events: (none)
>   Request: REQUEST_DATA
>   FROM_OUTPUT_PORT: -1
>   ALGORITHM_AFTER_FORWARD: 1
>   FORWARD_DIRECTION: 0
>
> (and similar errors for box, facet, intrs, pericell VTK files).
> In particular, I noticed that actually the file/directory doesn't exist:
> in fact, in the error that I reported, is written the 367434 iteration, but
> from the first file, last VTK files that was saved is the 364752.
>
> Is there a way to start the second simulation (the flux one) from the
> last VTK file that I produced? Or to use only the information from "the
> last picture" of the deposition that yade saved?
>
> Thank you so much in advance,
> Chiara
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.