contactAngleModels: Corrected handling of contact angle conversion from degrees to radians
This commit is contained in:
@ -81,8 +81,8 @@ Foam::contactAngleModels::dynamic::cosTheta
|
|||||||
return cos
|
return cos
|
||||||
(
|
(
|
||||||
theta0_
|
theta0_
|
||||||
+ thetaRec_ - theta0_*max(uCoeff, scalar(0))
|
+ (thetaRec_ - theta0_)*max(uCoeff, scalar(0))
|
||||||
- thetaAdv_ - theta0_*min(uCoeff, scalar(0))
|
- (thetaAdv_ - theta0_)*min(uCoeff, scalar(0))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -72,9 +72,9 @@ Foam::contactAngleModels::gravitational::cosTheta
|
|||||||
|
|
||||||
return cos
|
return cos
|
||||||
(
|
(
|
||||||
degToRad(theta0_)
|
theta0_
|
||||||
+ degToRad(thetaRec_ - theta0_)*max(uCoeff, scalar(0))
|
+ (thetaRec_ - theta0_)*max(uCoeff, scalar(0))
|
||||||
- degToRad(thetaAdv_ - theta0_)*min(uCoeff, scalar(0))
|
- (thetaAdv_ - theta0_)*min(uCoeff, scalar(0))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user