Re: [Yade-users] [Question #697545]: How to create a cylinder model with hard and soft interlayer

2021-06-16 Thread Jan Stránský
Question #697545 on Yade changed: https://answers.launchpad.net/yade/+question/697545 Jan Stránský posted a new comment: Yes, sorry, I forgot about [7]. Nice you fixed the solution yourself :-) Cheers Jan [7] https://gitlab.com/yade-dev/trunk/-/issues/105 -- You received this question

Re: [Yade-users] [Question #697545]: How to create a cylinder model with hard and soft interlayer

2021-06-16 Thread Liu Changdong
Question #697545 on Yade changed: https://answers.launchpad.net/yade/+question/697545 Liu Changdong posted a new comment: Hi Jan: I have tried the second method you gave me ‘using the pack.inHalfSpace’ . However, the 'predicate(pos,r)' shows an error. After my trial and error, I found the

Re: [Yade-users] [Question #697545]: How to create a cylinder model with hard and soft interlayer

2021-06-16 Thread Liu Changdong
Question #697545 on Yade changed: https://answers.launchpad.net/yade/+question/697545 Liu Changdong 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 #697545]: How to create a cylinder model with hard and soft interlayer

2021-06-16 Thread Liu Changdong
Question #697545 on Yade changed: https://answers.launchpad.net/yade/+question/697545 Status: Answered => Solved Liu Changdong confirmed that the question is solved: Hi Jan: Thanks a lot。 That solves my problem。 -- You received this question notification because your team yade-users is an

Re: [Yade-users] [Question #697545]: How to create a cylinder model with hard and soft interlayer

2021-06-16 Thread Jan Stránský
Question #697545 on Yade changed: https://answers.launchpad.net/yade/+question/697545 Jan Stránský proposed the following answer: The posted code was meant to present one option how to do it, with very easy isSoftRockParticle condition. You can substitute whatever instead of this "z in (1.5;2.5)

Re: [Yade-users] [Question #697545]: How to create a cylinder model with hard and soft interlayer

2021-06-16 Thread Liu Changdong
Question #697545 on Yade changed: https://answers.launchpad.net/yade/+question/697545 Liu Changdong posted a new comment: Hi Jan: Thank you for your answer. Problem 2 has been solved. But I have some questions about question 1. Here are my questions: According to your answer, I can only create

Re: [Yade-users] [Question #697545]: How to create a cylinder model with hard and soft interlayer

2021-06-16 Thread Jan Stránský
Question #697545 on Yade changed: https://answers.launchpad.net/yade/+question/697545 Jan Stránský proposed the following answer: > 1. How to select particles representing soft rock (different thickness and dip angle). e.g.: ### # return true if z-coordinate is between 1.5 and 2.5 # adjust the

Re: [Yade-users] [Question #697545]: How to create a cylinder model with hard and soft interlayer

2021-06-15 Thread Liu Changdong
Question #697545 on Yade changed: https://answers.launchpad.net/yade/+question/697545 Liu Changdong posted a new comment: Hi Jan: I'm sorry I didn't make my question clear. My question is as follows: 1. How to select particles representing soft rock (different thickness and dip angle).

Re: [Yade-users] [Question #697545]: How to create a cylinder model with hard and soft interlayer

2021-06-15 Thread Jan Stránský
Question #697545 on Yade changed: https://answers.launchpad.net/yade/+question/697545 Status: Open => Answered Jan Stránský proposed the following answer: Hello, a general approach: - create "uniform" cylinder - select "different" (harder or softer) particles - change their material > But

[Yade-users] [Question #697545]: How to create a cylinder model with hard and soft interlayer

2021-06-15 Thread Liu Changdong
New question #697545 on Yade: https://answers.launchpad.net/yade/+question/697545 Hi everyone: I want to creat a model with hard and soft interlayer like paper [1] Fig 4 . But i do not know how to do that. Can someone help me solve this problem. Best changdong Liu [1]