Skip to content

A question in cfdUpdateVectorFieldForAllBoundaryPatches #26

@liuqi45

Description

@liuqi45

I think this code is used for update velocity 'U' in boundaries.
However, for noslip boundary, the code is the same as zeroGradient boundary. I think it's wrong.

if strcmp(thePhysicalPatchType,'wall')
if strcmp(theBCType,'fixedValue')
updateFixedValue(iBPatch,theFieldName);
elseif strcmp(theBCType,'zeroGradient') || strcmp(theBCType,'noSlip') || strcmp(theBCType,'slip')
updateZeroGradient(iBPatch,theFieldName);
else
error([theBCType ' bc not defined']);
end

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