Skip to content
Snippets Groups Projects
Commit 9833e614 authored by Andrew Heather's avatar Andrew Heather
Browse files

BUG: surfaceAlignedSBRStressFvMotionSolver - corrected units (see #2265)

Note - this resolves the reported dimensions error, but it is not clear
if this code (has ever?) run or if this change is appropriate...
parent 6aa608cf
Branches
Tags
No related merge requests found
...@@ -384,11 +384,9 @@ void Foam::surfaceAlignedSBRStressFvMotionSolver::solve() ...@@ -384,11 +384,9 @@ void Foam::surfaceAlignedSBRStressFvMotionSolver::solve()
sigmaD_ = magNewSigmaD; sigmaD_ = magNewSigmaD;
} }
const surfaceScalarField Df const dimensionedScalar oneViscosity("viscosity", dimViscosity, 1.0);
(
dimensionedScalar("viscosity", dimViscosity, 1.0) const surfaceScalarField Df(oneViscosity*diffusivity().operator()());
*diffusivity().operator()()
);
pointDisplacement_.boundaryFieldRef().updateCoeffs(); pointDisplacement_.boundaryFieldRef().updateCoeffs();
...@@ -417,7 +415,7 @@ void Foam::surfaceAlignedSBRStressFvMotionSolver::solve() ...@@ -417,7 +415,7 @@ void Foam::surfaceAlignedSBRStressFvMotionSolver::solve()
) )
) )
== ==
fvc::div(sigmaD_) oneViscosity*fvc::div(sigmaD_)
+ fvOptions(cellDisp) + fvOptions(cellDisp)
); );
......
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