Re: [Yade-users] [Question #478785]: Export VTK files to txt files

2017-02-27 Thread Bruno Chareyre
Question #478785 on Yade changed:
https://answers.launchpad.net/yade/+question/478785

Bruno Chareyre posted a new comment:
Not sure it will answer the real question but for the sake of completeness, a 
quick remark: the vtk files are already text files.
I think the .vtu have some kind of binary encoding but all the vtk I've seen 
from yade are readable ASCII files.
Bruno

-- 
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 #482413]: TriaxialStressController lose control of stress

2017-02-27 Thread Bruno Chareyre
Question #482413 on Yade changed:
https://answers.launchpad.net/yade/+question/482413

Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi,

This:
triax.stressMask = 0
triax.goal1 = 0.00

Implies that the goal is now to return to the reference
(initial/undeformed) state.  That's what the engine is doing:
uncompacting, then stress goes back to zero.

If you want no deformation after  stressMask = 0 then you need:
triax.goal1 = triax.strain[1] #goal = current

or:
O.cell.trsf=Matrix3.Identity #current = reference
triax.goal1 = 0.00

Cheers

Bruno

-- 
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 #482687]: make doc error

2017-02-27 Thread Bruno Chareyre
Question #482687 on Yade changed:
https://answers.launchpad.net/yade/+question/482687

Bruno Chareyre posted a new comment:
Does #4 really answer the question??
I would think the real problem was this:
/bin/sh: 1: xelatex: not found

You need xelatex compiler to generate the pdf.

Bruno

p.s. @Jan, Anton, I found that the old "PYTHONPATH=. yade-trunk -x
yadeSphinx.py" was not working some time ago, and that only "make doc"
was doing the job correctly, but it depends on many things IIRC (for
instance executing the command in trunk/doc or in build/doc is not
necessarily the same).

-- 
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 #483523]: concurrent multiscale method by coupling YADE with FEM

2017-02-27 Thread Bruno Chareyre
Question #483523 on Yade changed:
https://answers.launchpad.net/yade/+question/483523

Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hello, do you know this?
https://yade-dem.org/doc/FEMxDEM.html

Bruno

-- 
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 #482687]: make doc error

2017-02-27 Thread Anton Gladky
Question #482687 on Yade changed:
https://answers.launchpad.net/yade/+question/482687

Anton Gladky posted a new comment:
Well, it was planned to replace the documentation generation by a a
simple "make doc". I do not remember why, but it did not worked well
everywhere. That is why we still have "yade yadeSphinx"  magic in
debian builds.

"make doc" is supposed to be executed __only__ in build directory, and
it must not be the same as a source one.

-- 
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 #478785]: Export VTK files to txt files

2017-02-27 Thread Jan Stránský
Question #478785 on Yade changed:
https://answers.launchpad.net/yade/+question/478785

Jan Stránský proposed the following answer:
Hi Jabrane,

using PyRunner:

##
def saveMyDate():
   ... # code creating a file and writing your desired data into it

O.engines = [
   ...
   PyRunner(iterPeriod=1,command='saveMyData()'),
]
##

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 #482400]: index out of range

2017-02-27 Thread Jan Stránský
Question #482400 on Yade changed:
https://answers.launchpad.net/yade/+question/482400

Jan Stránský proposed the following answer:
Thanks for info,
empty sys.argv is not standard. A workaround should be

argv = sys.argv
sys.argv = ['whatever']
from yadeimport import *
sys.argv = argv

Anyway, why you import Yade into Yade session? :-) (based on #4)

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