Skip to content

How to debug a problem #4

@rpuenter

Description

@rpuenter

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions