Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2D cube cut #877

Open
ruibmpinto opened this issue Jun 28, 2024 · 0 comments
Open

2D cube cut #877

ruibmpinto opened this issue Jun 28, 2024 · 0 comments

Comments

@ruibmpinto
Copy link

Maybe I was overly optimistic, but I was trying to generate a slightly complex 2D tesselation, something like:

example_2d_geom

I tried to follow roughly what was done here: #826

The command I ran and its output can be found below (I have also tried running with a cube with a finite corner radius and I get the same output). Is there a way to create such a geometry?

Thank you

$ neper -T -n 1000 -dim 2 -domain "square(0.1,0.1125)" -transform "cut(cylinder(0.028,0.0095,0,0,0,1,0.003),cylinder(0.028,0.0845,0,0,0,1,0.003),cylinder(0.028,0.0405,0,0,0,1,0.003),cube(0.025,0.1,0,0.0095,0,0.1,0.00))"

======================== N e p e r =======================
Info : A software package for polycrystal generation and meshing.
Info : Version 4.8.2-9
Info : Built with: gsl|muparser|opengjk|openmp|nlopt|libscotch (full)
Info : Running on 20 threads.
Info : https://neper.info
Info : Copyright (C) 2003-2022, and GNU GPL'd, by Romain Quey.
Info : No initialization file found (`/home/ruibmpinto/.neperrc').
Info : ---------------------------------------------------------------
Info : MODULE -T loaded with arguments:
Info : [ini file] (none)
Info : [com line] -n 1000 -dim 2 -domain square(0.1,0.1125) -transform
cut(cylinder(0.028,0.0095,0,0,0,1,0.003),cylinder(0.028,0.0845,0,0,0,1,0.003),cylinder(0.028,0.0405,0,0,0,1,0.003),cube(0.025,0.1,0,0.0095,0,0.1,0.00))
Info : ---------------------------------------------------------------
Info : Reading input data...
Info : Creating domain...
Info : Creating tessellation...
Info : - Setting seeds...
Info : - Running tessellation...
Info : Generating crystal orientations...
Info : Transforming tessellation...
Info : - Cutting (experimental)...
Info : > cylinder(0.028,0.0095,0,0,0,1,0.003)...
Info : > cylinder(0.028,0.0845,0,0,0,1,0.003)...
Info : > cylinder(0.028,0.0405,0,0,0,1,0.003)...
Info : > cube(0.025,0.1,0,0.0095,0,0.1,0.00)...
Error : You have discovered a bug in Neper! Please file an issue at
https://github.com/rquey/neper/issues. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant