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

How to debug a problem #4

Open
rpuenter opened this issue Jun 21, 2023 · 0 comments
Open

How to debug a problem #4

rpuenter opened this issue Jun 21, 2023 · 0 comments

Comments

@rpuenter
Copy link

I´m trying to use this utility with my mesh, but it fails at the domain redimensioning stage. With some put statements I find that the probelm is that in lines 582-587 (copied below), domMinEdgeLen and domMaxEdgeLen are set to Automatic instead of to a number. Then lines 592 or 596 will fail because it is expecting a number. I´m not familiar with Glyph, is there a reasonably easy way to fix this issue? I guess it´s a matter of consifering also the "Automatic" case in the logic, but I lack the knowledge to implement it.

# Refine interior triangles of unstructured domains if necessary. Do not refine
# diagonalized domains, they will be regenerated
if { [$dom isOfType "pw::DomainUnstructured"] &&
     [array get diagDomNameToOrigDom $dom] eq "" } {
  set domMinEdgeLen [$dom getUnstructuredSolverAttribute EdgeMinimumLength]
  set domMaxEdgeLen [$dom getUnstructuredSolverAttribute EdgeMaximumLength]
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