Skip to content
Snippets Groups Projects
Commit e670c3e3 authored by Henry Weller's avatar Henry Weller
Browse files

viscosityModels::Casson: Updated constructor to avoid the need to specify the...

viscosityModels::Casson: Updated constructor to avoid the need to specify the dimensions of the coefficients
parent 40b0be03
Branches
Tags
No related merge requests found
......@@ -84,10 +84,10 @@ Foam::viscosityModels::Casson::Casson
:
viscosityModel(name, viscosityProperties, U, phi),
CassonCoeffs_(viscosityProperties.subDict(typeName + "Coeffs")),
m_(CassonCoeffs_.lookup("m")),
tau0_(CassonCoeffs_.lookup("tau0")),
nuMin_(CassonCoeffs_.lookup("nuMin")),
nuMax_(CassonCoeffs_.lookup("nuMax")),
m_("m", dimViscosity, CassonCoeffs_),
tau0_("tau0", dimViscosity/dimTime, CassonCoeffs_),
nuMin_("nuMin", dimViscosity, CassonCoeffs_),
nuMax_("nuMax", dimViscosity, CassonCoeffs_),
nu_
(
IOobject
......
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