Re: [Yade-users] [Question #700531]: Contacts in function getStress()

2022-02-08 Thread Leonard
Question #700531 on Yade changed:
https://answers.launchpad.net/yade/+question/700531

Leonard posted a new comment:
Hi Karol,

Thanks very much for your sharing.

As described in the code:
branch = b1->state->pos - b2->state->pos;
stressTensor += (nsi->normalForce + nsi->shearForce) * branch.transpose();

Based on my limited knowledge of cpp, I think the brach vector is
calculated by the position of the two objects, no matter they are sphere
or wall. Please correct me if I am wrong.

Best,
Leonard

-- 
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 #700531]: Contacts in function getStress()

2022-02-08 Thread Leonard
Question #700531 on Yade changed:
https://answers.launchpad.net/yade/+question/700531

Status: Answered => Solved

Leonard confirmed that the question is solved:
Thanks Karol Brzezinski, 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 #700369]: Circular setting

2022-02-08 Thread 孙灿
Question #700369 on Yade changed:
https://answers.launchpad.net/yade/+question/700369

孙灿 posted a new comment:
Hello! I tried your code, but I found it couldn't run. The reason for
the error is: non ASCII character '\ XC2' in file yuan py on line 11,
but no encoding declared;  see  http://python.org/dev/peps/pep-0263/
for details. In this sentence, yuan Py is the name of the run file I
defined.

-- 
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 #700531]: Contacts in function getStress()

2022-02-08 Thread Karol Brzezinski
Question #700531 on Yade changed:
https://answers.launchpad.net/yade/+question/700531

Status: Open => Answered

Karol Brzezinski proposed the following answer:
Hi,

You can find the code here [2]. Maybe this will help you to find the
answer.

I can't interpret this for sure, because of my little experience in cpp.


Cheers,
Karol

[2] https://gitlab.com/yade-
dev/trunk/-/blob/master/preprocessing/dem/Shop_02.cpp#L380

-- 
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 #700494]: Boundary conditions with thermal engine

2022-02-08 Thread Rioual
Question #700494 on Yade changed:
https://answers.launchpad.net/yade/+question/700494

Rioual gave more information on the question:
Hello Robert,

Here is a picture: https://stratus.irstea.fr/f/5be74ddefd5c4c5c9fd1/

The granular material is squashed between the 2 cylindrical boundaries 
(aditionnal bottom and top plates are also maintaining 
the material).
I would like if possible  a constant heat flux boundary condition between the 
inner cylindrical boundary and the granular material and a constant temperature 
condition between the external cylindrical boundary and the granular 
material
Hop e  this makes  things clearer


My best wishes
,

Vincent

-- 
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 #700494]: Boundary conditions with thermal engine

2022-02-08 Thread Rioual
Question #700494 on Yade changed:
https://answers.launchpad.net/yade/+question/700494

Status: Answered => Open

Rioual is still having a problem:
Hello Robert,

Here is a picture:
https://stratus.irstea.fr/f/5be74ddefd5c4c5c9fd1/
The granular material is squashed between the two cylindrical boundaries.
Heat Boundary conditions have to prescribed between the inner cylindrical 
boundary
 And the granular material  and between the outer cylindrical boundary and 
the granular
Material.
I hope this makes things clearer

Best wishes

Vincent,

*



François Rioual

Chargé de Recherches CR1

Unité FRISE- Génie des procédés frigorifiques pour la sécurité alimentaire 
et l’environnement

1 rue Pierre- Gilles de Gennes  - CS10030
92761 Antony Cedex

Courriel: francois.rio...@inrae.fr 

Tél. : +33 (0)1 40 96 61 21 (poste : 81 90 15)

 ***







-Message d'origine-
De : nore...@launchpad.net  De la part de Robert 
Caulk
Envoyé : mardi 8 février 2022 11:41
À : francois.rio...@irstea.fr
Objet : Re: [Question #700494]: Boundary conditions with thermal engine

Your question #700494 on Yade changed:
https://answers.launchpad.net/yade/+question/700494

Status: Open => Answered

Robert Caulk proposed the following answer:
>>In my case, my granular packing is confined between two concentric
cylindrical boundaries >> this is not adapted to this case so ?

Boundaries as concentric cylinders does not make sense. It seems I do not 
understand your geometry. Please clarify the geometry of the packing as well 
as the exact types of boundary conditions you are trying to apply.

>> is it a big job to modify the source code to add neumann's boundary
conditions ? (in case question 1 is favourable to my case)

Depends on your C++ coding skills I suppose. I already started working on 
this functionality, but it was buggy and I did not see any direct need to 
spend time debugging it [1].

Cheers,

Robert

[1]https://gitlab.com/yade-
dev/trunk/-/blob/master/pkg/pfv/Thermal.cpp#L273

--
If this answers your question, please go to the following page to let us 
know that it is solved:
https://answers.launchpad.net/yade/+question/700494/+confirm?answer_id=2

If you still need help, you can reply to this email or go to the following 
page to enter your feedback:
https://answers.launchpad.net/yade/+question/700494

You received this question notification because you asked the 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 #700494]: Boundary conditions with thermal engine

2022-02-08 Thread Robert Caulk
Question #700494 on Yade changed:
https://answers.launchpad.net/yade/+question/700494

Status: Open => Answered

Robert Caulk proposed the following answer:
>>In my case, my granular packing is confined between two concentric
cylindrical boundaries >> this is not adapted to this case so ?

Boundaries as concentric cylinders does not make sense. It seems I do
not understand your geometry. Please clarify the geometry of the packing
as well as the exact types of boundary conditions you are trying to
apply.

>> is it a big job to modify the source code to add neumann's boundary
conditions ? (in case question 1 is favourable to my case)

Depends on your C++ coding skills I suppose. I already started working
on this functionality, but it was buggy and I did not see any direct
need to spend time debugging it [1].

Cheers,

Robert

[1]https://gitlab.com/yade-
dev/trunk/-/blob/master/pkg/pfv/Thermal.cpp#L273

-- 
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 #700369]: Circular setting

2022-02-08 Thread Jan Stránský
Question #700369 on Yade changed:
https://answers.launchpad.net/yade/+question/700369

Status: Open => Answered

Jan Stránský proposed the following answer:
Something like this?
###
# input
R = 10
n = 48
# conputed values
c = 2*pi*R
r = c / 2 / float(n)
da = 2*pi / float(n)
# disks
disks = []
for i in range(n):
a = i*da
x = R*cos(a)
y = R*sin(a)
disk = sphere((x,y,0),r)
disks.append(disk)
O.bodies.append(disks)
###
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 #700369]: Circular setting

2022-02-08 Thread 孙灿
Question #700369 on Yade changed:
https://answers.launchpad.net/yade/+question/700369

Status: Needs information => Open

孙灿 gave more information on the question:
Hello! I'm sorry I didn't explain myself clearly. I want to simulate a
hollow circle. A hollow circle means that there are many particles whose
center lies on the circumference of another circle. The particles form a
new circle.

-- 
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 #700349]: How to realize the observation of settlement in shield simulation

2022-02-08 Thread Launchpad Janitor
Question #700349 on Yade changed:
https://answers.launchpad.net/yade/+question/700349

Status: Needs information => Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Needs information'
state without activity for the last 15 days.

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