← Back to team overview

yade-users team mailing list archive

Re: [Question #201791]: pebble bed reactor

 

Question #201791 on Yade changed:
https://answers.launchpad.net/yade/+question/201791

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

there are several possibilities to make such geometry in Yade. All of 
them works with facets (triangular elements), that represents the 
geometry. So you can:

a) use some method from yade.ymport module [1]. Various formats are 
supported - gmsh, gts, stl, unv. This will load facets (triangles) from 
a file (which was somehow prepared in advance). See for example unv 
example [1], the mesh was created using free mesh generator Salome [6].

b) create the geometry directly in python script using gts module [3] 
(this documentation should be improved), see for example [4] or [5].

If you have already the geometry in a CAD model that can save it to 
readable form, we can implement methods to import another format

good luck in your work and if you had any questions, just ask

Jan

[1] https://yade-dem.org/doc/yade.ymport.html
[2] 
http://bazaar.launchpad.net/~yade-pkg/yade/git-trunk/files/head:/examples/test/unv-read/ 

[3] https://yade-dem.org/doc/external.html#module-gts
[4] 
http://bazaar.launchpad.net/~yade-pkg/yade/git-trunk/view/head:/examples/funnel.py 

[5] 
http://bazaar.launchpad.net/~yade-pkg/yade/git-trunk/view/head:/examples/funnel.py 

[6] http://www.salome-platform.org/


On 1.7.2012 10:35, Matej wrote:
> Question #201791 on Yade changed:
> https://answers.launchpad.net/yade/+question/201791
>
> Matej posted a new comment:
> Hello jduriez,
>
> thank you for your quick answer.
>
> My question would be, how to produce the geometry of the core? Is it
> possible to make the geometry in Yade or is there any possibility to
> make it using CAD program and then transform it into Yade ?
>
> Thx
>

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.