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