-
Notifications
You must be signed in to change notification settings - Fork 33
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
Improve meshing #173
Merged
Merged
Improve meshing #173
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
8354102
corrected whitespaces in _toc.yml
duarte-jfs 35d66e3
Merge remote-tracking branch 'upstream/main'
dfcd280
added images to gitignore
a58f7e4
Merge branch 'HelgeGehring:main' into main
duarte-jfs 995a03d
improved meshing
9792556
Revert "improved meshing"
duarte-jfs bdf3052
Revert "added images to gitignore"
duarte-jfs 9ce5de4
update mesh.py
duarte-jfs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@simbilod didn't you put those options already somewhere? Or is that only in meshwell?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@duarte-jfs is there a reason why you add the last three lines again?
it's already done in (and the two following lines)
femwell/femwell/mesh/mesh.py
Line 409 in 9ce5de4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, sorry for getting back to you so late. I just looked at this again. To be honest, I don't understand it either. But the behaviour is different if you incliude the lines as I did. No clue why
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But it is also seems that
gmsh.model.mesh.MeshSizeFromPoints = 0
is not equivalent to gmsh.option.setNumber("Mesh.MeshSizeFromPoints", 0) (and likewise for the other two lines). I tried to use them interchangeably and the behaviour is differentThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, then I'm totally fine with just merging it :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes this will also add the mesh constraint on the curves and not just the surface (interior)
Meshwell has much more advanced resolution settings now, we should finish the migration #52