Re: [Yade-users] [Question #664417]: Install Yade on CentOs 6.9
Question #664417 on Yade changed: https://answers.launchpad.net/yade/+question/664417 Status: Solved => Open azim is still having a problem: sorry again, Q1) which one of these compilations would you suggest me according to my situation? : https://yade-dem.org/doc/installation.html#download 1) release version? OR 2)the development version(trunk)? Q2) after choosing the suitable one, where is the starting point for the compilation? my problem is with commands! thanks -- 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 #664417]: Install Yade on CentOs 6.9
Question #664417 on Yade changed: https://answers.launchpad.net/yade/+question/664417 Status: Open => Answered Luc OGER proposed the following answer: Dear Azim I had the same problem before!! tthe trunk solution is more up-to-date! so here my script for the installation on my Opensuse machine: # more update.csh cd trunk git pull https://github.com/yade/trunk.git cd ../build # -DUSE_QT5=ON -DENABLE_VTK=ON -DENABLE_GTS=ON -DCMAKE_INSTALL_PREFIX=/usr/local all by default cmake -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-deprecated -Wno-dev ../trunk make make install after the cmake the log must have no warning or error, otherwise one or more packages have to be put first! -- 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 #664417]: Install Yade on CentOs 6.9
Question #664417 on Yade changed: https://answers.launchpad.net/yade/+question/664417 Status: Open => Solved azim confirmed that the question is solved: Thanks Jérôme Duriez, 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 #664417]: Install Yade on CentOs 6.9
Question #664417 on Yade changed: https://answers.launchpad.net/yade/+question/664417 azim posted a new comment: Hi Jerome, Thanks, i will do as you said. -- 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 #664499]: Not able to understand the error
Question #664499 on Yade changed: https://answers.launchpad.net/yade/+question/664499 Description changed to: Hi, I am simulating a uniaxial compression of a concrete cylinder in yade. I am Using the uniax.py reference code from the github and I am editing that as per my problem. I have edited the code to use the JCFpm model for the cohesion. I am copying the code and the error i am getting in the following. CODE: #!/usr/bin/python # -*- coding: utf-8 -*- from __future__ import division from yade import plot,pack,timing import time, sys, os, copy #import matplotlib #matplotlib.rc('text',usetex=True) #matplotlib.rc('text.latex',preamble=r'\usepackage{concrete}\usepackage{euler}') # default parameters or from table readParamsFromTable(noTableOk=True, # unknownOk=True, young=24e9, poisson=.2, sigmaT=3.5e6, frictionAngle=atan(0.8), epsCrackOnset=1e-4, relDuctility=30, intRadius=1.5, dtSafety=.8, damping=0.4, strainRateTension=.01, strainRateCompression=.01, setSpeeds=True, # 1=tension, 2=compression (ANDed; 3=both) doModes=2, specimenLength=.08, sphereRadius=1.25e-3, # isotropic confinement (should be negative) isoPrestress=0, ) from yade.params.table import * from yade import pack, plot #Simulation Control# rate =-0.01 #Deformation rate iterMax = 1 #Maximum number of iterations saveVTK = 2000 #Opt files for paraview if 'description' in O.tags.keys(): O.tags['id']=O.tags['id']+O.tags['description'] rad = 5 # make geom; the dimensions are hard-coded here; could be in param table if desired # z-oriented hyperboloid, length 20cm, diameter 10cm, skirt 8cm # using spheres 7mm of diameter # Material Definition ## concreteId=O.materials.append(JCFpmMat(type=1,young=young,frictionAngle=frictionAngle,poisson=poisson,density=2400,sigmaT=sigmaT,relDuctility=relDuctility,epsCrackOnset=epsCrackOnset,isoPrestress=isoPrestress,cohesion=1e6)) sps=SpherePack() sp=pack.randomDensePack(pack.inCylinder((0,0,1),(0,0,1.080), 0.01*rad),spheresInCell=500,radius=sphereRadius,memoizeDb='/tmp/triaxPackCache.sqlite',returnSpherePack=True) #sp=pack.randomDensePack(pack.inAlignedBox((-.25*specimenLength,-.25*specimenLength,-.5*specimenLength),(.25*specimenLength,.25*specimenLength,.5*specimenLength)),spheresInCell=2000,radius=sphereRadius,memoizeDb='/tmp/triaxPackCache.sqlite',returnSpherePack=True) sp.toSimulation(material=concreteId) bb=uniaxialTestFeatures() negIds,posIds,axis,crossSectionArea=bb['negIds'],bb['posIds'],bb['axis'],bb['area'] O.dt=dtSafety*PWaveTimeStep() print 'Timestep',O.dt mm,mx=[pt[axis] for pt in aabbExtrema()] coord_25,coord_50,coord_75=mm+.25*(mx-mm),mm+.5*(mx-mm),mm+.75*(mx-mm) area_25,area_50,area_75=approxSectionArea(coord_25,axis),approxSectionArea(coord_50,axis),approxSectionArea(coord_75,axis) ### Engines are defined here ### O.engines=[ ForceResetter(), InsertionSortCollider([Bo1_Sphere_Aabb(aabbEnlargeFactor=intRadius,label='is2aabb'),],verletDist=.5*sphereRadius), InteractionLoop( [Ig2_Sphere_Sphere_ScGeom(interactionDetectionFactor=intRadius,label='ss2sc')], [Ip2_JCFpmMat_JCFpmMat_JCFpmPhys(cohesiveTresholdIteration=1, label='interactionPhys')], [Law2_ScGeom_JCFpmPhys_JointedCohesiveFrictionalPM(recordCracks=True, Key=Out, label='interactionLaw')], ), NewtonIntegrator(damping=damping,label='damper'), #CpmStateUpdater(realPeriod=.5), UniaxialStrainer(strainRate=strainRateCompression,axis=axis,asymmetry=0,posIds=posIds,negIds=negIds,crossSectionArea=crossSectionArea,blockDisplacements=1,blockRotations=1,setSpeeds=setSpeeds, stopStrain=0.1, dead=1, label='strainer'), GlobalStiffnessTimeStepper(active=1,timeStepUpdateInterval=10,timestepSafetyCoefficient=0.5, defaultDt=utils.PWaveTimeStep()), PyRunner(virtPeriod=1e-6/strainRateCompression,realPeriod=1,command='addPlotData()',label='plotDataCollector',initRun=True), PyRunner(realPeriod=4,command='stopIfDamaged()',label='damageChecker'), VTKRecorder(iterPeriod=int(saveVTK),initRun=True,fileName=OUT+'-',recorders=['spheres','jcfpm','cracks'],Key=OUT,label='vtk') ] #O.miscParams=[Gl1_CpmPhys(dmgLabel=False,colorStrain=False,epsNLabel=False,epsT=False,epsTAxes=False,normal=False,contactLine=True)] # plot stresses in ¼, ½ and ¾ if desired as well; too crowded in the graph that includes confinement, though #Recorder and Plot def recorder(): yade.plot.addData({'i':O.iter, 'eps':strainer.strain, 'sigma':strainer.avgStress, 'tc':interactionLaw.nbTensCracks, 'sc':interactionLaw.nbShearCracks,
Re: [Yade-users] [Question #432837]: how to get stress values with VTKExporter
Question #432837 on Yade changed: https://answers.launchpad.net/yade/+question/432837 Nishant posted a new comment: Thank you Jan, it helped! :) -- 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 #432837]: how to get stress values with VTKExporter
Question #432837 on Yade changed: https://answers.launchpad.net/yade/+question/432837 Jan Stránský posted a new comment: Hello, as Jerome said in #11, custom variables assigned in Python (liek mystress) is not saved/loaded. A workaround could be to save the data to an auxiliary variable / file and assign the values after load 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 #664479]: potential bug in version 2018-02-13.git-f9cac61 : undefined variable in lib/triangulation/FlowBoundingSphereLinSolv.ipp
Question #664479 on Yade changed: https://answers.launchpad.net/yade/+question/664479 Status: Answered => Solved Payam confirmed that the question is solved: Hi, The linux distribution we use is : debian jessie, version id = 8 and the libsuitesparse-dev is : libsuitesparse-dev:amd64 1:4.2.1-3. I haven't compiled the latest version yet. I would let you know once i do it. Thanks. -- 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 #664417]: Install Yade on CentOs 6.9
Question #664417 on Yade changed: https://answers.launchpad.net/yade/+question/664417 Jérôme Duriez posted a new comment: Hi, For the yubuntu question: as far as I'm concerned, I do not know.. For compilation problems (I understand they can occur...) feel free to open new questions as needed, being please as specific as possible (operating system, steps taken, and exact error messages obtained, among others..) -- 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 #664599]: @ https://www.ncbi.nlm.nih.gov/myncbi/williamjones8146/cv/241264/
Question #664599 on Yade changed: https://answers.launchpad.net/yade/+question/664599 Status: Open => Invalid Jérôme Duriez rejected the question: Spam -- 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 #664601]: @ https://www.ncbi.nlm.nih.gov/myncbi/williamjones8146/cv/241670/
Question #664601 on Yade changed: https://answers.launchpad.net/yade/+question/664601 Status: Open => Invalid Jérôme Duriez rejected the question: Spam -- 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