Re: [Yade-users] [Question #191489]: How to translate a periodic cell ?

2012-03-23 Thread Chareyre
Question #191489 on Yade changed:
https://answers.launchpad.net/yade/+question/191489

Chareyre proposed the following answer:
Just like Chiara, I'm surprised that you think about translating the origin of 
the coordinate system.
It is not possible, but you can always translate all the bodies, it will have 
the same effect.

-- 
You received this question notification because you are a member of
yade-users, which 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 #191412]: import module problem

2012-03-23 Thread Anton Gladky
Question #191412 on Yade changed:
https://answers.launchpad.net/yade/+question/191412

Anton Gladky proposed the following answer:
> but it could be useful if I can use the compressed files from the old
> computer on the new one.

It is not yade-side, it is boost-side.
I would not recommend to use lucid. It is stable, but backporting on
so old systems becomes more and more complicated.

Anton

-- 
You received this question notification because you are a member of
yade-users, which 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 #191412]: import module problem

2012-03-23 Thread Rinaldi Giuseppe
Question #191412 on Yade changed:
https://answers.launchpad.net/yade/+question/191412

Rinaldi Giuseppe posted a new comment:
If I run the test again on the new machine saving compressed file then I
can load them.

but it could be useful if I can use the compressed files from the old
computer on the new one.

so I will try with the xml file.

I will let you know.


Thanks again,


Giuseppe

-- 
You received this question notification because you are a member of
yade-users, which 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 #191412]: import module problem

2012-03-23 Thread Anton Gladky
Question #191412 on Yade changed:
https://answers.launchpad.net/yade/+question/191412

Anton Gladky proposed the following answer:
Hmm, it can be related to different versions of boost-serialization on
those Ubuntu versions (1.40 against 1.46).

Anton

-- 
You received this question notification because you are a member of
yade-users, which 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 #191395]: visualize utils.box with paraview

2012-03-23 Thread Anton Gladky
Question #191395 on Yade changed:
https://answers.launchpad.net/yade/+question/191395

Anton Gladky posted a new comment:
Boxes are not exporting by VTKRecorder.
The feature should be implemented, if somebody needs it.

Anton

-- 
You received this question notification because you are a member of
yade-users, which 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 #191395]: visualize utils.box with paraview

2012-03-23 Thread Christian Jakob
Question #191395 on Yade changed:
https://answers.launchpad.net/yade/+question/191395

Status: Open => Solved

Christian Jakob confirmed that the question is solved:
Problem solved while using facets instead of boxes.

-- 
You received this question notification because you are a member of
yade-users, which 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 #191489]: How to translate a periodic cell ?

2012-03-23 Thread Chiara Modenese
Question #191489 on Yade changed:
https://answers.launchpad.net/yade/+question/191489

Chiara Modenese proposed the following answer:
On 23/03/12 12:50, Kneib François wrote:
> Question #191489 on Yade changed:
> https://answers.launchpad.net/yade/+question/191489
>
> Kneib François posted a new comment:
> Reasons why I want to do that are to long to explain here.
I do not see any particular reason for that.
> By moving the cell's origin I would save lot of time. According to your 
> answer I supposed that it's not possible so I found an other (more 
> complicated) solution.
It is not possible, I think.

Chiara
> François
>


-- 
Chiara Modenese
DPhil Candidate in Engineering Science
Department of Engineering Science, Parks Road, Oxford, OX1 3PJ, UK
Mobile: +44 7760915539
Email: chiara.moden...@eng.ox.ac.uk

You received this question notification because you are a member of
yade-users, which 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 #191412]: import module problem

2012-03-23 Thread Chiara Modenese
Question #191412 on Yade changed:
https://answers.launchpad.net/yade/+question/191412

Chiara Modenese proposed the following answer:
On 23/03/12 13:30, Rinaldi Giuseppe wrote:
> Question #191412 on Yade changed:
> https://answers.launchpad.net/yade/+question/191412
>
> Rinaldi Giuseppe posted a new comment:
> I'm trying to import simulation I saved in daily-yade ("Yade 
> 1+2978+27~oneiric1")  and I'm trying to run it on daily-yade ("Yade 
> 1+3053+27~lucid1").
> they have different version of Ubuntu (11.10 in the old computer and 10.04.3 
> in the new computer)
>
> But I installed daily-yade on both the computers.
See my reply. If the xml format is still not supported, you will have to 
run the test once again.

Cheers.
Chiara
>
> Giuseppe
>

-- 
You received this question notification because you are a member of
yade-users, which 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 #191412]: import module problem

2012-03-23 Thread Chiara Modenese
Question #191412 on Yade changed:
https://answers.launchpad.net/yade/+question/191412

