mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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...
This commit is contained in:
@ -384,11 +384,9 @@ void Foam::surfaceAlignedSBRStressFvMotionSolver::solve()
|
||||
sigmaD_ = magNewSigmaD;
|
||||
}
|
||||
|
||||
const surfaceScalarField Df
|
||||
(
|
||||
dimensionedScalar("viscosity", dimViscosity, 1.0)
|
||||
*diffusivity().operator()()
|
||||
);
|
||||
const dimensionedScalar oneViscosity("viscosity", dimViscosity, 1.0);
|
||||
|
||||
const surfaceScalarField Df(oneViscosity*diffusivity().operator()());
|
||||
|
||||
pointDisplacement_.boundaryFieldRef().updateCoeffs();
|
||||
|
||||
@ -417,7 +415,7 @@ void Foam::surfaceAlignedSBRStressFvMotionSolver::solve()
|
||||
)
|
||||
)
|
||||
==
|
||||
fvc::div(sigmaD_)
|
||||
oneViscosity*fvc::div(sigmaD_)
|
||||
+ fvOptions(cellDisp)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user