56 namespace laminarModels
63 template<
class BasicMomentumTransportModel>
66 public Maxwell<BasicMomentumTransportModel>
88 typedef typename BasicMomentumTransportModel::alphaField
alphaField;
89 typedef typename BasicMomentumTransportModel::rhoField
rhoField;
90 typedef typename BasicMomentumTransportModel::transportModel
transportModel;
102 const alphaField&
alpha,
107 const transportModel& transport,
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Generalised Maxwell model for viscoelasticity using the upper-convected time derivative of the stress...
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
PTT(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &type=typeName)
Construct from components.
PTT model for viscoelasticity using the upper-convected time derivative of the stress tensor with sup...
void operator=(const PTT &)=delete
Disallow default bitwise assignment.
virtual bool read()
Re-read model coefficients if they have changed.
BasicMomentumTransportModel::alphaField alphaField
A class for handling words, derived from string.
virtual ~PTT()
Destructor.
virtual tmp< volSymmTensorField > sigma() const
Return the stress tensor [m^2/s^2].
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
BasicMomentumTransportModel::transportModel transportModel
BasicMomentumTransportModel::rhoField rhoField
A class for managing temporary objects.
PtrList< dimensionedScalar > epsilons_
TypeName("PTT")
Runtime type information.
virtual tmp< fvSymmTensorMatrix > sigmaSource(const label modei, volSymmTensorField &sigma) const