Skip to content

Commit

Permalink
[IBM] IBM update
Browse files Browse the repository at this point in the history
  • Loading branch information
antjost committed Oct 1, 2024
1 parent 61813ea commit c996e29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Cassiopee/Post/Post/IBM.py
Original file line number Diff line number Diff line change
Expand Up @@ -1038,18 +1038,18 @@ def prepareSkinReconstruction(tb, tc, dimPb=3, ibctypes=[], prepareMLS=True):

return graphIBCDPost, ts

def computeSkinVariables(ts, tc, graphIBCDPost, dimPb=3, ibctypes=[]):
def computeSkinVariables(ts, tc, graphIBCDPost, dimPb=3, ibctypes=[], isPreProjectOrtho=False):
"""Computes the surface flow solution at the wall."""
tp = Internal.copyRef(ts)
_computeSkinVariables(tp, tc, graphIBCDPost, dimPb, ibctypes)
_computeSkinVariables(tp, tc, graphIBCDPost, dimPb, ibctypes, isPreProjectOrtho=isPreProjectOrtho)
return tp

def _computeSkinVariables(ts, tc, graphIBCDPost, dimPb=3, ibctypes=[]):
def _computeSkinVariables(ts, tc, graphIBCDPost, dimPb=3, ibctypes=[], isPreProjectOrtho=False):
"""Computes the surface flow solution at the wall."""
tl = createCloudIBM__(tc, ibctypes)
tl = setIBCTransfersPost__(graphIBCDPost, tl)
tl = T.join(tl)
P._projectCloudSolution(tl, ts, dim=dimPb, ibm=True)
P._projectCloudSolution(tl, ts, dim=dimPb, ibm=True, isPreProjectOrtho=isPreProjectOrtho)
Cmpi.barrier()
return None

Expand Down

0 comments on commit c996e29

Please sign in to comment.