Skip to content

Fix drag and lift computations in TF problem #40

Description

@jorgensd

Interior facet integrals needs a volume tag to have a consistent orientation:

Dr = -assemble((sigma(v, p, d, mu_f)*n)[0]*ds(6))
Li = -assemble((sigma(v, p, d, mu_f)*n)[1]*ds(6))
Dr += -assemble((sigma(v("+"), p("+"), d("+"), mu_f)*n("+"))[0]*dS(5))
Li += -assemble((sigma(v("+"), p("+"), d("+"), mu_f)*n("+"))[1]*dS(5))

ref
https://fenicsproject.discourse.group/t/integrating-over-an-interior-surface/247/4?u=dokken

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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