mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
deltaT().value() to deltaTValue()
This commit is contained in:
@ -177,7 +177,7 @@ void Foam::InteractingKinematicCloud<ParcelType>::checkParcelProperties
|
||||
parcel.rho() = constProps_.rho0();
|
||||
}
|
||||
|
||||
scalar carrierDt = this->db().time().deltaT().value();
|
||||
scalar carrierDt = this->db().time().deltaTValue();
|
||||
parcel.stepFraction() = (carrierDt - lagrangianDt)/carrierDt;
|
||||
}
|
||||
|
||||
|
||||
@ -231,7 +231,7 @@ bool Foam::InteractingKinematicParcel<ParcelType>::move(TrackData& td)
|
||||
const polyMesh& mesh = td.cloud().pMesh();
|
||||
const polyBoundaryMesh& pbMesh = mesh.boundaryMesh();
|
||||
|
||||
const scalar deltaT = mesh.time().deltaT().value();
|
||||
const scalar deltaT = mesh.time().deltaTValue();
|
||||
|
||||
switch (td.part())
|
||||
{
|
||||
|
||||
@ -143,7 +143,7 @@ Foam::label Foam::PairSpringSliderDashpot<CloudType>::nSubCycles() const
|
||||
*pow(rhoMax/(Estar_*sqrt(UMagMax) + VSMALL), 0.4)
|
||||
/collisionResolutionSteps_;
|
||||
|
||||
return ceil(this->owner().time().deltaT().value()/minCollisionDeltaT);
|
||||
return ceil(this->owner().time().deltaTValue()/minCollisionDeltaT);
|
||||
}
|
||||
|
||||
|
||||
@ -189,7 +189,7 @@ void Foam::PairSpringSliderDashpot<CloudType>::evaluatePair
|
||||
+ (pA.omega() ^ (pA.r()*-rHat_AB))
|
||||
- (pB.omega() ^ (pB.r()*rHat_AB));
|
||||
|
||||
scalar deltaT = this->owner().mesh().time().deltaT().value();
|
||||
scalar deltaT = this->owner().mesh().time().deltaTValue();
|
||||
|
||||
vector& tangentialOverlap_AB =
|
||||
pA.collisionRecords().matchRecord
|
||||
|
||||
@ -128,7 +128,7 @@ Foam::label Foam::WallSpringSliderDashpot<CloudType>::nSubCycles() const
|
||||
// *pow(rhoMax/(Estar_*sqrt(UMagMax) + VSMALL), 0.4)
|
||||
// /collisionResolutionSteps_;
|
||||
|
||||
// return ceil(this->owner().time().deltaT().value()/minCollisionDeltaT);
|
||||
// return ceil(this->owner().time().deltaTValue()/minCollisionDeltaT);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user