diff --git a/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict b/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict index e197b68888..3d982e052b 100644 --- a/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict +++ b/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict @@ -361,7 +361,6 @@ snapControls // Maximum relative distance for points to be attracted by surface. // True distance is this factor times local maximum edge length. - // Note: changed(corrected) w.r.t 17x! (17x used 2* tolerance) tolerance 2.0; // Number of mesh displacement relaxation iterations. diff --git a/src/fvMotionSolver/fvMotionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.C b/src/fvMotionSolver/fvMotionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.C index 349c5d406e..d08c63b5ee 100644 --- a/src/fvMotionSolver/fvMotionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.C +++ b/src/fvMotionSolver/fvMotionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.C @@ -58,17 +58,14 @@ namespace Foam // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // -void Foam::displacementInterpolationMotionSolver::read -( - const dictionary& coeffDict -) +void Foam::displacementInterpolationMotionSolver::calcInterpolation() { // Get zones and their interpolation tables for displacement // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ List > faceZoneToTable ( - coeffDict.lookup("interpolationTables") + coeffDict().lookup("interpolationTables") ); const faceZoneMesh& fZones = mesh().faceZones(); @@ -311,7 +308,7 @@ displacementInterpolationMotionSolver : displacementMotionSolver(mesh, dict, typeName) { - read(coeffDict()); + calcInterpolation(); } @@ -326,7 +323,7 @@ displacementInterpolationMotionSolver : displacementMotionSolver(mesh, dict, pointDisplacement, points0, typeName) { - read(coeffDict()); + calcInterpolation(); } diff --git a/src/fvMotionSolver/fvMotionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.H b/src/fvMotionSolver/fvMotionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.H index 4748cc553d..3742417349 100644 --- a/src/fvMotionSolver/fvMotionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.H +++ b/src/fvMotionSolver/fvMotionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.H @@ -87,7 +87,7 @@ class displacementInterpolationMotionSolver // Private Member Functions //- Read settings - void read(const dictionary& coeffDict); + void calcInterpolation(); //- Disallow default bitwise copy construct displacementInterpolationMotionSolver diff --git a/src/fvMotionSolver/fvMotionSolvers/displacement/surfaceAlignedSBRStress/surfaceAlignedSBRStressFvMotionSolver.C b/src/fvMotionSolver/fvMotionSolvers/displacement/surfaceAlignedSBRStress/surfaceAlignedSBRStressFvMotionSolver.C index 7af99613e4..3593db771f 100644 --- a/src/fvMotionSolver/fvMotionSolvers/displacement/surfaceAlignedSBRStress/surfaceAlignedSBRStressFvMotionSolver.C +++ b/src/fvMotionSolver/fvMotionSolvers/displacement/surfaceAlignedSBRStress/surfaceAlignedSBRStressFvMotionSolver.C @@ -213,8 +213,9 @@ void Foam::surfaceAlignedSBRStressFvMotionSolver::calculateCellRot() } } -// Note: faces on boundaries that get hit are noy included as the -// pointDisplacement on boundaries is usually zero for this solver. + // Note: faces on boundaries that get hit are noy included as + // the pointDisplacement on boundaries is usually zero for + // this solver. // Search for closest direction on faces on mesh // and surface normal. diff --git a/src/fvMotionSolver/fvMotionSolvers/displacement/surfaceAlignedSBRStress/surfaceAlignedSBRStressFvMotionSolver.H b/src/fvMotionSolver/fvMotionSolvers/displacement/surfaceAlignedSBRStress/surfaceAlignedSBRStressFvMotionSolver.H index 0088d12f3d..719c699449 100644 --- a/src/fvMotionSolver/fvMotionSolvers/displacement/surfaceAlignedSBRStress/surfaceAlignedSBRStressFvMotionSolver.H +++ b/src/fvMotionSolver/fvMotionSolvers/displacement/surfaceAlignedSBRStress/surfaceAlignedSBRStressFvMotionSolver.H @@ -33,6 +33,7 @@ Description Input parameters: + \verbatim surfaceAlignedSBRStressCoeffs { diffusivity uniform; @@ -44,6 +45,7 @@ Description smoothFactor 0.9; minSigmaDiff 1e-4; } + \endverbatim surfaces: name of the stl surfaces to which apply alignment.