Re: [Yade-users] [Question #290070]: TesselationWrapper and porosity

2016-09-23 Thread behzad
Question #290070 on Yade changed: https://answers.launchpad.net/yade/+question/290070 behzad posted a new comment: Weimin, No! I could not find a solution finally. -- You received this question notification because your team yade-users is an answer contact for Yade.

Re: [Yade-users] [Question #290070]: TesselationWrapper and porosity

2016-09-22 Thread Weimin Song
Question #290070 on Yade changed: https://answers.launchpad.net/yade/+question/290070 Weimin Song posted a new comment: Hey behzad, Do you solve the problem? -- You received this question notification because your team yade-users is an answer contact for Yade.

Re: [Yade-users] [Question #290070]: TesselationWrapper and porosity

2016-04-19 Thread behzad
Question #290070 on Yade changed: https://answers.launchpad.net/yade/+question/290070 behzad posted a new comment: OK. Thank you Bruno -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing

Re: [Yade-users] [Question #290070]: TesselationWrapper and porosity

2016-04-18 Thread Bruno Chareyre
Question #290070 on Yade changed: https://answers.launchpad.net/yade/+question/290070 Status: Open => Answered Bruno Chareyre proposed the following answer: b.volume=TW.volume(b.id) is not the same in terms of scope, and the problems you have are mainly scope problems. >"The question is how

Re: [Yade-users] [Question #290070]: TesselationWrapper and porosity

2016-04-12 Thread behzad
Question #290070 on Yade changed: https://answers.launchpad.net/yade/+question/290070 Status: Answered => Open behzad is still having a problem: I just find no way to get this thing working. Even with globals it gives an error! TW=TesselationWrapper() TW.triangulate() TW.computeVolumes()

Re: [Yade-users] [Question #290070]: TesselationWrapper and porosity

2016-04-11 Thread Bruno Chareyre
Question #290070 on Yade changed: https://answers.launchpad.net/yade/+question/290070 Bruno Chareyre proposed the following answer: It must be a scope issue, try something around globals()["TW"].volume(id)? Else it should be possible to add the attribute: b.volume=TW.volume(b.id) #then use it to

Re: [Yade-users] [Question #290070]: TesselationWrapper and porosity

2016-04-07 Thread behzad
Question #290070 on Yade changed: https://answers.launchpad.net/yade/+question/290070 behzad posted a new comment: I even tried the following. The problem is that vtkExporter is not accepting any function from outside. In the following script I get the error of TW is not defined. Then, I

Re: [Yade-users] [Question #290070]: TesselationWrapper and porosity

2016-04-07 Thread behzad
Question #290070 on Yade changed: https://answers.launchpad.net/yade/+question/290070 behzad posted a new comment: I understand that to visualize the deformation for example we can write: #TW.setState(0) #O.run(10,True) #TW.setState(1) #TW.defToVtk("strainvtk") But there's not function like

Re: [Yade-users] [Question #290070]: TesselationWrapper and porosity

2016-04-07 Thread behzad
Question #290070 on Yade changed: https://answers.launchpad.net/yade/+question/290070 behzad posted a new comment: yes the equation is fine. How to export it however, is not clear to me. I'd like to get the triangulated scene with this parameter (porosity) assigned to them. The following

Re: [Yade-users] [Question #290070]: TesselationWrapper and porosity

2016-04-07 Thread Bruno Chareyre
Question #290070 on Yade changed: https://answers.launchpad.net/yade/+question/290070 Bruno Chareyre proposed the following answer: I am assuming that you know how to export any value attached to particles using VTK exporter (else please see the doc, this one is well documented). Then the only

Re: [Yade-users] [Question #290070]: TesselationWrapper and porosity

2016-04-07 Thread Chareyre
Question #290070 on Yade changed: https://answers.launchpad.net/yade/+question/290070 Chareyre proposed the following answer: TW.volume(i) is the volume assigned to one sphere. From this you can easily define the corresponding porosity. B -- You received this question notification because

Re: [Yade-users] [Question #290070]: TesselationWrapper and porosity

2016-04-06 Thread behzad
Question #290070 on Yade changed: https://answers.launchpad.net/yade/+question/290070 behzad posted a new comment: map of porosity is what I'd like to get. How can I get this by means of TW? -- You received this question notification because your team yade-users is an answer contact for Yade.

[Yade-users] [Question #290070]: TesselationWrapper and porosity

2016-04-06 Thread behzad
New question #290070 on Yade: https://answers.launchpad.net/yade/+question/290070 Hi there, I'd like to know if we can visualize the porosity gradient (if any) in the sample by using TesselationWrapper. Or is there any other way to to this? Thanks -- You received this question notification