Re: [Yade-users] [Question #700315]: Open MPI - spawn processes

2022-02-10 Thread Bruno Chareyre
Question #700315 on Yade changed: https://answers.launchpad.net/yade/+question/700315 Bruno Chareyre posted a new comment: Hi, for clarity: - did you compile openmpi with intel or gcc? - then do you use that with singularity or with yade compiled on the cluster? Bruno -- You received

Re: [Yade-users] [Question #700315]: Open MPI - spawn processes

2022-02-01 Thread Bruno Chareyre
Question #700315 on Yade changed: https://answers.launchpad.net/yade/+question/700315 Bruno Chareyre posted a new comment: A walkthrough of Intel compilation would be valuable, especially if it's less trivial than just changing the compiler (it needs linkage to more dynamic libraries iirc

Re: [Yade-users] [Question #700434]: InsertionSortCollider SortAxis : does axis choice make a difference to speed?

2022-02-01 Thread Bruno Chareyre
Question #700434 on Yade changed: https://answers.launchpad.net/yade/+question/700434 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, in a scene which is very elongated along Y-axis it could increase performance a little to choose Y as the first sorting a

Re: [Yade-users] [Question #700411]: Aborted (core dumped) occured when I use the Hertz-Minlin contact law with non-zero krot and eta

2022-01-28 Thread Bruno Chareyre
Question #700411 on Yade changed: https://answers.launchpad.net/yade/+question/700411 Bruno Chareyre posted a new comment: > the time step suddenly drops to 0 Zero exactly? -- You received this question notification because your team yade-users is an answer contact for Y

Re: [Yade-users] [Question #700164]: External Moving Object using MPI

2022-01-28 Thread Bruno Chareyre
Question #700164 on Yade changed: https://answers.launchpad.net/yade/+question/700164 Status: Open => Answered Bruno Chareyre proposed the following answer: Ah indeed, it's not easy to find: examples/DEM2020Benchmark/Case2_rotating_drum_mpi.py B. -- You received this question notificat

Re: [Yade-users] [Question #700213]: PeriTriaxController not initiating next stage

2022-01-27 Thread Bruno Chareyre
Question #700213 on Yade changed: https://answers.launchpad.net/yade/+question/700213 Bruno Chareyre proposed the following answer:  > # allow faster deformation along x,y to better maintain stresses  > triax.maxStrainRate = (0, 0, 0.005) 0 is faster? ;) B -- You received this qu

Re: [Yade-users] [Question #700164]: External Moving Object using MPI

2022-01-27 Thread Bruno Chareyre
Question #700164 on Yade changed: https://answers.launchpad.net/yade/+question/700164 Bruno Chareyre posted a new comment: Hi, sorry for late reply. I don't have time to investigate this in details at the moment, but you seem to be pretty close to the rotating drum MPI-example. Maybe checking

Re: [Yade-users] [Question #700315]: Open MPI - spawn processes

2022-01-27 Thread Bruno Chareyre
Question #700315 on Yade changed: https://answers.launchpad.net/yade/+question/700315 Bruno Chareyre requested more information: Is it a cluster you're admin of? -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #700411]: Aborted (core dumped) occured when I use the Hertz-Minlin contact law with non-zero krot and eta

2022-01-27 Thread Bruno Chareyre
Question #700411 on Yade changed: https://answers.launchpad.net/yade/+question/700411 Bruno Chareyre posted a new comment: Hi, It could be that a high torsional stiffness needs a smaller timestep, so that you get a classical numerical instability if you keep it the same

Re: [Yade-users] yade website pb.

2022-01-21 Thread Bruno Chareyre
Still not fixed, I'm sorry, but here's an update: I found that the security barriers of Chromium were lower than those of Firefox. The site is actually accessible with the former - and probably other browsers too. Bruno On 20/01/2022 12:05, Bruno Chareyre wrote: Dear all, We are updating

[Yade-users] yade website pb.

2022-01-20 Thread Bruno Chareyre
Dear all, We are updating a certificate on yade server and right now the site is not accessible. It should be fixed quickly. In the meantime you can browse the documentation offline like this: /apt install yadedaily-doc// //firefox /usr/share/doc/yadedaily-doc/html/index.html &/ Regards

Re: [Yade-users] [Question #700102]: getSaturation - 2PFV

2022-01-06 Thread Bruno Chareyre
Question #700102 on Yade changed: https://answers.launchpad.net/yade/+question/700102 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, I'm afraid the code is the only documentation right now. Any example script? Bruno -- You received this question notificat

Re: [Yade-users] [Question #699998]: How to simulate small-strain triaxial compression test

2022-01-06 Thread Bruno Chareyre
Question #68 on Yade changed: https://answers.launchpad.net/yade/+question/68 Bruno Chareyre posted a new comment: Transitioning between phases is often based on the ubalanced force (see "stabilityThreshold=0.01"). That's basically a residual amount of dynamic noise we acce

Re: [Yade-users] [Question #700031]: postprocessing data with tassellationWrapper

2022-01-06 Thread Bruno Chareyre
Question #700031 on Yade changed: https://answers.launchpad.net/yade/+question/700031 Bruno Chareyre posted a new comment: Hi, Just a quick comment. "Not seeing distinct features" is somewhat expected in most cases. Persistent shear bands are never fully persistent and always a bit

Re: [Yade-users] [Question #699838]: SWRC curve for fine-grained soil

2021-12-14 Thread Bruno Chareyre
Question #699838 on Yade changed: https://answers.launchpad.net/yade/+question/699838 Status: Open => Answered Bruno Chareyre proposed the following answer: > I guess the main problem is in terms of pore network which is not well molded since the PSD couldn't match with the real PSD I

[Yade-users] New bibliograpĥic reference for Yade (please update your database)

2021-12-09 Thread Bruno Chareyre
vite you all to consider contributing to yade if you have written something which may be used by others. Best Regards Bruno Chareyre [1] https://www.yade-dem.org/doc/citing.html -- ___ Bruno Chareyre Associate Professor 3SR lab., ENSE³, Grenoble INP Tél : +33 4 56 52 86 21 __

Re: [Yade-users] [Question #679515]: How to have a constant-p simulations with periodic boundary condition?

2021-12-09 Thread Bruno Chareyre
Question #679515 on Yade changed: https://answers.launchpad.net/yade/+question/679515 Bruno Chareyre posted a new comment: Hi, You need to write a servo-control loop since ultimately the velocity gradient is the only thing you can really impose. Typically: impose strain rate in one direction

Re: [Yade-users] [Question #699428]: Cannot simulate periodic box with walls

2021-11-15 Thread Bruno Chareyre
Question #699428 on Yade changed: https://answers.launchpad.net/yade/+question/699428 Bruno Chareyre posted a new comment: Hi Danny, I didn't read all posts in details but I suspect Jan already suggested how to proceed: insert boxes and impose their velocities. Meanwhile the periodic cell should

Re: [Yade-users] [Question #698754]: Making video of pfacet clump: clump falling apart

2021-09-23 Thread Bruno Chareyre
Question #698754 on Yade changed: https://answers.launchpad.net/yade/+question/698754 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, this ugly hack works for me. Depending on the latency of the OS you may have to adjust the sleep() times. I'm considering add

Re: [Yade-users] [Question #698825]: Yade-batch is being indeterministic

2021-09-22 Thread Bruno Chareyre
Question #698825 on Yade changed: https://answers.launchpad.net/yade/+question/698825 Bruno Chareyre requested more information: Hi, This is intriguing. You can print this from within the script to be sure: print("OMP_NUM_THREADS=",os.environ['OMP_NUM_THREADS'] ) Then inspect the

Re: [Yade-users] [Question #698388]: MPI with Clumps Particles

2021-09-21 Thread Bruno Chareyre
Question #698388 on Yade changed: https://answers.launchpad.net/yade/+question/698388 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, I can imagine why it fails. Do you confirm the problem without the motion engines? Possible directions for solving the problem

Re: [Yade-users] [Question #697642]: Many errors with PeriodicFlowEngine

2021-07-07 Thread Bruno Chareyre
Question #697642 on Yade changed: https://answers.launchpad.net/yade/+question/697642 Status: Open => Answered Bruno Chareyre proposed the following answer: > I tried to modify my code, but it failed. I don't know what's wrong with it. I was wondering if you can help me. This

Re: [Yade-users] [Question #697642]: Many errors with PeriodicFlowEngine

2021-07-05 Thread Bruno Chareyre
Question #697642 on Yade changed: https://answers.launchpad.net/yade/+question/697642 Status: Open => Answered Bruno Chareyre proposed the following answer: > I delete partilces in the code: Indeed, my bad. > According to your prompt, I run my code without deleting

Re: [Yade-users] [Question #697642]: Many errors with PeriodicFlowEngine

2021-07-02 Thread Bruno Chareyre
Question #697642 on Yade changed: https://answers.launchpad.net/yade/+question/697642 Status: Open => Needs information Bruno Chareyre requested more information: Do you confirm that the older engine is replaced after this (the indices 3 &4 where just random examples in my post)? Al

Re: [Yade-users] [Question #697642]: Many errors with PeriodicFlowEngine

2021-07-01 Thread Bruno Chareyre
Question #697642 on Yade changed: https://answers.launchpad.net/yade/+question/697642 Status: Open => Answered Bruno Chareyre proposed the following answer: Just replace it with a new one in O.engines. Something like: O.engines = O.engines[:3]+FlowEngine()+O.engines[4:] B -- You recei

Re: [Yade-users] [Question #697642]: Many errors with PeriodicFlowEngine

2021-06-23 Thread Bruno Chareyre
Question #697642 on Yade changed: https://answers.launchpad.net/yade/+question/697642 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, removing particles is not expected with flow engine. I think the simplest solution is to delete the previous FlowEngine af

Re: [Yade-users] [Question #697526]: CHOLMOD warning: matrix not positive definite

2021-06-16 Thread Bruno Chareyre
Question #697526 on Yade changed: https://answers.launchpad.net/yade/+question/697526 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, It can happen that LDL fails for numerical reason, then the solver switches to LDLt, which is more stable. I _could_ be a s

Re: [Yade-users] [Question #697249]: extMaterial in cylinderConnection gridpfacet.py not used

2021-05-26 Thread Bruno Chareyre
Question #697249 on Yade changed: https://answers.launchpad.net/yade/+question/697249 Bruno Chareyre proposed the following answer: https://gitlab.com/yade- dev/trunk/-/commit/f9335f8a34cfdcccb90a7fce5d16893aaf43166b Should be merged soon. Thanks for pointing this out. Bruno -- You received

Re: [Yade-users] [Question #697238]: SnapshotEngine doesn't work

2021-05-26 Thread Bruno Chareyre
Question #697238 on Yade changed: https://answers.launchpad.net/yade/+question/697238 Bruno Chareyre posted a new comment: I'll look into it. Thank you Jan for the hints. Bruno -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #697249]: extMaterial in cylinderConnection gridpfacet.py not used

2021-05-26 Thread Bruno Chareyre
Question #697249 on Yade changed: https://answers.launchpad.net/yade/+question/697249 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, The internal interactions use nodes material while the external interactions use connexion/pfacet materials. So (from the

Re: [Yade-users] [Question #697108]: Porosity overlapping particles

2021-05-25 Thread Bruno Chareyre
Question #697108 on Yade changed: https://answers.launchpad.net/yade/+question/697108 Status: Open => Answered Bruno Chareyre proposed the following answer: If you have no clear idea, I think best by default is to assume 4/3*πR^3 is still a good approximation for the volumes of the defor

Re: [Yade-users] [Question #697108]: Porosity overlapping particles

2021-05-25 Thread Bruno Chareyre
Question #697108 on Yade changed: https://answers.launchpad.net/yade/+question/697108 Status: Needs information => Answered Bruno Chareyre proposed the following answer: > I would define correct porosity as the total volume of void space in the compacts. Right. But what what

Re: [Yade-users] [Question #697195]: How to set the PeriodicFlowEngine

2021-05-24 Thread Bruno Chareyre
Question #697195 on Yade changed: https://answers.launchpad.net/yade/+question/697195 Bruno Chareyre proposed the following answer: As the name suggests, PeriodicFlowEngine is for periodic (no-)boundary condition. So no it is not really a "boundary" value problem. It is a periodic fie

Re: [Yade-users] [Question #697195]: How to set the PeriodicFlowEngine

2021-05-24 Thread Bruno Chareyre
Question #697195 on Yade changed: https://answers.launchpad.net/yade/+question/697195 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, 1/ No, if it is periodic there is just no walls. You simply impose a macroscopic pressure gradient. (well... it really depe

Re: [Yade-users] [Question #697174]: Facing problem with option in YADE that simulates grains similar to particle packing through Boundary contraction procedure in PFC 3D

2021-05-24 Thread Bruno Chareyre
Question #697174 on Yade changed: https://answers.launchpad.net/yade/+question/697174 Status: Open => Answered Bruno Chareyre proposed the following answer: Please check examples/triax-tutorial/script1.py, where the same engine is used to generate initial packing then apply deviato

Re: [Yade-users] [Question #697174]: Facing problem with option in YADE that simulates grains similar to particle packing through Boundary contraction procedure in PFC 3D

2021-05-21 Thread Bruno Chareyre
Question #697174 on Yade changed: https://answers.launchpad.net/yade/+question/697174 Status: Open => Answered Bruno Chareyre proposed the following answer: (sorry for sending earlier answer to users list, here it is) Hi, The problem is you parameters are extreme and the servo cont

Re: [Yade-users] [Question #697174]: Facing problem with option in YADE that simulates grains similar to particle packing through Boundary contraction procedure in PFC 3D

2021-05-21 Thread Bruno Chareyre
Hi, The problem is you parameters are extreme and the servo control of boundaries doesn't like that: Super-high stiffness with super low confinement. If you visualize interaction forces in the 3D view you can see that they keep blinking, that's because the walls struggle to maintain a constant

Re: [Yade-users] [Question #697104]: Contact angle FlowEngine

2021-05-18 Thread Bruno Chareyre
Question #697104 on Yade changed: https://answers.launchpad.net/yade/+question/697104 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, Indeed, TwoPhaseFlowEngine is assuming perfect wetting for now. It wouldn't be too difficult to generalize to any contact an

Re: [Yade-users] [Question #697108]: Porosity overlapping particles

2021-05-18 Thread Bruno Chareyre
Question #697108 on Yade changed: https://answers.launchpad.net/yade/+question/697108 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, I agree with Jérôme: this is a weird case. First question is: how would you define the "correct" porosity with wo

Re: [Yade-users] [Question #696906]: 3D view black

2021-05-07 Thread Bruno Chareyre
Question #696906 on Yade changed: https://answers.launchpad.net/yade/+question/696906 Status: Open => Answered Bruno Chareyre proposed the following answer: > Should I have a look to the driver of the graphic card ? I have no clue. :) B -- You received this question notification b

Re: [Yade-users] [Question #696480]: PFacet model - contact data mining

2021-05-05 Thread Bruno Chareyre
Question #696480 on Yade changed: https://answers.launchpad.net/yade/+question/696480 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi Paul, I did not check all details but here are quick answers. I would say the excess interactions you see are just virt

Re: [Yade-users] [Question #696906]: 3D view black

2021-05-04 Thread Bruno Chareyre
Question #696906 on Yade changed: https://answers.launchpad.net/yade/+question/696906 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi Raphaël, I would suspect graphic card or driver. Could you try the command "glxgears" (apt install mesa-utils)? Do

Re: [Yade-users] [Question #696648]: Image and erase

2021-05-04 Thread Bruno Chareyre
Question #696648 on Yade changed: https://answers.launchpad.net/yade/+question/696648 Bruno Chareyre proposed the following answer: Is #6 not enough to avoid the issue? I understand what you want is to produce an image without the wall, isn't it? Bruno -- You received this question

Re: [Yade-users] [Question #696704]: How to get P-wave and S-wave velocity

2021-04-28 Thread Bruno Chareyre
Question #696704 on Yade changed: https://answers.launchpad.net/yade/+question/696704 Bruno Chareyre proposed the following answer: Hi, PWave velocity is (bulk modulus /density)**0.5 with "modulus" and "density" defined at the macroscale. For density it is simply mat.d

Re: [Yade-users] [Question #696648]: Image and erase

2021-04-20 Thread Bruno Chareyre
Question #696648 on Yade changed: https://answers.launchpad.net/yade/+question/696648 Bruno Chareyre posted a new comment: Note: if you want to just "not show" (instead of "delete") you can also use this: In [2]: rr=yade.qt.Renderer()

Re: [Yade-users] [Question #696515]: How to use interactionDetectionFactor(>1) to create distance interactions in Ig2_Sphere_Sphere_ScGeom?

2021-04-17 Thread Bruno Chareyre
Question #696515 on Yade changed: https://answers.launchpad.net/yade/+question/696515 Bruno Chareyre proposed the following answer: Sorry for poor typing, here is the version with punctuation and less typos: I would say no. interactiondetectionfactor must be large enough to catch all meaningfull

Re: [Yade-users] [Question #696515]: How to use interactionDetectionFactor(>1) to create distance interactions in Ig2_Sphere_Sphere_ScGeom?

2021-04-17 Thread Bruno Chareyre
Question #696515 on Yade changed: https://answers.launchpad.net/yade/+question/696515 Status: Open => Answered Bruno Chareyre proposed the following answer: > their crosssection calculation still pi * Rmin ^ 2[8]? If so, is the value of radius should multiplied by interactiondetection

Re: [Yade-users] [Question #696604]: Spheres interactions in a clump

2021-04-16 Thread Bruno Chareyre
Question #696604 on Yade changed: https://answers.launchpad.net/yade/+question/696604 Status: Open => Needs information Bruno Chareyre requested more information: Hi, please post the script, not parts of it. https://yade-dem.org/wiki/Howtoask Bruno -- You received this quest

Re: [Yade-users] [Question #696598]: Deactivating NewtonIntegrator.gravity on just a group of particles in the model

2021-04-16 Thread Bruno Chareyre
Question #696598 on Yade changed: https://answers.launchpad.net/yade/+question/696598 Bruno Chareyre proposed the following answer: By order of performance I would say, probably: 1. add forces selectively 2. add counter-forces selectively 3. gravity engine #4 (it implies one more loop

Re: [Yade-users] [Question #696598]: Deactivating NewtonIntegrator.gravity on just a group of particles in the model

2021-04-16 Thread Bruno Chareyre
Question #696598 on Yade changed: https://answers.launchpad.net/yade/+question/696598 Bruno Chareyre proposed the following answer: Hi, > A simple workaround is to apply "opposite force" on "gravity-free" particles. Indeed. Or even set null gravity and assign weig

Re: [Yade-users] [Question #696515]: How to use interactionDetectionFactor(>1) to create distance interactions in Ig2_Sphere_Sphere_ScGeom?

2021-04-14 Thread Bruno Chareyre
Question #696515 on Yade changed: https://answers.launchpad.net/yade/+question/696515 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, I would say yes. It will calculate data needed for any functor coming later to the interaction later on. What _will_ be d

Re: [Yade-users] [Question #696376]: Contact between sphere-gridconnection not detected in a pfacet edge

2021-04-09 Thread Bruno Chareyre
Question #696376 on Yade changed: https://answers.launchpad.net/yade/+question/696376 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, Additional bugs could be discussed directly hre: https://gitlab.com/yade-dev/trunk/-/issues/210 Bruno -- You recei

Re: [Yade-users] [Question #696433]: kdevelop

2021-04-07 Thread Bruno Chareyre
Question #696433 on Yade changed: https://answers.launchpad.net/yade/+question/696433 Status: Open => Answered Bruno Chareyre proposed the following answer: > how I use YADE in/with kdevelop If "use" means to run a python script with yade to produce results then I don't k

Re: [Yade-users] [Question #696433]: kdevelop

2021-04-07 Thread Bruno Chareyre
Question #696433 on Yade changed: https://answers.launchpad.net/yade/+question/696433 Bruno Chareyre posted a new comment: Hi, your use case is not clear. What does it mean to "compile YADE kdevelop"? "I did not get any response", which response did you expect? "run the s

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-04-06 Thread Bruno Chareyre
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Status: Open => Answered Bruno Chareyre proposed the following answer: In fact when it is a new bug better start a new thread (if on launchpad), or even better report an "issue" directly on

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-04-06 Thread Bruno Chareyre
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Bruno Chareyre posted a new comment: Thanks. Re-posted here: https://gitlab.com/yade-dev/trunk/-/issues/214 Bruno -- You received this question notification because your team yade-users is an answer contact

Re: [Yade-users] [Question #696307]: Recompile Haustein Source code

2021-03-30 Thread Bruno Chareyre
Question #696307 on Yade changed: https://answers.launchpad.net/yade/+question/696307 Bruno Chareyre posted a new comment: I guess you wanted to thank Anton. Let us know if current source trunk code is not working. B -- You received this question notification because your team yade-users

Re: [Yade-users] [Question #696307]: Recompile Haustein Source code

2021-03-30 Thread Bruno Chareyre
Question #696307 on Yade changed: https://answers.launchpad.net/yade/+question/696307 Status: Open => Answered Bruno Chareyre proposed the following answer: You could try and reproduce Haustein's changes as shown in their repository. See [1] (first one in the list). What you want is to

Re: [Yade-users] [Question #696307]: Recompile Haustein Source code

2021-03-30 Thread Bruno Chareyre
Question #696307 on Yade changed: https://answers.launchpad.net/yade/+question/696307 Status: Open => Answered Bruno Chareyre proposed the following answer: So you confirm that the SoftwareX version as a feature that yade/trunk doesn't have? I didn't expect. In that case you sho

Re: [Yade-users] [Question #696307]: Recompile Haustein Source code

2021-03-30 Thread Bruno Chareyre
Question #696307 on Yade changed: https://answers.launchpad.net/yade/+question/696307 Status: Open => Answered Bruno Chareyre proposed the following answer: > Did you check if the feature was/not in latest versions before compiling that one? -- You received this question notifi

Re: [Yade-users] [Question #696307]: Recompile Haustein Source code

2021-03-30 Thread Bruno Chareyre
Question #696307 on Yade changed: https://answers.launchpad.net/yade/+question/696307 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, Since the code you link is not maintained it is expected that the build procedure will fail with newer systems at some po

Re: [Yade-users] [Question #696260]: yade container image 20.04 can't run on centos

2021-03-30 Thread Bruno Chareyre
Question #696260 on Yade changed: https://answers.launchpad.net/yade/+question/696260 Bruno Chareyre posted a new comment: Wow! Thanks for solution. It might help others. Another solution should be to use an older linux version [1]. They all have updated version if you use "yadedaily &quo

Re: [Yade-users] [Question #696270]: Is there a way to create a model with different permeabilities

2021-03-27 Thread Bruno Chareyre
Question #696270 on Yade changed: https://answers.launchpad.net/yade/+question/696270 Bruno Chareyre proposed the following answer: Yes (without changing source code): create a layer with a gradient in particle sizes. Bruno -- You received this question notification because your team yade

Re: [Yade-users] [Question #696260]: yade container image 20.04 can't run on centos

2021-03-26 Thread Bruno Chareyre
Question #696260 on Yade changed: https://answers.launchpad.net/yade/+question/696260 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, Thank you for reporting. I'm afraid it is a question for singularity/docker/centos devs, more than yade devs. Do you m

Re: [Yade-users] [Question #696228]: How to get a pressure boundary condition as triangle distribution by FlowEngine

2021-03-24 Thread Bruno Chareyre
Question #696228 on Yade changed: https://answers.launchpad.net/yade/+question/696228 Bruno Chareyre posted a new comment: > As we know, water pressure increases with depth. (Pressure=denstiy*g*depth) True, but the pressure in PFV implementation is not the absolute press

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-03-23 Thread Bruno Chareyre
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Status: Open => Answered Bruno Chareyre proposed the following answer: Ah... the clumping step is using positions+mass to deduce total mass and center of mass while "position" of the cylinder

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-03-23 Thread Bruno Chareyre
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Bruno Chareyre posted a new comment: Very interesting. I'm unsure where to improve that in source code though. Mass-inertia assignements are done mainly in some python helper function. As you found out you can

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-03-23 Thread Bruno Chareyre
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Bruno Chareyre requested more information: with newton damping 0.2 and base_pos = [ [0.011, 0.011, 0], [0.011, -0.011, 0], [-0.011, 0.011, 0], [-0.011, -0.011, 0], ] The solution is stable

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-03-23 Thread Bruno Chareyre
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Bruno Chareyre proposed the following answer: I tried you example (nice one!) and I did not see something obviously wrong. It looks a bit like a ball-on-a-tip problem. This triangular object has to fall one way

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-03-23 Thread Bruno Chareyre
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Status: Open => Answered Bruno Chareyre proposed the following answer: Thanks for more feedback. > I did not download a new version of yade. But I pasted the fix given in [1] If you did it car

Re: [Yade-users] [Question #696198]: Using the Parallel Collider

2021-03-23 Thread Bruno Chareyre
Question #696198 on Yade changed: https://answers.launchpad.net/yade/+question/696198 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, 1. it is in trunk 2. nothing specific If you want to see how it works you can do this: O.timing.enabled=True O.run(N,True) f

Re: [Yade-users] [Question #696150]: Output specific bodies using TW.setState

2021-03-21 Thread Bruno Chareyre
Question #696150 on Yade changed: https://answers.launchpad.net/yade/+question/696150 Bruno Chareyre proposed the following answer: Hi, I confirm TesselationWrapper may have issues with space periodicity, but not because of this: > " Hypothetically: If the particle in state 0 is on t

Re: [Yade-users] [Question #696150]: Output specific bodies using TW.setState

2021-03-19 Thread Bruno Chareyre
Question #696150 on Yade changed: https://answers.launchpad.net/yade/+question/696150 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, i have assumptions on why it would be the case but nothing sure. Could you please provide a minimal working example of the prob

Re: [Yade-users] [Question #696146]: script of fluidized bed by E Montella et al., PRE, 2016

2021-03-19 Thread Bruno Chareyre
Question #696146 on Yade changed: https://answers.launchpad.net/yade/+question/696146 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi Luc I'm giving a similar script every year to students for some projects. :) It is not in yade repos though, maybe it sho

Re: [Yade-users] [Question #696060]: How to make some stress plates consist of 3 circles (that have radius gradually (0.5, 1, 2)?

2021-03-18 Thread Bruno Chareyre
Question #696060 on Yade changed: https://answers.launchpad.net/yade/+question/696060 Bruno Chareyre posted a new comment: > def getBottomStress(center,radius): On this basis you could generate stress for each (x,y) on a grid (possibly with square domains instead of circles, with square s

Re: [Yade-users] [Question #696131]: Problem MPI_CXX during default Compilation

2021-03-18 Thread Bruno Chareyre
Question #696131 on Yade changed: https://answers.launchpad.net/yade/+question/696131 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, Are you using "gold" linker? [1] If so, this is a known cmake issue (independent of yade, with still no idea how

Re: [Yade-users] [Question #695989]: Packing with two PSD

2021-03-16 Thread Bruno Chareyre
Question #695989 on Yade changed: https://answers.launchpad.net/yade/+question/695989 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, > how to make a packing with 2 psdSizes and psdCumm while using one packSpherepack() sp.makeCloud((mnx,mny,mnz),(mxx,m

Re: [Yade-users] [Question #695935]: Floating point exception (core dumped)

2021-03-15 Thread Bruno Chareyre
Question #695935 on Yade changed: https://answers.launchpad.net/yade/+question/695935 Bruno Chareyre posted a new comment: Hi, The crash was due to erasing just after reloading. The problem is fixed in source code in [1]. The fix is not yet in yadedaily but it should appear quickly. If you use

Re: [Yade-users] [Question #696037]: contact forces in VTKrecorder

2021-03-14 Thread Bruno Chareyre
Question #696037 on Yade changed: https://answers.launchpad.net/yade/+question/696037 Bruno Chareyre requested more information: I suspect you have definitely no reason to use any vtk-related export. Let you explain what you need. B -- You received this question notification because your team

Re: [Yade-users] [Question #696037]: contact forces in VTKrecorder

2021-03-14 Thread Bruno Chareyre
Question #696037 on Yade changed: https://answers.launchpad.net/yade/+question/696037 Bruno Chareyre proposed the following answer: (I failed to answer to the correct adress and now my answer is in yade- users list, sorry - duplicating here) Hi Eleni! Don't yo get some "*.intrs.N.vtp&

Re: [Yade-users] [Question #696037]: contact forces in VTKrecorder

2021-03-13 Thread Bruno Chareyre
Hi Eleni! Don't yo get some "*.intrs.N.vtp" file together with the *.spheres.N.vtu's and others? Do you want to export for visualization or for acquiring data? It is a bit unusual to look for "particles involved in each contact" in some vtk. Cheers Bruno

Re: [Yade-users] [Question #695935]: Floating point exception (core dumped)

2021-03-10 Thread Bruno Chareyre
Question #695935 on Yade changed: https://answers.launchpad.net/yade/+question/695935 Bruno Chareyre posted a new comment: Hi, I confirm segfault on ubuntu20/yadedaily (20210204-4960~ab01ee8~focal1) The problem is apparently with InsertionSortCollider at iteration 2 in script2. I suspect

Re: [Yade-users] [Question #695679]: stress path

2021-03-07 Thread Bruno Chareyre
Question #695679 on Yade changed: https://answers.launchpad.net/yade/+question/695679 Bruno Chareyre posted a new comment: Indeed, that was strange: > triax.goal2 = strainRate > sigma2=triax.goal2 #huh? Looks better: > sigma2=triax.stress(triax.wall_top_id)[1] And then it does what

Re: [Yade-users] [Question #695873]: wet phase distribution

2021-03-05 Thread Bruno Chareyre
Question #695873 on Yade changed: https://answers.launchpad.net/yade/+question/695873 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, documentation might help here: In [4]: TwoPhaseFlowEngine.getC

Re: [Yade-users] [Question #695833]: movment along z axis whiles blockedDOFs= zXY

2021-03-03 Thread Bruno Chareyre
Hi, > O.engines= O.engines+[PyRunner(virtPeriod=0.02,command='ZSpeed()',label="ZSpeed")] After this line there is a function named "ZSpeed" as well as an engine called "ZSpeed". It sounds a bit dangerous, though I'm not sure it is the issue. Bruno

Re: [Yade-users] [Question #695827]: CHOLMOD warning: matrix not positive definite with PeriodicFlowEngine

2021-03-02 Thread Bruno Chareyre
Question #695827 on Yade changed: https://answers.launchpad.net/yade/+question/695827 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi Katia, I didn't check the details but did you impose a pressure somewhere? Else with an incompressible fluid the problem is

Re: [Yade-users] [Question #695821]: PeriTriaxController Load

2021-03-02 Thread Bruno Chareyre
Question #695821 on Yade changed: https://answers.launchpad.net/yade/+question/695821 Bruno Chareyre posted a new comment: Note: I found that: 1/ the example for save/reload on the wiki page [1] was obsolete (for some reason the github.com link stopped working), it is fixed now [2]. 2

Re: [Yade-users] [Question #695679]: stress path

2021-02-23 Thread Bruno Chareyre
Question #695679 on Yade changed: https://answers.launchpad.net/yade/+question/695679 Status: Open => Answered Bruno Chareyre proposed the following answer: What you describe is a particular logic for defining a loading path. That's fine but yade is agnostic wrt this. > how I can

Re: [Yade-users] [Question #695679]: stress path

2021-02-21 Thread Bruno Chareyre
Question #695679 on Yade changed: https://answers.launchpad.net/yade/+question/695679 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, The engine takes target stress-strain as input and it tries to reach them as an output. So I would think you need to def

Re: [Yade-users] [Question #695491]: Running parallel yade from the same input file

2021-02-11 Thread Bruno Chareyre
Question #695491 on Yade changed: https://answers.launchpad.net/yade/+question/695491 Status: Open => Answered Bruno Chareyre proposed the following answer: $ mpirun -np 4 echo "haha" haha haha haha haha Does it help? :) B -- You received this question notification because y

Re: [Yade-users] [Question #695461]: How to create a solid polyhedron capable of interacting with gridConnections?

2021-02-11 Thread Bruno Chareyre
Question #695461 on Yade changed: https://answers.launchpad.net/yade/+question/695461 Bruno Chareyre posted a new comment: > I found that this pfacet body is hollow. Indeed, it is a sort of shell model. It is always possible to add interactions between nodes across the hollow domain, emulat

Re: [Yade-users] [Question #695058]: Bending beams mass computation

2021-02-11 Thread Bruno Chareyre
Question #695058 on Yade changed: https://answers.launchpad.net/yade/+question/695058 Bruno Chareyre posted a new comment: > Is it correct to imagine the bending behaviour as a rotational spring like in figure 3 of [3]? Mmmmh... I would say no, it isn't the right picture. The rotational spr

Re: [Yade-users] [Question #695461]: How to create a solid polyhedron capable of interacting with gridConnections?

2021-02-11 Thread Bruno Chareyre
Question #695461 on Yade changed: https://answers.launchpad.net/yade/+question/695461 Bruno Chareyre posted a new comment: > This implies the gridConnections do not take part in dynamics. Then why do they have mass? I can't tell precisely. There should be a way to build them with zero- m

Re: [Yade-users] [Question #695475]: Scaling of Yade with the number of particles

2021-02-11 Thread Bruno Chareyre
Question #695475 on Yade changed: https://answers.launchpad.net/yade/+question/695475 Bruno Chareyre proposed the following answer: Hi, I am not able to answer either. I can tell that a typical yade performance on a typical desktop is of the order of 0.5e6 particle*iteration/second

Re: [Yade-users] [Question #695226]: RungeKuttaCashKarp54Integrator with gridConnections is causing errors

2021-02-08 Thread Bruno Chareyre
Question #695226 on Yade changed: https://answers.launchpad.net/yade/+question/695226 Bruno Chareyre posted a new comment: Hi, > the oscillations were similar to what we find in a damped oscillator Cool. :) > Am I wrong to assume N is the number of gridNodes and L is the

Re: [Yade-users] [Question #695333]: Same version unable to load .yade file

2021-02-03 Thread Bruno Chareyre
Question #695333 on Yade changed: https://answers.launchpad.net/yade/+question/695333 Bruno Chareyre posted a new comment: Yes. >From the save/load point of view the problem is obvious. Objects are archived >in some format (binary or xml) then reloaded. If the archive for one object &g

Re: [Yade-users] [Question #695333]: Same version unable to load .yade file

2021-02-02 Thread Bruno Chareyre
Question #695333 on Yade changed: https://answers.launchpad.net/yade/+question/695333 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, > Shouldn't it ... Well... apparently it "doesn't " :) I don't think we ever anticipated that particular situati

Re: [Yade-users] [Question #694945]: How to run deformableBodies examples

2021-02-01 Thread Bruno Chareyre
Question #694945 on Yade changed: https://answers.launchpad.net/yade/+question/694945 Bruno Chareyre posted a new comment: Just a quick note: DeformableElement's is part of the code after a single man (Burak Er) pushed it. I'm afraid none of current core devs are really aware of how it works

Re: [Yade-users] [Question #695058]: Bending beams mass computation

2021-02-01 Thread Bruno Chareyre
Question #695058 on Yade changed: https://answers.launchpad.net/yade/+question/695058 Status: Open => Answered Bruno Chareyre proposed the following answer: You are welcome, nice to hear that someone is using it. :) > In other words, what do I need to do in order to set the mass of

Re: [Yade-users] [Question #695226]: RungeKuttaCashKarp54Integrator with gridConnections is causing errors

2021-01-28 Thread Bruno Chareyre
Question #695226 on Yade changed: https://answers.launchpad.net/yade/+question/695226 Bruno Chareyre posted a new comment: > It could be that there is a mismatch between what you input at the interactions scale and what you expect in terms of damping at the structural scale I would

<    1   2   3   4   5   6   7   8   9   10   >