Commit ee15acbb authored by andy's avatar andy
Browse files

ENH: Construct from tmp to avoid field db clash

parent e26c0e35
......@@ -32,18 +32,7 @@ inline Foam::ThermoParcel<ParcelType>::TrackingData<CloudType>::TrackingData
)
:
ParcelType::template TrackingData<CloudType>(cloud, part),
Cp_
(
IOobject
(
"Cp",
cloud.db().time().timeName(),
cloud.db(),
IOobject::NO_READ,
IOobject::NO_WRITE
),
cloud.thermo().thermo().Cp()
),
Cp_(cloud.thermo().thermo().Cp()),
TInterp_
(
interpolation<scalar>::New
......
Supports Markdown
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