Merge branch 'master' into particleInteractions
This commit is contained in:
commit
ed3d9ef3eb
@ -39,6 +39,7 @@ Foam::SurfaceFilmModel<CloudType>::SurfaceFilmModel(CloudType& owner)
|
||||
owner_(owner),
|
||||
g_(dimensionedVector("zero", dimAcceleration, vector::zero)),
|
||||
coeffDict_(dictionary::null),
|
||||
active_(false),
|
||||
injectorCellsPatch_(0),
|
||||
massParcelPatch_(0),
|
||||
diameterParcelPatch_(0),
|
||||
@ -62,6 +63,7 @@ Foam::SurfaceFilmModel<CloudType>::SurfaceFilmModel
|
||||
owner_(owner),
|
||||
g_(g),
|
||||
coeffDict_(dict.subDict(type + "Coeffs")),
|
||||
active_(true),
|
||||
injectorCellsPatch_(0),
|
||||
massParcelPatch_(0),
|
||||
diameterParcelPatch_(0),
|
||||
@ -85,6 +87,11 @@ template<class CloudType>
|
||||
template<class TrackData>
|
||||
void Foam::SurfaceFilmModel<CloudType>::inject(TrackData& td)
|
||||
{
|
||||
if (!active_)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// Retrieve the film model from the owner database
|
||||
const surfaceFilmModels::surfaceFilmModel& filmModel =
|
||||
this->owner().db().objectRegistry::lookupObject
|
||||
|
@ -79,6 +79,9 @@ protected:
|
||||
//- The coefficients dictionary
|
||||
const dictionary coeffDict_;
|
||||
|
||||
//- Active flag
|
||||
bool active_;
|
||||
|
||||
|
||||
// Cached injector fields per film patch
|
||||
|
||||
|
@ -107,8 +107,8 @@ ManualInjectionCoeffs
|
||||
{
|
||||
minValue 5e-06;
|
||||
maxValue 0.0005;
|
||||
d ( 5e-05 );
|
||||
n ( 0.5 );
|
||||
d 5e-05;
|
||||
n 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -92,8 +92,8 @@ ManualInjectionCoeffs
|
||||
{
|
||||
minValue 5e-06;
|
||||
maxValue 0.000565;
|
||||
d ( 4.8e-05 );
|
||||
n ( 0.5 );
|
||||
d 4.8e-05;
|
||||
n 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType hPsiMixtureThermo<reactingMixture<gasThermoPhysics>>;
|
||||
thermoType hsPsiMixtureThermo<reactingMixture<gasThermoPhysics>>;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
|
@ -75,8 +75,8 @@ ManualInjectionCoeffs
|
||||
{
|
||||
minValue 5e-05;
|
||||
maxValue 0.0001;
|
||||
d ( 7.5e-05 );
|
||||
n ( 0.5 );
|
||||
d 7.5e-05;
|
||||
n 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -88,8 +88,8 @@ ManualInjectionCoeffs
|
||||
{
|
||||
minValue 5e-06;
|
||||
maxValue 0.0005;
|
||||
d ( 5e-05 );
|
||||
n ( 0.5 );
|
||||
d 5e-05;
|
||||
n 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user