Skip to content

Commit d64f9c8

Browse files
committed
Fixed bug in FETiedFluidInterface.cpp
1 parent 1407be7 commit d64f9c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

FEBioFluid/FETiedFluidInterface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ double FETiedFluidInterface::AutoNormalVelocityPenalty(FESurfaceElement& el, FET
502502
FESolidElement& sel = static_cast<FESolidElement&>(*el.m_elem[0].pe);
503503
// get the fluid material for that solid element
504504
FEMaterial* pmat = GetFEModel()->GetMaterial(sel.GetMatID());
505-
FEFluidMaterial* pfluid = dynamic_cast<FEFluidMaterial*>(pmat);
505+
FEFluid* pfluid = dynamic_cast<FEFluid*>(pmat);
506506
if (pfluid == nullptr) return 1.0;
507507

508508
// bulk modulus

0 commit comments

Comments
 (0)