diff --git a/src/lagrangian/intermediate/submodels/Kinematic/CollisionModel/PairCollision/PairCollision.C b/src/lagrangian/intermediate/submodels/Kinematic/CollisionModel/PairCollision/PairCollision.C index d5e459ddc0..3c9c2fb43f 100644 --- a/src/lagrangian/intermediate/submodels/Kinematic/CollisionModel/PairCollision/PairCollision.C +++ b/src/lagrangian/intermediate/submodels/Kinematic/CollisionModel/PairCollision/PairCollision.C @@ -661,10 +661,10 @@ void Foam::PairCollision::collide() { preInteraction(); - parcelInteraction(); - wallInteraction(); + parcelInteraction(); + postInteraction(); } diff --git a/src/lagrangian/intermediate/submodels/Thermodynamic/SurfaceFilmModel/ThermoSurfaceFilm/ThermoSurfaceFilm.C b/src/lagrangian/intermediate/submodels/Thermodynamic/SurfaceFilmModel/ThermoSurfaceFilm/ThermoSurfaceFilm.C index 51ab413fee..a56518cadd 100644 --- a/src/lagrangian/intermediate/submodels/Thermodynamic/SurfaceFilmModel/ThermoSurfaceFilm/ThermoSurfaceFilm.C +++ b/src/lagrangian/intermediate/submodels/Thermodynamic/SurfaceFilmModel/ThermoSurfaceFilm/ThermoSurfaceFilm.C @@ -411,10 +411,10 @@ void Foam::ThermoSurfaceFilm::splashInteraction const scalar EKIn = 0.5*m*magSqr(Urel); // incident surface energy [J] - const scalar ESigmaIn = sigma*p.areaS(d); + const scalar ESigmaIn = np*sigma*p.areaS(d); // dissipative energy - const scalar Ed = max(0.8*EKIn, Wec/12*pi*sigma*sqr(d)); + const scalar Ed = max(0.8*EKIn, np*Wec/12*pi*sigma*sqr(d)); // total energy [J] const scalar EKs = EKIn + ESigmaIn - ESigmaSec - Ed; diff --git a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C index 046adb8a2a..3962697845 100644 --- a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C +++ b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C @@ -142,8 +142,8 @@ void Foam::AMIInterpolation::writeIntersectionOBJ template void Foam::AMIInterpolation::checkPatches ( - const primitivePatch& srcPatch, - const primitivePatch& tgtPatch + const SourcePatch& srcPatch, + const TargetPatch& tgtPatch ) const { const scalar maxBoundsError = 0.05; @@ -166,8 +166,8 @@ void Foam::AMIInterpolation::checkPatches ( "AMIInterpolation::checkPatches" "(" - "const primitivePatch&, " - "const primitivePatch&" + "const SourcePatch&, " + "const TargetPatch&" ")" ) << "Source and target patch bounding boxes are not similar" << nl << " source box span : " << bbSrc.span() << nl @@ -182,7 +182,7 @@ void Foam::AMIInterpolation::checkPatches template void Foam::AMIInterpolation::resetTree ( - const primitivePatch& tgtPatch + const TargetPatch& tgtPatch ) { // Clear the old octree @@ -212,8 +212,8 @@ void Foam::AMIInterpolation::resetTree template Foam::label Foam::AMIInterpolation::calcDistribution ( - const primitivePatch& srcPatch, - const primitivePatch& tgtPatch + const SourcePatch& srcPatch, + const TargetPatch& tgtPatch ) const { label procI = 0; @@ -297,7 +297,7 @@ template void Foam::AMIInterpolation::distributePatches ( const mapDistribute& map, - const primitivePatch& pp, + const TargetPatch& pp, const globalIndex& gi, List& faces, List& points, @@ -394,7 +394,7 @@ void Foam::AMIInterpolation:: distributeAndMergePatches ( const mapDistribute& map, - const primitivePatch& tgtPatch, + const TargetPatch& tgtPatch, const globalIndex& gi, faceList& tgtFaces, pointField& tgtPoints, @@ -509,8 +509,8 @@ template Foam::autoPtr Foam::AMIInterpolation::calcProcMap ( - const primitivePatch& srcPatch, - const primitivePatch& tgtPatch + const SourcePatch& srcPatch, + const TargetPatch& tgtPatch ) const { // Get decomposition of patch @@ -711,7 +711,7 @@ template Foam::label Foam::AMIInterpolation::findTargetFace ( const label srcFaceI, - const primitivePatch& srcPatch + const SourcePatch& srcPatch ) const { label targetFaceI = -1; @@ -745,7 +745,7 @@ template void Foam::AMIInterpolation::appendNbrFaces ( const label faceI, - const primitivePatch& patch, + const TargetPatch& patch, const DynamicList