Re: [Yade-users] [Question #696481]: Geometry of hyperboloid
Question #696481 on Yade changed: https://answers.launchpad.net/yade/+question/696481 Faqih Maarif 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 #696481]: Geometry of hyperboloid
Question #696481 on Yade changed: https://answers.launchpad.net/yade/+question/696481 Status: Answered => Solved Faqih Maarif confirmed that the question is solved: Dear Jan, But please provide information, what is the problem. I looking for pack.Hyperboloid but I cannot find it. Thank you for the solution in [4]. Furthermore, I am following [4] for new geometry of Hyperboloid in my model, it can run properly. it is just your [1] with #L81 at the end. Thank you, I got it Regards, Faqih -- 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 #696481]: Geometry of hyperboloid
Question #696481 on Yade changed: https://answers.launchpad.net/yade/+question/696481 Faqih Maarif posted a new comment: Dear Jan, But please provide information, what is the problem. I looking for pack.Hyperboloid but I cannot find it. Thank you for the solution in [4]. Furthermore, I am following [4] for new geometry of Hyperboloid in my model, it can run properly. it is just your [1] with #L81 at the end. Thank you, I got it Regards, Faqih -- 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 #696481]: Geometry of hyperboloid
Question #696481 on Yade changed: https://answers.launchpad.net/yade/+question/696481 Faqih Maarif posted a new comment: Dear Jan, Thank you for your quick response. Sorry for not clear on the questions. I would like to create the geometry of hyperboloids in a uniaxial test of concrete. Based on the example [1] the dimensions of the model of 10cm (in diameter) x 20cm (in length), I want to change the new geometry of Hyperboloid to 15cm (in diameter) x 30cm (in length). **Guessing** that links to pack.inHyperboloid ([3] in the script, [4] documentation) could be helpful Thank you for the script, but I cannot open the [3] Regards, Faqih [1] https://gitlab.com/yade- dev/trunk/-/blob/master/examples/concrete/uniax.py -- 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 #696481]: Geometry of hyperboloid
Question #696481 on Yade changed: https://answers.launchpad.net/yade/+question/696481 Faqih Maarif posted a new comment: Dear Jan, Thank you for your quick response. Sorry for not clear on the questions. I would like to create the geometry of hyperboloids in a uniaxial test of concrete. Based on the example [1] the dimensions of the model of 10cmx15cm, I want to change the new geometry of Hyperboloid be 15cmx30cm. **Guessing** that links to pack.inHyperboloid ([3] in the script, [4] documentation) could be helpful Thank you for the script, but I cannot open the [3] Regards, Faqih [1] https://gitlab.com/yade-dev/trunk/-/blob/master/examples/concrete/uniax.py -- 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 #696481]: Geometry of hyperboloid
New question #696481 on Yade: https://answers.launchpad.net/yade/+question/696481 Dear All, I would like to model the geometry of hyperboloids for compression stress of concrete [1]. I have a question about these sentences in the code: “make geom; the dimensions are hard-coded here; could be in param table if desired”. In the model [1], z-oriented hyperboloid, length 20cm, diameter 10cm, skirt 8cm. In my case, I will create the diameter from 10cm to 15cm? Could anyone help me with the problem? Thank you very much for your attention. Regards, Faqih [1] https://github.com/yade/trunk/blob/master/examples/concrete/uniax.py -- 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 #691986]: Import txt format to YADE
Question #691986 on Yade changed: https://answers.launchpad.net/yade/+question/691986 Faqih Maarif posted a new comment: Hello Jan, >what is "the original image"? I forgot to say that the original image is x-ray tomography. >what is "a .txt file"? "THE txt file? Yes, correct, I mean the txt file. >what is "the YADE function"? "A Yade function? I will explain in another question. >uploading file is not possible here. You can either copy-paste full content or >(like in this case) a "representative part" of it. Ok, I will create it to be a simple way. > please be more specific. This is a directory full of example scripts and > other sub-directories full of example scripts.. I got it from: [1] https://answers.launchpad.net/yade/+question/265744 >What do the numbers mean? Centers and diameter of spheres you want to import? Yes, I would like to import based on the data above. I already solve the problem. Regards, Faqih -- 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 #691986]: Import txt format to YADE
Question #691986 on Yade changed: https://answers.launchpad.net/yade/+question/691986 Faqih Maarif posted a new comment: Dear Jerome, Thank you very much for help. I am already solve the problem. Regards, Faqih -- 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 #691986]: Import txt format to YADE
Question #691986 on Yade changed: https://answers.launchpad.net/yade/+question/691986 Faqih Maarif posted a new comment: Dear Wang Yu, Thank you for your answer. Regards, Faqih -- 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 #691986]: Import txt format to YADE
Question #691986 on Yade changed: https://answers.launchpad.net/yade/+question/691986 Status: Answered => Solved Faqih Maarif confirmed that the question is solved: Thanks Wang Yu, 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 #691986]: Import txt format to YADE
Question #691986 on Yade changed: https://answers.launchpad.net/yade/+question/691986 Faqih Maarif posted a new comment: Dear Jerome, Thank you very much for your answer. I will try to do it. The link as written : [1] https://github.com/yade/trunk/tree/master/examples Best Regards, Faqih -- 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 #691986]: Import txt format to YADE
Question #691986 on Yade changed: https://answers.launchpad.net/yade/+question/691986 Faqih Maarif posted a new comment: Dear Jan, Thank you for your answer, First, I tried modeling from the original image (using AutoCAD). Besides, I export points from AutoCAD to a .txt file. I want to convert from a .txt file using the YADE function to create a concrete cube- specimen(100x100mm). Is it possible? Sorry for the unclear question before, I mean "converting" is the YADE function. I do not know to upload .txt files here, the sample files as written below. This is a code that I can't open. [1] https://github.com/yade/trunk/tree/master/examples Regards, Faqih --- AreaCenter XCenter YCenter ZDiameter 0. 113.499144.0120 0. 0.0009 0. 113.527644.0125 0. 0.0010 0. 113.377244.0157 0. 0.0010 -- -- 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 #691986]: Import txt format to YADE
Question #691986 on Yade changed: https://answers.launchpad.net/yade/+question/691986 Description changed to: Dear All, I have created a 2D-mesoscale model in concrete (aggregate, cement, void) and converting to the txt format. My question is how to import txt format to YADE?. I was read from YADE FAQs related with this topic, but the link cannot open. Could anyone give me some advice? Thankyou Regards, Faqih -- 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 #691986]: Import txt format to YADE
New question #691986 on Yade: https://answers.launchpad.net/yade/+question/691986 Dear All, I have created a 2D-mesoscale model in concrete (aggregate, cement, void) and converting to the txt format. My question is how to import txt format to YADE?. I was read from YADE FAQs related with this topic, but the link was given cannot open. Could anyone give me some advice? Thankyou Regards, Faqih -- 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 #691808]: Mesoscale modeling in YADE
Question #691808 on Yade changed: https://answers.launchpad.net/yade/+question/691808 Faqih Maarif posted a new comment: Dear Jan, Thank you very much for your advice. I will try to do it Regards, Faqih -- 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 #691808]: Mesoscale modeling in YADE
Question #691808 on Yade changed: https://answers.launchpad.net/yade/+question/691808 Status: Answered => Solved Faqih Maarif 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 #691808]: Mesoscale modeling in YADE
Question #691808 on Yade changed: https://answers.launchpad.net/yade/+question/691808 Faqih Maarif posted a new comment: Dear Jan, Thank you very much for your explanation and solution. I will try it. For macroscale to mesoscale particle, I would like to discuss later. Regards, Faqih -- 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 #691808]: Mesoscale modeling in YADE
New question #691808 on Yade: https://answers.launchpad.net/yade/+question/691808 Dear All, I am currently modeling concrete at the meso level. As far as I am concerned, the connection of particles with a different material is considered average (in YADE). My question is as follows: How to modeling concrete particles in the meso level (3-phase material) with YADE? Should particles at the macro-scale level be changed to mesoscale first?. I looked for it in this forum, but nobody had discussed it before. Could anyone help me with the problem? Thank you very much for your attention. Regards, Faqih -- 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 #691426]: Error Installation (DEM-FEM Coupling)
Question #691426 on Yade changed: https://answers.launchpad.net/yade/+question/691426 Faqih Maarif posted a new comment: Dear Jan, Thank you for answered >please be more specific what exactly (e.g. which commands you used) you have >tried 1. The first problem is related to libyade.so, it is already solved 2. I tried to change Ubuntu 18.04, and it is successful; some of the libraries need to installing on there. >if you mean [1], a better place to ask such questions (if it is not related >only to Yade) is to open an issue there. Yes, I already fixed the respective dependencies. So it continues to run until completely installed. Thank you very much for your attention and cooperation Regards, Faqih noted: I will ask for another issue about DEM Coupling for my thesis. -- 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 #691426]: Error Installation (DEM-FEM Coupling)
Question #691426 on Yade changed: https://answers.launchpad.net/yade/+question/691426 Status: Answered => Solved Faqih Maarif 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 #691426]: Error Installation (DEM-FEM Coupling)
Question #691426 on Yade changed: https://answers.launchpad.net/yade/+question/691426 Description changed to: Dear All, I have a problem during install an Open source FEM-DEM coupling. I tried several times, but it still has error as follows. could you please give me some solution? Thank you for attention Regards, Faqih noted: I am using Ubuntu Linux mint 18, OOFEM 2.5, and YADE 2018.02b-1. [ 82%] Building CXX object CMakeFiles/yade.dir/lib/triangulation/basicVTKwritter.cpp.o [ 82%] Linking CXX shared library lib/x86_64-linux-gnu/libyade.so /usr/bin/ld: /usr/local/lib/libbz2.a(blocksort.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status CMakeFiles/yade.dir/build.make:4311: recipe for target 'lib/x86_64-linux-gnu/libyade.so' failed make[3]: *** [lib/x86_64-linux-gnu/libyade.so] Error 1 make[3]: Leaving directory '/home/rayyan/Downloads/sudodem-2020/dem-fem-coupling-master/installation/_build/yade/build' CMakeFiles/Makefile2:107: recipe for target 'CMakeFiles/yade.dir/all' failed make[2]: *** [CMakeFiles/yade.dir/all] Error 2 make[2]: Leaving directory '/home/rayyan/Downloads/sudodem-2020/dem-fem-coupling-master/installation/_build/yade/build' Makefile:129: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/rayyan/Downloads/sudodem-2020/dem-fem-coupling-master/installation/_build/yade/build' Makefile:162: recipe for target 'yade-make' failed make: *** [yade-make] Error 2 -- 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 #691426]: Error Installation (DEM-FEM Coupling)
Question #691426 on Yade changed: https://answers.launchpad.net/yade/+question/691426 Description changed to: Dear All, I have a problem during install an Open source FEM-DEM coupling. I tried several times, but it still has error as follows. could you please give me some solution? Thank you for attention Regards, Faqih noted: iam using Ubuntu Linux mint 18, OOFEM 2.5 and YADE 2018.02b-1. - /usr/bin/ld: /usr/local/lib/libbz2.a(blocksort.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status CMakeFiles/yade.dir/build.make:4311: recipe for target 'lib/x86_64-linux-gnu/libyade.so' failed make[3]: *** [lib/x86_64-linux-gnu/libyade.so] Error 1 make[3]: Leaving directory '/home/rayyan/Downloads/sudodem-2020/dem-fem-coupling-master/installation/_build/yade/build' CMakeFiles/Makefile2:107: recipe for target 'CMakeFiles/yade.dir/all' failed make[2]: *** [CMakeFiles/yade.dir/all] Error 2 make[2]: Leaving directory '/home/rayyan/Downloads/sudodem-2020/dem-fem-coupling-master/installation/_build/yade/build' Makefile:129: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/rayyan/Downloads/sudodem-2020/dem-fem-coupling-master/installation/_build/yade/build' Makefile:162: recipe for target 'yade-make' failed make: *** [yade-make] Error 2 - -- 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 #691426]: Error Installation (DEM-FEM Coupling)
New question #691426 on Yade: https://answers.launchpad.net/yade/+question/691426 Dear All, I have a problem during install an Open source FEM-DEM coupling. I tried several times, but it still has error as follows. - /usr/bin/ld: /usr/local/lib/libbz2.a(blocksort.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status CMakeFiles/yade.dir/build.make:4311: recipe for target 'lib/x86_64-linux-gnu/libyade.so' failed make[3]: *** [lib/x86_64-linux-gnu/libyade.so] Error 1 make[3]: Leaving directory '/home/rayyan/Downloads/sudodem-2020/dem-fem-coupling-master/installation/_build/yade/build' CMakeFiles/Makefile2:107: recipe for target 'CMakeFiles/yade.dir/all' failed make[2]: *** [CMakeFiles/yade.dir/all] Error 2 make[2]: Leaving directory '/home/rayyan/Downloads/sudodem-2020/dem-fem-coupling-master/installation/_build/yade/build' Makefile:129: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/rayyan/Downloads/sudodem-2020/dem-fem-coupling-master/installation/_build/yade/build' Makefile:162: recipe for target 'yade-make' failed make: *** [yade-make] Error 2 - noted: iam using Ubuntu 18.04 LTS system, OOFEM 2.5 and YADE 2018.02b-1. could you please give me some solution? Thank you for attention Regards, Faqih -- 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 #691065]: How to Show Stress or strain contour
Question #691065 on Yade changed: https://answers.launchpad.net/yade/+question/691065 Status: Answered => Solved Faqih Maarif confirmed that the question is solved: Thanks Bruno Chareyre, 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 #691065]: How to Show Stress or strain contour
Question #691065 on Yade changed: https://answers.launchpad.net/yade/+question/691065 Status: Answered => Open Faqih Maarif is still having a problem: Hi, I am Sorry for misunderstanding. I can run properly without error, and I could run many parameters in paraview 5.4.1 with this code: > VTKRecorder(fileName='3d-vtk-',recorders=['all'],iterPeriod=1000), But, I can't see concrete cracks on the ParaView 5.4.1. Could you please help. Thank you. Best Regards, Faqih -- 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 #691065]: How to Show Stress or strain contour
Question #691065 on Yade changed: https://answers.launchpad.net/yade/+question/691065 Status: Answered => Open Faqih Maarif is still having a problem: Hi, Apologize for my question above. I will make it separately. I cannot show the breakline concrete in paraview (3d processing) with this code. - VTKRecorder(fileName='3d-vtk-',recorders=['all'],iterPeriod=1000), qt.SnapshotEngine(fileBase='3d-',iterPeriod=100,label='snapshot'), The script works well, but in the postprocessing (using paraview), I can not see the zones of stress or strain in my concrete cube model. I dont know how to solve it, Could you please help. Thank you. Best Regards, Faqih Here is the complete code -- from future import standard_library standard_library.install_aliases() from yade import plot,pack,timing import time, sys, os, copy from yade import pack, qt readParamsFromTable(noTableOk=True, young = 25e9, poisson = .2, epsCrackOnset = 1e-4, relDuctility = 30, sigmaT = 3e6, frictionAngle = atan(0.8), density = 4800, intRadius = 1.5, dtSafety = .8, damping = 0.3, strainRateTension = .05, strainRateCompression = 0.5, setSpeeds=True, specimenSize = 0.15, radius = 3e-3, outBase = "/tmp/cpm_uniax", ) from yade.params.table import * if 'description' in O.tags.keys(): # o.tags.can be used to retrieve unique identifiers of the simulation outBase = "{}_{}".format(outBase,O.tags['description']) O.materials.append(CpmMat( #concrete materials young = young, poisson = poisson, epsCrackOnset = epsCrackOnset, relDuctility = relDuctility, sigmaT = sigmaT, frictionAngle = frictionAngle, )) s = specimenSize # pack = predicate with spheres sp = pack.randomDensePack(inAlignedBox((0,0,0),(s,s,s)),radius,spheresInCell=700,memoizeDb="packing.db",returnSpherePack=True) sp.toSimulation() bb=uniaxialTestFeatures() #bounding box negIds,posIds,axis,crossSectionArea=bb['negIds'],bb['posIds'],bb['axis'],bb['area'] O.dt=dtSafety*SpherePWaveTimeStep(radius,density,max(50e9,young)) print('timestep',O.dt) O.engines=[ ForceResetter(), InsertionSortCollider([Bo1_Sphere_Aabb(aabbEnlargeFactor=intRadius,label='is2aabb'),],verletDist=.05*radius), InteractionLoop( [Ig2_Sphere_Sphere_ScGeom(interactionDetectionFactor=intRadius,label='ss2sc')], #collision geometry [Ip2_CpmMat_CpmMat_CpmPhys()], #concrete model [Law2_ScGeom_CpmPhys_Cpm()], #binary functor (LawFunctor) called for types ScGeom (Geom) and CpmPhys. ), GlobalStiffnessTimeStepper(active=1,timeStepUpdateInterval=5,timestepSafetyCoefficient=0.8,defaultDt=PWaveTimeStep()), #new NewtonIntegrator(damping=damping), # save data for Paraview VTKRecorder(fileName='3d-vtk-',recorders=['all'],iterPeriod=1000), # save data from Yade's own 3d view qt.SnapshotEngine(fileBase='3d-',iterPeriod=100,label='snapshot'), CpmStateUpdater(realPeriod=.5), UniaxialStrainer(strainRate=strainRateTension,axis=axis,asymmetry=0,posIds=posIds,negIds=negIds,crossSectionArea=crossSectionArea,blockDisplacements=False,blockRotations=False,setSpeeds=True,label='strainer'), PyRunner(iterPeriod=100,command='addPlotData()',label='plotDataCollector',initRun=True), PyRunner(iterPeriod=100,command='print O.iter,plot.data["sigma"][-1]'), ] plot.plots={'eps':('sigma',)} O.saveTmp('initial'); #named memory slot def addPlotData(): yade.plot.addData({'t':O.time,'i':O.iter,'eps':strainer.strain,'sigma':strainer.avgStress,}) def initTest(mode): print "init" O.loadTmp('initial') if mode == "compression": print "Reversing plot data"; plot.reverseData() strainer.strainRate = abs(strainRateTension) if mode=='tension' else -abs(strainRateCompression) O.step(); ss2sc.interactionDetectionFactor=1. is2aabb.aabbEnlargeFactor=1. def stopIfDamaged(mode): sigma,eps = plot.data['sigma'], plot.data['eps'] mode = 'tension' if strainer.strainRate > 0 else 'compression' extremum = max(sigma) if mode == 'tension' else min(sigma) minMaxRatio = 0.2 if mode=='tension' else 0.7 if abs(sigma[-1]/extremum) < minMaxRatio or abs(strainer.strain) > 5e-3: print "Damaged, stopping." return True for mode in ('tension','compression'): initTest(mode) while True: O.run(100,True) if stopIfDamaged(mode): break if O.iter > 1: break sigma = plot.data["sigma"] ft,fc = max(sigma),min(
[Yade-users] [Question #691065]: How to Show Stress or strain contour
New question #691065 on Yade: https://answers.launchpad.net/yade/+question/691065 Dear All, I want to show both stress and strain contour in Paraview (post-processing). I have a problem when I run my code [1] as follows: 1st error: ERROR /build/yade-fDuCoe/yade-2018.02b/gui/qt5/OpenGLManager.cpp:71 waitForNewView: Timeout waiting for the new view to open, giving up. 2nd error: WARN /build/yade-fDuCoe/yade-2018.02b/pkg/dem/SnapshotEngine.cpp:15 action: Making myself Engine::dead, as I can not live without a 3d view (timeout). After running the code, I have four files types, for examples : 3d-vtk-spheres.1000.vtu 3d-vtk-intrs.1000.vtp 3d-vtk-facets.1000.vtu 3d-vtk-boxes.1000.vtu when I was opened in paraview, I cannot seen the stress and strain contour. I dont know how, any ideas? Coluld you please help to find a way. Thank you. Best Regards, Faqih - Here is my code: [1] https://safenote.co/r/5ed479f79bd8f3@02872726 -- -- 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 #690942]: Concrete cube dimension, aggregate particle and peri3dController
Question #690942 on Yade changed: https://answers.launchpad.net/yade/+question/690942 Status: Answered => Solved Faqih Maarif 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 #690942]: Concrete cube dimension, aggregate particle and peri3dController
Question #690942 on Yade changed: https://answers.launchpad.net/yade/+question/690942 Faqih Maarif posted a new comment: Dear Mr. Jan and Mr. Bruno Thank you very much for your attention and cooperation I already solve the problem. Regards, Faqih -- 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 #690942]: Concrete cube dimension, aggregate particle and peri3dController
Question #690942 on Yade changed: https://answers.launchpad.net/yade/+question/690942 Status: Answered => Open Faqih Maarif is still having a problem: Dear All First of all, permission, I say thank you for an enlightening answer, and I would like to apologize for not obeying the rules. Thank you also for the answers to the concrete cube's dimensions and the variation of aggregate particles. I will ask separately as a rule in the forum. My cases are the following: I have tested the compressive strength of the concrete cube (150mmx150mm), and I will be modeling in YADE. In modeling, I will consider stress and strain periodically. I am still confused about how to determine the (xxPath, yyPath,zzPath,zxPath,xyPath), as written below. xxPath=[(465,5e-4),(934,-5e-4),(1134,10e-4)], #old yyPath=[(2,4),(7,-2),(11,0),(14,4)], zzPath=[(5,-1e7),(10,0)], zxPath=[(4,2),(14,-1),(22,0),(28,2)], xyPath=[(1,1),(2,-1),(3,1),(4,-1),(5,1)], Can you please help? Regards, Faqih Ma’arif -- 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 #690942]: Concrete cube dimension, aggregate particle and peri3dController
New question #690942 on Yade: https://answers.launchpad.net/yade/+question/690942 Dear All, I am new to YADE. I have studied some code from this forum. There are some of the questions related to concrete cube testing. 1. How to determine the dimensions of the concrete cube (150x150mm) in the modeling? In the code, there is an initial size = 1.2, but apparently, this is not the cube dimension. 2. How to determine the variation of aggregate granules if specified; a. 0-4mm: 40% b. 4-8 mm: 22% c. 8-16mm: 38% 3. How to determine the value (goal, xxPath, yyPath, zzPath, zxPath, xyPath), I'm confused with the determination of the numbers . I have read it in YADE Book (pg.280), but i dont understand about it. goal=(20e-4,-6e-4,0, -2e6,3e-4,2e6) # the prescribed path (step,value of stress/strain) can be defined in absolute values xxPath=[(465,5e-4),(934,-5e-4),(1134,10e-4)], # or in relative values yyPath=[(2,4),(7,-2),(11,0),(14,4)], # if the goal value is 0, the absolute stress/strain values are always considered (step values remain relative) zzPath=[(5,-1e7),(10,0)], # if ##Path is not explicitly defined, it is considered as linear function between (0,0) and (nSteps,goal) # as in yzPath and xyPath # the relative values are really relative (zxPath gives the same - except of the sign from goal value - result as yyPath) zxPath=[(4,2),(14,-1),(22,0),(28,2)], xyPath=[(1,1),(2,-1),(3,1),(4,-1),(5,1)], Could you please help me with this?. I'm writing a thesis and paper using YADE. Regards, Faqih Ma’arif the complete code as follows: # peri3dController_example1.py # script, that explains funcionality and input parameters of Peri3dController import string from yade import pack, plot from yade import plot,qt from yade.pack import * # create some material #O.materials.append(CpmMat(neverDamage=True,young=25e9,frictionAngle=.7,poisson=.2,sigmaT=3e6,epsCrackOnset=1e-4,relDuctility=30)) O.materials.append(CpmMat(neverDamage=True,young=25e9,frictionAngle=.7,poisson=.2,sigmaT=3e6,epsCrackOnset=1e-4,relDuctility=30)) # create periodic assembly of particles initSize=1.2 #old sp=pack.randomPeriPack(radius=.05,initSize=Vector3(initSize,initSize,initSize),memoizeDb='/tmp/packDb.sqlite') sp.toSimulation() # plotting #plot.live=False plot.plots={'progress':('sx','sy','sz','syz','szx','sxy',),'progress_':('ex','ey','ez','eyz','ezx','exy',)} def plotAddData(): plot.addData( progress=p3d.progress,progress_=p3d.progress, sx=p3d.stress[0],sy=p3d.stress[1],sz=p3d.stress[2], syz=p3d.stress[3],szx=p3d.stress[4],sxy=p3d.stress[5], ex=p3d.strain[0],ey=p3d.strain[1],ez=p3d.strain[2], eyz=p3d.strain[3],ezx=p3d.strain[4],exy=p3d.strain[5], ) # in how many time steps should be the goal state reached nSteps=4000 #new O.dt=PWaveTimeStep()/2 EnlargeFactor=1.5 EnlargeFactor=1.0 O.engines=[ ForceResetter(), InsertionSortCollider([Bo1_Sphere_Aabb(aabbEnlargeFactor=EnlargeFactor,label='bo1s')]), InteractionLoop( [Ig2_Sphere_Sphere_ScGeom(interactionDetectionFactor=EnlargeFactor,label='ig2ss')], [Ip2_CpmMat_CpmMat_CpmPhys()],[Law2_ScGeom_CpmPhys_Cpm()]), NewtonIntegrator(), Peri3dController( goal=(20e-4,-6e-4,0, -2e6,3e-4,2e6), # Vector6 of prescribed final values (xx,yy,zz, yz,zx,xy) stressMask=0b101100, # prescribed ex,ey,sz,syz,ezx,sxy; e..strain; s..stress nSteps=nSteps, # how many time steps the simulation will last # after reaching nSteps do doneHook action doneHook='print "Simulation with Peri3dController finished."; O.pause()', # the prescribed path (step,value of stress/strain) can be defined in absolute values xxPath=[(465,5e-4),(934,-5e-4),(1134,10e-4)], # or in relative values yyPath=[(2,4),(7,-2),(11,0),(14,4)], # if the goal value is 0, the absolute stress/strain values are always considered (step values remain relative) zzPath=[(5,-1e7),(10,0)], # if ##Path is not