Skip to content

getting upwind gradients in src/assemble/NSAssembly/Momentum/cfdAssembleMomentumDCSchemeTerm.m #34

Description

@shanjierenyidp

phiGradC = gradPhi(iUpwind,:, iComponent); in src/assemble/NSAssembly/Momentum/cfdAssembleMomentumDCSchemeTerm.m

seems incorrect.
I changed it to

phiGradC = gradPhi(iUpwind, :);

because we are only indexing the gradient to get the unwind gradients

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions