Skip to content

Wrong mesh dimension -1 error while 2D meshing: 3D trapezium created by "hspace" functionality and a BUG ISSUE IN TESSELATION (with reg 1) #862

Answered by Srijan7Y
SrijanY asked this question in Q&A
Discussion options

You must be logged in to vote

Issue is solved. I took the left corner of the trapezium not at origin, but slighlty ahead like from 0.5 , and increased my domain to 2.0 for the same. Thus by avoiding the shape corner from lying on origin, this issue was solved.
This is the updated command, which didn't cause any issues,

$ neper -T -n 100 -morpho gg -morphooptistop "val=1e-2" -domain "cube(2.5,0.5,1.2)" -transform "cut(hspace(2.4,1.2,0,0.5),hspacei(0.6,1.2,0,-0.5))"

The shape got easily meshed after this.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rquey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants