Re: [Yade-users] [Question #701308]: How to set a circle?

2022-04-25 Thread Jan Stránský
Question #701308 on Yade changed: https://answers.launchpad.net/yade/+question/701308 Status: Open => Answered Jan Stránský proposed the following answer: > there's something wrong with my code yes, as the error after running it suggest, there is SyntaxError: invalid syntax. You have

Re: [Yade-users] [Question #701308]: How to set a circle?

2022-04-25 Thread 孙灿
Question #701308 on Yade changed: https://answers.launchpad.net/yade/+question/701308 Status: Answered => Open 孙灿 is still having a problem: > O.bodies.append is for adding already generated particles to simulation, not the command for generating. Although it could be accepted that adding to

Re: [Yade-users] [Question #701519]: Import packing text file into yade

2022-04-25 Thread Soheil Safari
Question #701519 on Yade changed: https://answers.launchpad.net/yade/+question/701519 Status: Open => Solved Soheil Safari confirmed that the question is solved: Dear Jan, Thank you very much for your kind reply. Your valuable recommendations solved my first question. Sure, I will open a

Re: [Yade-users] [Question #701519]: Import packing text file into yade

2022-04-25 Thread Soheil Safari
Question #701519 on Yade changed: https://answers.launchpad.net/yade/+question/701519 Soheil Safari confirmed that the question is solved: Thanks Jan Stránský, that solved my question. -- You received this question notification because your team yade-users is an answer contact for Yade.

Re: [Yade-users] [Question #701519]: Import packing text file into yade

2022-04-25 Thread Jan Stránský
Question #701519 on Yade changed: https://answers.launchpad.net/yade/+question/701519 Jan Stránský posted a new comment: > I do not know if I can continue my issue here or not. because it has no relation to the OP, it would be better to create a new question ([1], point 5) Cheers Jan [1]

Re: [Yade-users] [Question #701519]: Import packing text file into yade

2022-04-25 Thread Soheil Safari
Question #701519 on Yade changed: https://answers.launchpad.net/yade/+question/701519 Status: Answered => Open Soheil Safari is still having a problem: Dear Jan, Thank you very much for your kind reply and valuable information. It was very helpful. I am using Yade 2020.01a. Also yade I am

Re: [Yade-users] [Question #701519]: Import packing text file into yade

2022-04-25 Thread Soheil Safari
Question #701519 on Yade changed: https://answers.launchpad.net/yade/+question/701519 Soheil Safari posted a new comment: Dear Jérôme, Regarding #2 I tried to use [3] which was not correct. Thank you for your reply. [3] https://answers.launchpad.net/yade/+question/677475 -- You received this

Re: [Yade-users] [Question #701519]: Import packing text file into yade

2022-04-25 Thread Jan Stránský
Question #701519 on Yade changed: https://answers.launchpad.net/yade/+question/701519 Jan Stránský proposed the following answer: Hello, please provide a MWE [1]: W = working, i.e. also with the saving part, such that we can test it ourselves M = minimal, i.e. flow stuff is irrelevant to the

Re: [Yade-users] [Question #701518]: flow.savePoreNetwork()

2022-04-25 Thread Soheil Safari
Question #701518 on Yade changed: https://answers.launchpad.net/yade/+question/701518 Soheil Safari gave more information on the question: Dear Jérôme, Thank you so much for your quick response and valuable information. Would you please let me know how I can define a TwoPhaseFlowEngine "flow"

Re: [Yade-users] [Question #701519]: Import packing text file into yade

2022-04-25 Thread Jérôme Duriez
Question #701519 on Yade changed: https://answers.launchpad.net/yade/+question/701519 Status: Open => Answered Jérôme Duriez proposed the following answer: Regarding #1, where did you see ymport.text should/ could be used with a format argument ? Not at

Re: [Yade-users] [Question #701519]: Import packing text file into yade

2022-04-25 Thread Soheil Safari
Question #701519 on Yade changed: https://answers.launchpad.net/yade/+question/701519 Soheil Safari posted a new comment: Also, I used O.bodies.append(ymport.text('final.txt',format='x_y_z_r')) and I got this error: TypeError: textExt() got multiple values for keyword argument 'format' -- You

Re: [Yade-users] [Question #701436]: How to implement PDFEngine

2022-04-25 Thread Jérôme Duriez
Question #701436 on Yade changed: https://answers.launchpad.net/yade/+question/701436 Status: Open => Answered Jérôme Duriez proposed the following answer: I'm personaly not familiar with this PDFEngine. Since it does not seem to deal with normal forces (fn) anyway [*], I would reconstruct

Re: [Yade-users] [Question #701518]: flow.savePoreNetwork()

2022-04-25 Thread Jérôme Duriez
Question #701518 on Yade changed: https://answers.launchpad.net/yade/+question/701518 Jérôme Duriez posted a new comment: Hi, The answer is in your question. savePoreNetwork() is not a member of FlowEngine (but of TwoPhaseFlowEngine for instance, as you mention it). So, if "flow" stands for a

[Yade-users] [Question #701519]: Import packing text file into yade

2022-04-25 Thread Soheil Safari
New question #701519 on Yade: https://answers.launchpad.net/yade/+question/701519 Hello everyone; Hope you are doing well. I used yade.export.text('filename.txt', mask=-1) to extract the particle position and radii in #format x_y_z_r , now I want to import this text file to extract its pore

[Yade-users] [Question #701518]: flow.savePoreNetwork()

2022-04-25 Thread Soheil Safari
New question #701518 on Yade: https://answers.launchpad.net/yade/+question/701518 Hello everyone; Hope you are doing well. I used the “flow.savePoreNetwork()” function in “TwoPhaseFlowEngine”for extraction of pore boday and throat data and it worked. But when I used “flow.savePoreNetwork() ''

Re: [Yade-users] [Question #701507]: Does thermal engine support MPI?

2022-04-25 Thread Robert Caulk
Question #701507 on Yade changed: https://answers.launchpad.net/yade/+question/701507 Status: Open => Answered Robert Caulk proposed the following answer: Hello Zoheir, The short answer is, "no." FlowEngine is not parallelized with MPI - and since ThermalEngine depends on FlowEngine for