Re: [Yade-users] [Question #705913]: how to run yade on multiple nodes using openmpi

2023-03-28 Thread xuanshenyu
Question #705913 on Yade changed: https://answers.launchpad.net/yade/+question/705913 xuanshenyu requested more information: Hi, Bruno I was very encouraged by your professional reponse. >> 1. I have never seen a need for the flag " --allow-run-as-root". Yes, my platform

Re: [Yade-users] [Question #705913]: how to run yade on multiple nodes using openmpi

2023-03-27 Thread xuanshenyu
Question #705913 on Yade changed: https://answers.launchpad.net/yade/+question/705913 Status: Answered => Open xuanshenyu is still having a problem: Hi, Thanks for kindly reply, I have solved the question of openmpi ( "bash: orted: command not foud"). And I carry out a te

[Yade-users] [Question #705913]: how to run yade on multiple nodes using openmpi

2023-03-22 Thread xuanshenyu
New question #705913 on Yade: https://answers.launchpad.net/yade/+question/705913 Dear all, I want to run yade on multiple nodes using openmpi(4.0.3), however, I can find the correct command line in terminal to run yade. I have tried the command "mpirun -np 120 -host node3:128 yade case.py",

Re: [Yade-users] [Question #703767]: About the transformation of the cohesivePhys interaction to the FrictPhys interaction

2022-11-14 Thread xuanshenyu
Question #703767 on Yade changed: https://answers.launchpad.net/yade/+question/703767 Status: Answered => Solved xuanshenyu confirmed that the question is solved: Thank you for your shearing about the CohFrictPhys, Jérôme. This Solved My Problem -- You received this question notificat

Re: [Yade-users] [Question #703805]: How to achieve the cohesion bond constraint between particles of CohFrictMat in code

2022-11-14 Thread xuanshenyu
Question #703805 on Yade changed: https://answers.launchpad.net/yade/+question/703805 Status: Answered => Solved xuanshenyu confirmed that the question is solved: Thank you for your patience. The two particles do not have the same velocity, and the velocity change of the particle with

Re: [Yade-users] [Question #703805]: How to achieve the cohesion bond constraint between particles of CohFrictMat in code

2022-11-13 Thread xuanshenyu
Question #703805 on Yade changed: https://answers.launchpad.net/yade/+question/703805 Status: Needs information => Open xuanshenyu gave more information on the question: ok, we also can write a case of merely two particles and add a constant force F(-100,0,0) at the particle of ID=0.

[Yade-users] [Question #703805]: How to achieve the cohesion bond constraint between particles of CohFrictMat in code

2022-11-12 Thread xuanshenyu
New question #703805 on Yade: https://answers.launchpad.net/yade/+question/703805 As we know, particles of CohFrictMat material can form cohesion bonds when they come into contact. Recently I have been learning the code related to CohFrictMat material(CohesiveFrictionalContactLaw.cpp and C

Re: [Yade-users] [Question #703767]: About the transformation of the cohesivePhys interaction to the FrictPhys interaction

2022-11-11 Thread xuanshenyu
Question #703767 on Yade changed: https://answers.launchpad.net/yade/+question/703767 Status: Answered => Open xuanshenyu is still having a problem: thanks for reply, Jan. I will have a try, changing the material with the following code: def change(): if O.iter

Re: [Yade-users] [Question #703767]: About the transformation of the cohesivePhys interaction to the FrictPhys interaction

2022-11-10 Thread xuanshenyu
Question #703767 on Yade changed: https://answers.launchpad.net/yade/+question/703767 Status: Answered => Open xuanshenyu is still having a problem: Thanks for your comment :) :) :) about MWE and the contact law. However, I also have one question about the contact law. Is it possible to

[Yade-users] [Question #703767]: About the transformation of the cohesivePhys interaction to the FrictPhys interaction

2022-11-08 Thread xuanshenyu
New question #703767 on Yade: https://answers.launchpad.net/yade/+question/703767 Hi,everyone! I write a case of merely two particles, in which the CohFritMat and Ip2_CohFrictMat_CohFrictMat_CohFrictPhys were used. Besides, I added a pair of opposing and periodic forces, which are line increase

Re: [Yade-users] [Question #703712]: Use quaternion to transform coordinate system in yade

2022-11-07 Thread xuanshenyu
Question #703712 on Yade changed: https://answers.launchpad.net/yade/+question/703712 Status: Answered => Solved xuanshenyu confirmed that the question is solved: Thanks for generous reply, that has solved my confused about the using of Quaternionr in Yade. -- You received this quest

Re: [Yade-users] [Question #703712]: Use quaternion to transform coordinate system in yade

2022-11-07 Thread xuanshenyu
Question #703712 on Yade changed: https://answers.launchpad.net/yade/+question/703712 xuanshenyu 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 #703712]: Use quaternion to transform coordinate system in yade

2022-11-03 Thread xuanshenyu
Question #703712 on Yade changed: https://answers.launchpad.net/yade/+question/703712 Description changed to: Hi,everyone! I try to use quaternion in yade source code to convert between granular coordinate system and geodetic coordinate system. Suppose there is a fixed point, p, on the particle,

[Yade-users] [Question #703712]: Use quaternion to transform coordinate system in yade

2022-11-03 Thread xuanshenyu
New question #703712 on Yade: https://answers.launchpad.net/yade/+question/703712 Hi,everyone! I try to use quaternion in yade source code to convert between granular coordinate system and geodetic coordinate system. Suppose there is a fixed point, p, on the particle, and its coordinate is p1 i

[Yade-users] [Question #703618]: About debug with Vscode

2022-10-26 Thread xuanshenyu
New question #703618 on Yade: https://answers.launchpad.net/yade/+question/703618 hello everyone! I am changing and developing some C++ code files of yade, and I want to debug by Vscode. So, do you have any experiences or suggestions for debug by Vscode. ##ubuntu20.04 ##Vscode1.72 Thanks fo

Re: [Yade-users] [Question #703419]: About the modifyication of the macro YADE_CLASS_BASE_DOC_ATTRS_CTOR in the class of NormPhys and NormshearPhys

2022-10-13 Thread xuanshenyu
Question #703419 on Yade changed: https://answers.launchpad.net/yade/+question/703419 Status: Answered => Solved xuanshenyu confirmed that the question is solved: ok, thanks -- You received this question notification because your team yade-users is an answer contact for Y

Re: [Yade-users] [Question #703419]: About the modifyication of the macro YADE_CLASS_BASE_DOC_ATTRS_CTOR in the class of NormPhys and NormshearPhys

2022-10-13 Thread xuanshenyu
Question #703419 on Yade changed: https://answers.launchpad.net/yade/+question/703419 Status: Answered => Open xuanshenyu is still having a problem: Thanks Jan, I have been to your trouble so many times :). >what are "self-defined parameters"? I have a brief introdution abo

Re: [Yade-users] [Question #703419]: About the modifyication of the macro YADE_CLASS_BASE_DOC_ATTRS_CTOR in the class of NormPhys and NormshearPhys

2022-10-10 Thread xuanshenyu
Question #703419 on Yade changed: https://answers.launchpad.net/yade/+question/703419 xuanshenyu posted a new comment: Thanks Jan, your reply is conducive to solves my problems, adding Phys attribute in NormshearPhys. However, there are some confusions about the self-defined geomtric

Re: [Yade-users] [Question #703419]: About the modifyication of the macro YADE_CLASS_BASE_DOC_ATTRS_CTOR in the class of NormPhys and NormshearPhys

2022-10-10 Thread xuanshenyu
Question #703419 on Yade changed: https://answers.launchpad.net/yade/+question/703419 xuanshenyu posted a new comment: Hi, Jan! Thanks for kind reply. I am modifing the cohesiveFrictioncontactLaw model by deviding the contact surface of sphere-sphere into some elements, maybe 8 or 16, whatever

[Yade-users] [Question #703419]: About the modifyication of the macro YADE_CLASS_BASE_DOC_ATTRS_CTOR in the class of NormPhys and NormshearPhys

2022-10-08 Thread xuanshenyu
New question #703419 on Yade: https://answers.launchpad.net/yade/+question/703419 Hi, everyone! I am modifing the macro YADE_CLASS_BASE_DOC_ATTRS_CTOR in the class of NormPhys and NormshearPhys. And, I add two lines code in NormshearPhys.hpp as below: #pragma once #include namespace yade { /

Re: [Yade-users] [Question #703320]: Confusion about learning code in CohesiveFrictionalContactLaw.cpp

2022-09-29 Thread xuanshenyu
Question #703320 on Yade changed: https://answers.launchpad.net/yade/+question/703320 Status: Answered => Solved xuanshenyu confirmed that the question is solved: Thanks for Jan's generous help, this is a great forum. My problem has been solved! -- You received this question noti

[Yade-users] [Question #703320]: Confusion about learning code in CohesiveFrictionalContactLaw.cpp

2022-09-27 Thread xuanshenyu
New question #703320 on Yade: https://answers.launchpad.net/yade/+question/703320 Hi, everyone I don't understand how 'the bool Law2_ScGeom6D_CohFrictPhys_CohesionMoment::go(shared_ptr& ig, shared_ptr& ip, Interaction* contact)' passes the updated normalForce to Phys. Although the code has

Re: [Yade-users] [Question #702938]: About the code of sphere 3D ratation in yade

2022-08-28 Thread xuanshenyu
Question #702938 on Yade changed: https://answers.launchpad.net/yade/+question/702938 Status: Answered => Open xuanshenyu is still having a problem: Thanks for your reply, Jan! >the mean is I want to the declear of quaternion and other parapmeter in C++ code, which are used to defin

[Yade-users] [Question #702938]: About the code of sphere 3D ratation in yade

2022-08-26 Thread xuanshenyu
New question #702938 on Yade: https://answers.launchpad.net/yade/+question/702938 Hello, everyone! I'm working on studying a new contact model based on the code of Yade. I want to call the pose shapes of the particles and their 3D rotations at each time step. But I didn't find code that handles

Re: [Yade-users] [Question #702815]: How to user-defined the shape of particle?

2022-08-25 Thread xuanshenyu
Question #702815 on Yade changed: https://answers.launchpad.net/yade/+question/702815 xuanshenyu gave more information on the question: Thanks for your share, Jan, I agree with your opinion. I also want to ask you a question about c++ code of yade. In which .cpp file is the code that implements

Re: [Yade-users] [Question #702815]: How to user-defined the shape of particle?

2022-08-19 Thread xuanshenyu
Question #702815 on Yade changed: https://answers.launchpad.net/yade/+question/702815 Status: Needs information => Open xuanshenyu gave more information on the question: Hi, Jan #1# I am sorry for my inaccurate description about the cylinder. The cylider, I'm talking a

Re: [Yade-users] [Question #702815]: How to user-defined the shape of particle?

2022-08-18 Thread xuanshenyu
Question #702815 on Yade changed: https://answers.launchpad.net/yade/+question/702815 Status: Needs information => Open xuanshenyu gave more information on the question: Hi, Jan I am currently studying the particle bonding model, Flat-Joint Contact Model (FJM), proposed by Profes

[Yade-users] [Question #702815]: How to user-defined the shape of particle?

2022-08-17 Thread xuanshenyu
New question #702815 on Yade: https://answers.launchpad.net/yade/+question/702815 Dear all, I want to user-defined a shape of particle by shpere and cylinder, which can improve the contact among particles. Thanks in advance. Shenyu -- You received this question notification because your team

Re: [Yade-users] [Question #702096]: Learning of ig2_ Sphere_ Sphere_ ScGeom.cpp

2022-06-13 Thread xuanshenyu
Question #702096 on Yade changed: https://answers.launchpad.net/yade/+question/702096 Status: Open => Solved xuanshenyu confirmed that the question is solved: ok, my question have been sloved. Thanks Jan for you help. Shenyu -- You received this question notification because your t

Re: [Yade-users] [Question #702096]: Learning of ig2_ Sphere_ Sphere_ ScGeom.cpp

2022-06-13 Thread xuanshenyu
Question #702096 on Yade changed: https://answers.launchpad.net/yade/+question/702096 Status: Answered => Open xuanshenyu is still having a problem: Hi, Jan Thank you very much for your kind reply. Now, I am learning the code of Yade about CohesiveFrictionalContactLaw.hpp and .cpp. Ca

Re: [Yade-users] [Question #702096]: Learning of ig2_ Sphere_ Sphere_ ScGeom.cpp

2022-06-08 Thread xuanshenyu
Question #702096 on Yade changed: https://answers.launchpad.net/yade/+question/702096 Status: Answered => Open xuanshenyu is still having a problem: Hi, Jan Thank you very much for your kind reply. I have understood several questions above. But I still have questions about the follow

[Yade-users] [Question #702096]: Learning of ig2_ Sphere_ Sphere_ ScGeom.cpp

2022-06-07 Thread xuanshenyu
New question #702096 on Yade: https://answers.launchpad.net/yade/+question/702096 Dear all, I am learning the code of Yade about interaction, but that is very difficulty. So I want to ask you to interpret the code of ig2_ Sphere_ Sphere_ ScGeom.cpp[1] ##l15~l22# 1 bool Ig2_Sphere_Sph

Re: [Yade-users] [Question #702038]: Learning code: From DEM theory to code implementation

2022-06-07 Thread xuanshenyu
Question #702038 on Yade changed: https://answers.launchpad.net/yade/+question/702038 Status: Needs information => Solved xuanshenyu confirmed that the question is solved: Thank you for your answer. I may need to continue thinking about this plan. -- You received this question notificat

[Yade-users] [Question #702038]: Learning code: From DEM theory to code implementation

2022-06-01 Thread xuanshenyu
New question #702038 on Yade: https://answers.launchpad.net/yade/+question/702038 Hi,everyone I have been using yade for a while. Now I want to develop a new contact model and embed it in Yade. Recently I'm learning YADE code, but there are many places I can't understand. Can you give some ad

Re: [Yade-users] [Question #701564]: Install yade in the centos7 system. After executing the make install command, an error is reported when compiling FlowEngine.cpp

2022-04-27 Thread xuanshenyu
Question #701564 on Yade changed: https://answers.launchpad.net/yade/+question/701564 xuanshenyu gave more information on the question: Thank you for your reply. The two posts are not the same, and I closed the other post (question 701378). I have configured it by referring to the link[1] , but

Re: [Yade-users] [Question #701378]: install Yade in centos7 system

2022-04-27 Thread xuanshenyu
Question #701378 on Yade changed: https://answers.launchpad.net/yade/+question/701378 Status: Open => Solved xuanshenyu confirmed that the question is solved: Thanks, I will refer to the link to configure and compile. -- You received this question notification because your team yade-us

[Yade-users] [Question #701564]: Install yade in the centos7 system. After executing the make install command, an error is reported when compiling FlowEngine.cpp

2022-04-27 Thread xuanshenyu
New question #701564 on Yade: https://answers.launchpad.net/yade/+question/701564 Hi,everyone I am compiling and installing yade in the centos7 system. Refer to [1]. After executing the make install command,some errors are reported when compiling FlowEngine.cpp. This seems to be related to the

[Yade-users] [Question #701378]: install Yade in centos7 system

2022-04-17 Thread xuanshenyu
New question #701378 on Yade: https://answers.launchpad.net/yade/+question/701378 I plan to install Yade in centos7 system. But while compiling it outputs a CmakeError file. Can you guys help analyze what's the problem? ###CmakeError.log### Determining if the pthread_create exist failed

Re: [Yade-users] [Question #701253]: The error of generating particles and importing .mesh file

2022-04-08 Thread xuanshenyu
Question #701253 on Yade changed: https://answers.launchpad.net/yade/+question/701253 Status: Answered => Solved xuanshenyu confirmed that the question is solved: Yes, you are right :). The unit system of the .mesh file is wrong Thank you for your quick answer. This Solved My Prob

Re: [Yade-users] [Question #701253]: The error of generating particles and importing .mesh file

2022-04-08 Thread xuanshenyu
Question #701253 on Yade changed: https://answers.launchpad.net/yade/+question/701253 Status: Needs information => Open xuanshenyu gave more information on the question: Hi,Jan Thank you for your reminder. >but the particles are not generated I examined O.bodies by command and foun

[Yade-users] [Question #701253]: The error of generating particles and importing .mesh file

2022-04-08 Thread xuanshenyu
New question #701253 on Yade: https://answers.launchpad.net/yade/+question/701253 Hi all, I'm simulating the collision of a rigid body (.mesh file and FrictMat) with a brittle material (sphere and CohFrictMa). Below is my script : from yade import pack from numpy import genfromtxt from yade

Re: [Yade-users] [Question #701161]: Knowing the particle coordinates, generate sphere particles in batches

2022-04-05 Thread xuanshenyu
Question #701161 on Yade changed: https://answers.launchpad.net/yade/+question/701161 Status: Open => Solved xuanshenyu confirmed that the question is solved: thank you Jan. My problem has been solved. -- You received this question notification because your team yade-users is an ans

Re: [Yade-users] [Question #701161]: Knowing the particle coordinates, generate sphere particles in batches

2022-04-02 Thread xuanshenyu
Question #701161 on Yade changed: https://answers.launchpad.net/yade/+question/701161 Status: Answered => Open xuanshenyu is still having a problem: Hi,Jan I'm sorry for inappropriate expression. First, I know the coordinates of sphere particle, and they are saved in CSV or t

[Yade-users] [Question #701161]: Knowing the particle coordinates, generate sphere particles in batches

2022-03-31 Thread xuanshenyu
New question #701161 on Yade: https://answers.launchpad.net/yade/+question/701161 Hi, everyone! In a certain area, I want to compose some polygons with a lot of particles[1]. I now have the coordinates file (csv) of the sphere particles[2]. How can I call this file to generate sphere particles

Re: [Yade-users] [Question #701098]: Ask for an example for simulating damage

2022-03-31 Thread xuanshenyu
Question #701098 on Yade changed: https://answers.launchpad.net/yade/+question/701098 Status: Answered => Solved xuanshenyu confirmed that the question is solved: Hi, Jan Thanks for your brainstorming about my question, which is important for me. There is a Chinese proverb called "

Re: [Yade-users] [Question #701098]: Ask for an example for simulating damage

2022-03-31 Thread xuanshenyu
Question #701098 on Yade changed: https://answers.launchpad.net/yade/+question/701098 Status: Answered => Open xuanshenyu is still having a problem: Hi, Jan Thank you very much for your kind reply. It's about my PhD thesis, and the research group has an HPC cluster. So, I am now

Re: [Yade-users] [Question #701098]: Ask for an example for simulating damage

2022-03-28 Thread xuanshenyu
Question #701098 on Yade changed: https://answers.launchpad.net/yade/+question/701098 Status: Needs information => Open xuanshenyu gave more information on the question: Hi, Jan Thank you very much for your kind reply. > ocean structure ship, simulate as a rigid body. > the

Re: [Yade-users] [Question #701098]: Ask for an example for simulating damage

2022-03-28 Thread xuanshenyu
Question #701098 on Yade changed: https://answers.launchpad.net/yade/+question/701098 Status: Needs information => Open xuanshenyu gave more information on the question: Hi, Jan Thank you very much for your kind reply. My topic is to simulate the interaction between sea ice, a brit

[Yade-users] [Question #701098]: Ask for an example for simulating damage

2022-03-28 Thread xuanshenyu
New question #701098 on Yade: https://answers.launchpad.net/yade/+question/701098 Hello everyone, I think YADE is a good discrete element open source software. I plan to use it to do some research on fracture damage. Hope someone can share some excellent fracture simulation files! Thank you fo