yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #18930
Re: [Question #678348]: PeriTriaxController of different materials
Question #678348 on Yade changed:
https://answers.launchpad.net/yade/+question/678348
Status: Open => Answered
Bruno Chareyre proposed the following answer:
> I don't think the pressure is going to go down
Well... no need to think here. Check output and you will see (converging) oscillations around the goal value.
Please fix errors if you need more insight.
####### ERROR1
Yade [1]: plot.plot()
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
/usr/bin/yadedaily in <module>()
----> 1 plot.plot()
/usr/lib/x86_64-linux-gnu/yadedaily/py/yade/plot.py in plot(noShow, subPlots)
593 global currLineRefs
594 figs=set([l.line.axes.get_figure() for l in currLineRefs])
--> 595 if not hasattr(list(figs)[0],'show') and not noShow:
596 import warnings
597 warnings.warn('plot.plot not showing figure (matplotlib using headless backend?)')
IndexError: list index out of range
####### ERROR2
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
/usr/bin/yadedaily in <module>()
/usr/bin/yadedaily in compactionFinished()
43 print('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
44 O.cell.trsf=Matrix3.Identity
---> 45 for i in n:
46 O.bodies[i].material = O.materials[s]
47 triax.goal=(sigmaIso,sigmaIso,-1000000)
NameError: global name 'n' is not defined
--
You received this question notification because your team yade-users is
an answer contact for Yade.