Skip to content

Correct advection term #1080

@RemDelaporteMathurin

Description

@RemDelaporteMathurin

advection_term = ufl.inner(ufl.dot(ufl.grad(conc), vel), v) * self.dx(
adv_term.subdomain.id
)

Should be

advection_term = -ufl.inner(vel * conc, ufl.grad(v))*self.dx(adv_term.subdomain_id)

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