Chiara Modenese proposed the following answer:
On 23/03/12 13:05, Anton Gladky wrote:
> Question #191412 on Yade changed:
> https://answers.launchpad.net/yade/+question/191412
>
> Anton Gladky proposed the following answer:
> You are trying to import the simulation, that you saved in 0.50 version.
> Right? So in this case you should really use 0.50
>
> Anton
>
On different machines, there can be conflicts even while using the same 
version (I have some experience with that).

1. As Anton suggests, you should install the same version you used to 
create your simulation.
2. You should also make sure that the simulation is saved as 
"bla.xml.bz2" other than "bla.yade.gz" as this could avoid the error you 
get now (just reload the test on your original machine and save it in 
xml format).
3. Finally, if this still does not work, you should simply run the test 
again on the new machine.

Chiara

-- 
You received this question notification because you are a member of
yade-users, which 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 #191412]: import module problem

2012-03-23 Thread Rinaldi Giuseppe
Question #191412 on Yade changed:
https://answers.launchpad.net/yade/+question/191412

Rinaldi Giuseppe posted a new comment:
I'm trying to import simulation I saved in daily-yade ("Yade 
1+2978+27~oneiric1")  and I'm trying to run it on daily-yade ("Yade 
1+3053+27~lucid1"). 
they have different version of Ubuntu (11.10 in the old computer and 10.04.3 in 
the new computer)

But I installed daily-yade on both the computers.


Giuseppe

-- 
You received this question notification because you are a member of
yade-users, which 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 #191412]: import module problem

2012-03-23 Thread Anton Gladky
Question #191412 on Yade changed:
https://answers.launchpad.net/yade/+question/191412

Anton Gladky proposed the following answer:
You are trying to import the simulation, that you saved in 0.50 version. 
Right? So in this case you should really use 0.50

Anton

-- 
You received this question notification because you are a member of
yade-users, which 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 #191489]: How to translate a periodic cell ?

2012-03-23 Thread Kneib François
Question #191489 on Yade changed:
https://answers.launchpad.net/yade/+question/191489

Kneib François posted a new comment:
Reasons why I want to do that are to long to explain here.
By moving the cell's origin I would save lot of time. According to your answer 
I supposed that it's not possible so I found an other (more complicated) 
solution.

François

-- 
You received this question notification because you are a member of
yade-users, which 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 #191412]: import module problem

2012-03-23 Thread Rinaldi Giuseppe
Question #191412 on Yade changed:
https://answers.launchpad.net/yade/+question/191412

Rinaldi Giuseppe posted a new comment:
my professor wants me to install the same version that I have in my old
computer in the new computer.

So I uninstalled "yade 0.5" and  I installed daily-yade writing in the
terminal:

sudo add-apt-repository ppa:yade-pkg/snapshots
sudo apt-get update
sudo apt-get install yade-daily

now I have no more that problem but if I run a script in which I  load a
file  I get:

esskdb@esskdb:~/Desktop/giuseppe$ yade-daily simpleShear.py
Welcome to Yade 1+3053+27~lucid1, from 2012-03-22
TCP python prompt on localhost:9000, auth cookie `sadekc'
XMLRPC info provider on http://localhost:21000
Running script simpleShear.py
Traceback (most recent call last):
  File "/usr/bin/yade-daily", line 182, in runScript
execfile(script,globals())
  File "simpleShear.py", line 8, in 
O.load('5000-100-oedom.yade.gz');
RuntimeError: unsupported version
[[ ^L clears screen, ^U kills line. F8 plot. ]]

what's the problem?
if you think that is better to use the "yade 0.7" version what I have to write 
on the terminal to   install "yade-stable package 0.7"?

Thanks all

Giuseppe

-- 
You received this question notification because you are a member of
yade-users, which 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 #191489]: How to translate a periodic cell ?

2012-03-23 Thread Chiara Modenese
Question #191489 on Yade changed:
https://answers.launchpad.net/yade/+question/191489

Status: Open => Answered

Chiara Modenese proposed the following answer:

On 23/03/2012 10:10, Kneib François wrote:
> New question #191489 on Yade:
> https://answers.launchpad.net/yade/+question/191489
>
> Hi all,
>
> I'm trying to translate a periodic cell, but not successfully.
Hi François,
what are you trying to achieve by doing that? I mean, is there any 
advantage if you do that? Whether the origin of your cell is at (0,0,0) 
or any other point, should only be a matter of convention.

Chiara

>   The only cell I'm able to do takes its origin at (0,0,0).
> Is there a way to do that ?
>
> Thanks
>

-- 
You received this question notification because you are a member of
yade-users, which 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 #191489]: How to translate a periodic cell ?

2012-03-23 Thread Kneib François
New question #191489 on Yade:
https://answers.launchpad.net/yade/+question/191489

Hi all, 

I'm trying to translate a periodic cell, but not successfully. The only cell 
I'm able to do takes its origin at (0,0,0).
Is there a way to do that ?

Thanks

-- 
You received this question notification because you are a member of
yade-users, which 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