particleTracks, steadyParticleTracks: Standardised dictionary locations
Settings for the particleTracks utility are now specified in system/particleTracksDict. Correspondingly, settings for steadyParticleTracks are now specified in system/steadyParticleTracksDict.
This commit is contained in:
@ -1,13 +1,4 @@
|
||||
IOdictionary propsDict
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
"particleTrackProperties",
|
||||
runTime.constant(),
|
||||
mesh,
|
||||
IOobject::MUST_READ_IF_MODIFIED
|
||||
)
|
||||
);
|
||||
IOdictionary propsDict(systemDict("particleTracksDict", args, runTime));
|
||||
|
||||
const word cloudName(propsDict.lookup("cloudName"));
|
||||
|
||||
|
||||
@ -1,24 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object particleTrackProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
cloudName reactingCloud1;
|
||||
|
||||
sampleFrequency 1;
|
||||
|
||||
maxPositions 1000000;
|
||||
|
||||
setFormat vtk;
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,9 +1,4 @@
|
||||
const word dictName("particleTrackDict");
|
||||
|
||||
IOdictionary propsDict
|
||||
(
|
||||
systemDict(dictName, args, runTime, word::null, runTime.constant())
|
||||
);
|
||||
IOdictionary propsDict(systemDict("steadyParticleTracksDict", args, runTime));
|
||||
|
||||
word cloudName(propsDict.lookup("cloudName"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user