Skip to content

Missing Contact Surface Normal #158

@tcaduser

Description

@tcaduser

This template is for bug reporting. For general questions about the simulator, please create a new discussion at https://forum.devsim.org

Describe the bug

Reported in PR #157 by @marc-flex

Interfaces have surface normal vectors, but contacts do not.

NSurfaceNormal_x
NSurfaceNormal_y
NSurfaceNormal_z (3D)

To Reproduce

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context

There was a decision a long time ago to separate out the surface area at boundaries into:

  • ContactSurfaceArea (Contacts)
  • SurfaceArea (Interfaces)

At the time the surface normal was not saved for contacts. It is used for to find the interface normals in conjunction with the devsim.interface_normal_model command to find the distance and direction with respect to the nearest interface.

@marc-flex, how would you feel about creating these models instead:

ContactNSurfaceNormal_x
ContactNSurfaceNormal_y
ContactNSurfaceNormal_z (3D)

instead of lumping them into the models for the interface?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions