ENH: fvMotionSolvers: updated comment, renamed function

This commit is contained in:
mattijs
2015-11-23 11:52:28 +00:00
parent bca3f3053c
commit 930a87a74e
5 changed files with 10 additions and 11 deletions

View File

@ -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.

View File

@ -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();
}

View File

@ -87,7 +87,7 @@ class displacementInterpolationMotionSolver
// Private Member Functions
//- Read settings
void read(const dictionary& coeffDict);
void calcInterpolation();
//- Disallow default bitwise copy construct
displacementInterpolationMotionSolver

View File

@ -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.

View File

@ -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.