Re: [Yade-users] [Question #703208]: Problem with using blockCell command in flow/thermal engine
Question #703208 on Yade changed: https://answers.launchpad.net/yade/+question/703208 Zoheir Khademian posted a new comment: Thanks Robert and no problem. Looking forward to your response. I will post my progress on the issue, if any, here. Zoheir -- 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #703284]: If the PeriodicFlowEngine can simulate the oedometer test
Question #703284 on Yade changed: https://answers.launchpad.net/yade/+question/703284 Status: Answered => Open Gao Xiang is still having a problem: Hello, Bruno, Thanks for your answer, if I want to generate a periodic RVE for multiscale problems by PeriTriaxController and PeriodicFlowEngine, and the RVE is homogeneous with gradP=0? Furthermore, I want to simulate the hydraulic condition of RVE, such as the pressure and permeability, and obtain the mechanical response(stress). Therefore, the questions are: Q1. In the periodic RVE that is subjected to different pressure and loading conditions, could the setting of pressure be applied by flow.imposePressure()? Q2. The permeability of the periodic RVE can be obtained by flow.averageVelocity(). Sorry to repeat the question Q1 and Q2 again, I just want to make sure I figure out it. Q3. if flow.getPorePressure returns a pressure value of a specific position, how to calculate the pressure of RVE with homogeneous assumption. Q4. The stress of PeriTriaxController (triax.stress) is the total stress or effective stress I hope I made my question clear, looking forwards to your reply. Thank you again! Xiang GAO -- 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #702554]: Can I use Capillary and Lubrication Laws at the same time?
Question #702554 on Yade changed: https://answers.launchpad.net/yade/+question/702554 seo ali posted a new comment: there is no limitation against these two laws in code so i think you can use these two at same time. https://testofpurity.com/ -- 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #703434]: Force unit for wall bodies
Question #703434 on Yade changed: https://answers.launchpad.net/yade/+question/703434 Status: Answered => Solved Lukas Wasner 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. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #703434]: Force unit for wall bodies
Question #703434 on Yade changed: https://answers.launchpad.net/yade/+question/703434 Status: Open => Answered Jan Stránský proposed the following answer: Hello, > A first thought was that the force Fz is a resultant concentrated load acting on the plate. If this is the case, would I just need to divide Fz by the load area to get the area-based stress (same input unit sigma as TriaxialStressController)? Yes, Fz is force, no involvement of area. To get (area-based) stress, divide force with corresponding area. Cheers Jan -- 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
[Yade-users] [Question #703434]: Force unit for wall bodies
New question #703434 on Yade: https://answers.launchpad.net/yade/+question/703434 Hello, I am currently reviewing several approaches to apply a Defined Load or Stress to my particle body. I want to compare the approach via TriaxialStressController (input value is the stress sigma=F/A) and via a displacement controlled settlement until a target stress is reached. In the example script [1] for an oedometer test, the force Fz on a wall body is used. This is determined via O.forces.f(plate.id)[2]. ([2] is the third axis and not reference no. 2). Unfortunately, it is not clear to me how to interpret the force Fz, since the wall body represents an infinite plane. A first thought was that the force Fz is a resultant concentrated load acting on the plate. If this is the case, would I just need to divide Fz by the load area to get the area-based stress (same input unit sigma as TriaxialStressController)? Alternatively, could the force Fz be an area load? How do I then proceed to calculate a stress from this? [1]: https://gitlab.com/yade-dev/trunk/blob/master/doc/sphinx/tutorial/03-oedometric-test.py Many thanks, Lukas -- 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #703419]: About the modifyication of the macro YADE_CLASS_BASE_DOC_ATTRS_CTOR in the class of NormPhys and NormshearPhys
Question #703419 on Yade changed: https://answers.launchpad.net/yade/+question/703419 Jan Stránský proposed the following answer: Have a look at documentation [1]. If it should be array of Vector3r, then it must have different type then Vector3r, the easiest is probably vector The name must be valid C++/python variable name (i.e. without brackets). Or you can make it C++ only, and then expose the name as a property as e.g. state.pos [2] Or ... many more options, depending on your needs. Cheers Jan [1] https://yade-dem.org/doc/prog.html#yade-class-base-doc-macro-family [2] https://gitlab.com/yade-dev/trunk/-/blob/master/core/State.hpp#L87 -- 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #703247]: Run several unloading tests together
Question #703247 on Yade changed: https://answers.launchpad.net/yade/+question/703247 Status: Answered => Solved Yu Tian 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. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #703419]: About the modifyication of the macro YADE_CLASS_BASE_DOC_ATTRS_CTOR in the class of NormPhys and NormshearPhys
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 there are a lot of problems to solve here. ##((Vector3r,elemnormalForce[15],Vector3r::Zero(),,"normal force for element in notion surface,the 15 merely is a especialy instance with 16 elements on the notion surface")), ## The first line code was used to save the normalForce of 16 elements in contact surface or notion surface by a vector array. Could you give me some advices for this? Thanks for your help in advance. -- 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #703247]: Run several unloading tests together
Question #703247 on Yade changed: https://answers.launchpad.net/yade/+question/703247 Jérôme Duriez posted a new comment: Hi, your error look to relate with an attempted use of parallel computing, which would be impossible. Did you use -j someNumber option when launching your yade simulation combining all unloads in one ?.. Generally speaking, I would advise you first try your intended "running several tests together from previous saves" workflow on much simpler YADE simulations and scripts (even if it has nothing to do with your final goal, e.g. just 1 or 2 spheres). It would much increase your / our chances to see exactly where the problem is. -- 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #703247]: Run several unloading tests together
Question #703247 on Yade changed: https://answers.launchpad.net/yade/+question/703247 Status: Open => Answered Jan Stránský proposed the following answer: > (2) If I put two or more .bz2 files into the folder “input”, only the last > .bz2 file can be called > > def Yade_unload(filename): > ... > O.run() After O.run(), next commands (next loop) are executed immediately, therefore you get only the last run. Add O.wait() or some other stop/wait condition. > I try the yade-batch with what command you try it? > And according to the .log file, the error is: seems like some IPython error, I have no idea what it is or how to fix it Cheers Jan -- 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #703428]: How to get a stress map?
Question #703428 on Yade changed: https://answers.launchpad.net/yade/+question/703428 Status: Open => Answered Jan Stránský proposed the following answer: Hello, > how can I get these stress sizes, [1] > is there a way to get the stress map of these particles directly? [1,2] what does "stress map" and "directly" mean? Cheers Jan [1] https://yade-dem.org/doc/yade.utils.html#yade._utils.bodyStressTensors [2] https://yade-dem.org/doc/user.html#micro-stress-and-micro-strain -- 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #703292]: How to set the weight of particles?
Question #703292 on Yade changed: https://answers.launchpad.net/yade/+question/703292 Jan Stránský proposed the following answer: > Can the O.forces.setPermF(0,(1,0,0)) mentioned specify the range of applied force? For example, I need to apply force within the interval of (2,3). what does "range of applied force" mean? force varying in time? setPermF sets one specific value, no range. But you can change the value whenever you want (even every time step) to whatever value you want. > Also, how to understand "The only way is to place PyRunner in a simulated loop.", It is talking about O.forces.addF (not setPermF). If you use O.forces.addF after NewtonIntegrator but before ForceResetter (so basically outside O.engines), the force added by addF is reset by ForceResetter. The only (sensible) way to make it actually applied is to put addF in PyRunner between ForceResetter and NewtonIntegrator. > I need to set a permanent force, set a function PerpetualPower(), and add PyRunner (command='PerpetualPower()', realPeriod=2) to the engines, is this feasible? I see nothing making it not feasible. Cheers Jan -- 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #703427]: How I can save my work in the simulation?
Question #703427 on Yade changed: https://answers.launchpad.net/yade/+question/703427 Status: Open => Needs information Jan Stránský requested more information: Hello, > I have some questions. please open separate questions for separate problems ([1], point 5). Let's leave this thread for save stuff (according to the title). Please open separate questions for the other topics: - How can I record the simulation for long periods of time? - How can I create surfaces or a pack of spheres on an inclined plane? Provide more information to make the questions meaningful [1]. > How can I save the simulation I have and use it again later at another point in the simulation, within the same code? There are many options and approaches, please be (much) more specific what the use case should be. What does "later at another point in the simulation" mean? What does "within the same code" mean? Some options / approaches: - save to file / save to memory? - one simulation / separate simulations? - saving python stuff? - save entire simulation, or just e.g. particle positions? - ...? Cheers Jan [1] https://www.yade-dem.org/wiki/Howtoask -- 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #703419]: About the modifyication of the macro YADE_CLASS_BASE_DOC_ATTRS_CTOR in the class of NormPhys and NormshearPhys
Question #703419 on Yade changed: https://answers.launchpad.net/yade/+question/703419 Status: Open => Answered Jan Stránský proposed the following answer: Hello, > I add two lines code please emphasize the two lines / the change / diff /... This way it is not very convenient to search the changes.. > There are the errors as below: > /home/xuan/Desktop/yade_1/trunk/pkg/common/NormShearPhys.hpp:13:139: error: > expected ‘(’ before ‘[’ token even they may look a bit cryptic, usually the most important errors are at the top. In this case it seems like some syntax problem. Maybe "elemnormalForce[15]"? What should it do? The field is attribute name "[15]" does not make sense.. Cheers Jan -- 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp