Changed tmp<volField> and tmp<surfaceField> construction to use the new simpler "New" method
avoiding unnecessary database registration of temporary fields
This commit is contained in:
@ -69,7 +69,7 @@ Foam::functionObjects::wallShearStress::calcShearStress
|
||||
(
|
||||
type(),
|
||||
mesh_,
|
||||
dimensionedVector("0", Reff.dimensions(), Zero)
|
||||
dimensionedVector(Reff.dimensions(), Zero)
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
@ -64,7 +64,7 @@ Foam::functionObjects::icoUncoupledKinematicCloud::icoUncoupledKinematicCloud
|
||||
IOobject::READ_IF_PRESENT,
|
||||
IOobject::NO_WRITE
|
||||
),
|
||||
dimensionedVector("g", dimAcceleration, Zero)
|
||||
dimensionedVector(dimAcceleration, Zero)
|
||||
),
|
||||
laminarTransport_
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user