mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
tidying
This commit is contained in:
@ -178,10 +178,7 @@ const Foam::vector Foam::KinematicParcel<ParcelType>::calcVelocity
|
||||
|
||||
template<class ParcelType>
|
||||
template<class TrackData>
|
||||
bool Foam::KinematicParcel<ParcelType>::move
|
||||
(
|
||||
TrackData& td
|
||||
)
|
||||
bool Foam::KinematicParcel<ParcelType>::move(TrackData& td)
|
||||
{
|
||||
ParcelType& p = static_cast<ParcelType&>(*this);
|
||||
|
||||
@ -289,19 +286,12 @@ void Foam::KinematicParcel<ParcelType>::hitPatch
|
||||
|
||||
|
||||
template<class ParcelType>
|
||||
void Foam::KinematicParcel<ParcelType>::hitPatch
|
||||
(
|
||||
const polyPatch&,
|
||||
int&
|
||||
)
|
||||
void Foam::KinematicParcel<ParcelType>::hitPatch(const polyPatch&, int&)
|
||||
{}
|
||||
|
||||
|
||||
template<class ParcelType>
|
||||
void Foam::KinematicParcel<ParcelType>::transformProperties
|
||||
(
|
||||
const tensor& T
|
||||
)
|
||||
void Foam::KinematicParcel<ParcelType>::transformProperties(const tensor& T)
|
||||
{
|
||||
Particle<ParcelType>::transformProperties(T);
|
||||
U_ = transform(T, U_);
|
||||
|
||||
@ -54,8 +54,10 @@ SourceFiles
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
class polynomial;
|
||||
|
||||
// Forward declaration of friend functions
|
||||
Ostream& operator<<
|
||||
(
|
||||
Ostream&,
|
||||
|
||||
@ -60,12 +60,12 @@ bool Foam::NoDispersion<CloudType>::active() const
|
||||
template<class CloudType>
|
||||
Foam::vector Foam::NoDispersion<CloudType>::update
|
||||
(
|
||||
const scalar dt,
|
||||
const label celli,
|
||||
const vector& U,
|
||||
const scalar,
|
||||
const label,
|
||||
const vector&,
|
||||
const vector& Uc,
|
||||
vector& UTurb,
|
||||
scalar& tTurb
|
||||
vector&,
|
||||
scalar&
|
||||
)
|
||||
{
|
||||
// Do nothing
|
||||
|
||||
@ -29,11 +29,7 @@ License
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
template <class CloudType>
|
||||
Foam::NoDrag<CloudType>::NoDrag
|
||||
(
|
||||
const dictionary& dict,
|
||||
CloudType& owner
|
||||
)
|
||||
Foam::NoDrag<CloudType>::NoDrag(const dictionary& dict, CloudType& owner)
|
||||
:
|
||||
DragModel<CloudType>(dict, owner)
|
||||
{}
|
||||
@ -56,10 +52,7 @@ bool Foam::NoDrag<CloudType>::active() const
|
||||
|
||||
|
||||
template<class CloudType>
|
||||
Foam::scalar Foam::NoDrag<CloudType>::Cd
|
||||
(
|
||||
const scalar
|
||||
) const
|
||||
Foam::scalar Foam::NoDrag<CloudType>::Cd(const scalar) const
|
||||
{
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
@ -56,10 +56,7 @@ bool Foam::SphereDrag<CloudType>::active() const
|
||||
|
||||
|
||||
template <class CloudType>
|
||||
Foam::scalar Foam::SphereDrag<CloudType>::Cd
|
||||
(
|
||||
const scalar Re
|
||||
) const
|
||||
Foam::scalar Foam::SphereDrag<CloudType>::Cd(const scalar Re) const
|
||||
{
|
||||
scalar Cd;
|
||||
if (Re < SMALL)
|
||||
|
||||
@ -231,4 +231,5 @@ bool Foam::ConeInjection<CloudType>::validInjection(const label parcelI)
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user