[Yade-users] [Question #685816]: how to get some variables in a certain range

2019-11-12 Thread nobody
New question #685816 on Yade:
https://answers.launchpad.net/yade/+question/685816

Hi All,

recently, I want to get some variables in a certain range. For instance, fabric 
tensor, and coordination number. 

I know if we want to get these variables for the whole sample we can use some 
commands like the following:

yade.utils. avgNumInteractions 

yade._utils.fabricTensor

for these two commands, there is nothing thing related to the dimensions, which 
means I cannot get these variables by using these commands. I also looked at 
the document, it seems there are no special commands can do this.

so if I want to get these variables at some local range in my sample. Do I need 
to write the python code to get the fabric tensor by using its definition?  or 
there is another way I didn't find it?

thanks in advance,
Yong




 

-- 
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 #685778]: About strain and uniaxialstrainer

2019-11-12 Thread John Avoilao
Question #685778 on Yade changed:
https://answers.launchpad.net/yade/+question/685778

Status: Answered => Solved

John Avoilao 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 #685647]: Problem in CHOLMOD test with GPU acceleration

2019-11-12 Thread Robert Caulk
Question #685647 on Yade changed:
https://answers.launchpad.net/yade/+question/685647

Robert Caulk proposed the following answer:
This can be accomplished by switching to your SuiteSparse folder and
typing:

make

-- 
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 #685647]: Problem in CHOLMOD test with GPU acceleration

2019-11-12 Thread Robert Caulk
Question #685647 on Yade changed:
https://answers.launchpad.net/yade/+question/685647

Status: Open => Answered

Robert Caulk proposed the following answer:
Please compile SuiteSparse without sudo.

-- 
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 #685647]: Problem in CHOLMOD test with GPU acceleration

2019-11-12 Thread Chu
Question #685647 on Yade changed:
https://answers.launchpad.net/yade/+question/685647

Status: Answered => Open

Chu is still having a problem:
Dear Robert,

I find that when I type make config under the SuiteSparse folder, I got

CUDA library: CUDART_LIB= /usr/local/cuda/lib64/libcudart.so
CUBLAS library: CUBLAS_LIB= /usr/local/cuda/lib64/libcublas.so

but if I type sudo make config, I got

CUDA library: CUDART_LIB= 
CUBLAS library: CUBLAS_LIB= 

It seems that the SuiteSparse can't find the correct PATH of CUDA. I think it 
can be the reason. 
But when I modify the SuiteSparse_config.mk with

ifneq ($(CUDA),no)
CUDA_PATH = $(/usr/local/cuda)
endif

and run sudo make config, I also got null CUDA&CUBLAS libary.

I'll appreciate if you could give some suggestions.

-- 
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 #685778]: About strain and uniaxialstrainer

2019-11-12 Thread Jan Stránský
Question #685778 on Yade changed:
https://answers.launchpad.net/yade/+question/685778

Jan Stránský posted a new comment:
Hi,

> Are you suggesting anyting?

any suggestion would depend on what you want to simulate.
If you want to simulate blocked transverse displacement of boundary particles, 
then use blockDisplacements=True, if you want to simulate free transverse 
displacement of boundary particles, then use blockDisplacements=False.
What is more appropriate depends on real physical test, how it is loaded, what 
is friction between the loading machine and the specimen .

You can try both versions and choose :-)

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 #685539]: shape orientation for Potential Block

2019-11-12 Thread Ali Rafiee
Question #685539 on Yade changed:
https://answers.launchpad.net/yade/+question/685539

Ali Rafiee posted a new comment:
Hi Vasileios,

I see that apparently you have not had time to look at this example.
if you need another example I can do it.
but this problem of orientation is not always solved.

Thanks a lot
Best regards
Ali

-- 
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 #685596]: GridConnection and PFacet: Segmentation fault

2019-11-12 Thread Klaus Thoeni
Question #685596 on Yade changed:
https://answers.launchpad.net/yade/+question/685596

Klaus Thoeni proposed the following answer:
I have reported a bug [1], but not sure when I will be able to look into
this.

Klaus

[1] https://bugs.launchpad.net/yade/+bug/1852197

-- 
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 #685596]: GridConnection and PFacet: Segmentation fault

2019-11-12 Thread Klaus Thoeni
Question #685596 on Yade changed:
https://answers.launchpad.net/yade/+question/685596

Linked to bug: #1852197
https://bugs.launchpad.net/bugs/1852197
"Segmentation fault on pfacet gridconnection contact"

-- 
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 #685596]: GridConnection and PFacet: Segmentation fault

2019-11-12 Thread Klaus Thoeni
Question #685596 on Yade changed:
https://answers.launchpad.net/yade/+question/685596

Status: Open => Answered

Klaus Thoeni proposed the following answer:
I had a brief look at this and could reproduce your segmentation fault.
At this stage I don't know where it is coming from. something I can tell
is that it is not coming from the boundary conditions. I have a
suspicion it might be related to the gridconnection-pfacet interaction
since the gridconnection is split up in several gridconnections that are
much smaller than the pfacet gridconnection. That's a case we didn't
validate before. Also, for your applications, would it be possible to
replace the pfacet with a wall? You could try that.

Klaus

-- 
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 #685778]: About strain and uniaxialstrainer

2019-11-12 Thread John Avoilao
Question #685778 on Yade changed:
https://answers.launchpad.net/yade/+question/685778

John Avoilao posted a new comment:
Thanks Jan Stránský (honzik),

I get the strain concept.

 2) depends on what you want to simulate :-)
 in certain case you should, in other cases you should not

Well im trying to simulate a ucs test;
Are you suggesting anyting?
Like blockDisplacements(=false) and blockRotations(=false)? or maybe true??

-- 
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 #685778]: About strain and uniaxialstrainer

2019-11-12 Thread Jan Stránský
Question #685778 on Yade changed:
https://answers.launchpad.net/yade/+question/685778

Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

please use question mark (?) at the end of questions.
The current description looks like you are just making statements and then you 
thank us. Probably not what you wanted to express..

Now **guessing** that 1) and 2) should have been questions:

1), yes, strain is computed as length difference / original length [1].
It is not percentage as it is dimensionless (percentage would be multiplied by 
100)

2) depends on what you want to simulate :-)
in certain case you should, in other cases you should not

cheers
Jan

[1] https://gitlab.com/yade-
dev/trunk/blob/master/pkg/dem/UniaxialStrainer.cpp#L125

-- 
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 #685778]: About strain and uniaxialstrainer

2019-11-12 Thread John Avoilao
New question #685778 on Yade:
https://answers.launchpad.net/yade/+question/685778

Hi to all,
I am a new user. Currently trying to simulate a compression test
I cant completely understand all the components of uniaxial strainer.
1) The strain I get is in (m/m); is it percentage elongation;
eps=(DL/Lo)=(L-Lo)/Lo;;
strain = Current strain value, elongation/originalLength
2) In a uniaxial compression test should I allow blockDisplacements and
blockRotations of boundary bodies;
 
Thank you all

-- 
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