Commit 930a87a7 authored by mattijs's avatar mattijs
Browse files

ENH: fvMotionSolvers: updated comment, renamed function

parent bca3f305
......@@ -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.
......
......@@ -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<Pair<word> > 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();
}
......
......@@ -87,7 +87,7 @@ class displacementInterpolationMotionSolver
// Private Member Functions
//- Read settings
void read(const dictionary& coeffDict);
void calcInterpolation();
//- Disallow default bitwise copy construct
displacementInterpolationMotionSolver
......
......@@ -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.
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment