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
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