mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: have MUST_READ_IF_MODIFIED on IOdictionary construction
This commit is contained in:
117
TODO
117
TODO
@ -1,100 +1,23 @@
|
|||||||
- allocate/free tags.
|
- check
|
||||||
Not tested.
|
new fvMesh
|
||||||
|
new fvMeshSubset
|
||||||
OK - test blockMesh with cyclics
|
for consistency with createMesh.H
|
||||||
unitTestCases/singleCyclic/
|
|
||||||
|
|
||||||
OK - test cyclics sequential running.
|
|
||||||
unitTestCases/singleCyclic/
|
- Check the following:
|
||||||
|
|
||||||
OK - test decomposePar
|
doc/changes/inotify.txt
|
||||||
tested channel395
|
|
||||||
|
|
||||||
OK - FaceCellWave
|
|
||||||
unitTestCases/twoCavityCyclicForWallDistance/
|
|
||||||
|
|
||||||
OK - non-parallel finite volume : channelFoam
|
|
||||||
unitTestCases/channel395-splitCyclic vs. channel395-dev
|
|
||||||
|
|
||||||
OK - parallel finite volume with processorCyclic: channelFoam
|
|
||||||
unitTestCases/channel395-splitCyclic vs. channel395-dev
|
|
||||||
|
|
||||||
OK - preProcessing/foamUpgradeCyclics
|
|
||||||
|
|
||||||
OK - gamg - sequential.
|
|
||||||
Tested on channel395-splitCyclic with GAMG.
|
|
||||||
OK - gamg parallel.
|
|
||||||
Tested on channel395-splitCyclic with GAMG.
|
|
||||||
|
|
||||||
- initTransfer in GAMGprocessorInterfaces using nonblocking+tags
|
|
||||||
untested.
|
|
||||||
|
|
||||||
OK - cyclic baffles.
|
|
||||||
Tested on t-junction-with-fan
|
|
||||||
|
|
||||||
OK. - jumpCyclics/fanFvPatchField. All usages of jump() now need to account
|
|
||||||
for being owner() or not.
|
|
||||||
Tested on t-junction-with-fan.
|
|
||||||
|
|
||||||
OK - regionSplit
|
|
||||||
tested on singleCyclic
|
|
||||||
|
|
||||||
OK - pointFields on cyclics. volPointInterpolation.
|
|
||||||
tested on channel395-splitCyclic
|
|
||||||
|
|
||||||
OK - fvMeshSubset
|
|
||||||
tested on singleCyclic
|
|
||||||
|
|
||||||
OK - pointEdgeWave (maybe test through inversePointDistanceDiffusivity?)
|
|
||||||
tested on twoCavityCyclicForWallDistance
|
|
||||||
|
|
||||||
OK - scotchDecomp
|
|
||||||
tested with testCalcCSR on twoCavityCyclicForWallDistance
|
|
||||||
|
|
||||||
NOT WORKING - fvMeshDistribute to split cyclic patches into ones
|
|
||||||
with different separation.
|
|
||||||
tested on singleCyclic
|
|
||||||
|
|
||||||
OK - test createPatch pointSync
|
|
||||||
note: only works if face-centre position of 0th faces is ok since uses
|
|
||||||
this for separation. Should in fact make cyclic planar using patch centre and
|
|
||||||
normal?
|
|
||||||
test on twoCavityCyclicForWallDistance with point (0 1 0) set to (0 1.001 0)
|
|
||||||
|
|
||||||
NO PROBLEM - renumberMesh
|
|
||||||
It doesn't do renumbering through cyclics.
|
|
||||||
|
|
||||||
OK - rotational cyclics.
|
|
||||||
Tested on movingCone-with-cyclics
|
|
||||||
|
|
||||||
OK - LUscalarMatrix::convert still expects interfaces to be cyclic
|
|
||||||
tested on channel395 with 'directSolveCoarsest true;'
|
|
||||||
|
|
||||||
OK - grep for size()/2
|
|
||||||
|
|
||||||
- all tutorials with cyclics:
|
|
||||||
OK - incompressible/DNS/dnsFoam/boxTurb16
|
|
||||||
OK - incompressible/channelFoam/channel395
|
|
||||||
slight differences due to divergence. combustion/XiFoam/les/pitzDaily3D
|
|
||||||
OK - no cyclics. combustion/fireFoam/les/smallPoolFire2D
|
|
||||||
discreteMethods/dsmcFoam/freeSpacePeriodic
|
|
||||||
discreteMethods/dsmcFoam/wedge15Ma5
|
|
||||||
discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon
|
|
||||||
OK - incompressible/boundaryFoam/boundaryLaunderSharma
|
|
||||||
OK - incompressible/boundaryFoam/boundaryWallFunctions
|
|
||||||
OK - incompressible/boundaryFoam/boundaryWallFunctionsProfile
|
|
||||||
OK - needs createBaffles. incompressible/pimpleFoam/t-junction-with-fan
|
|
||||||
OK - incompressible/simpleSRFFoam/mixer
|
|
||||||
OK - needs createBaffles. lagrangian/porousExplicitSourceReactingParcelFoam/filter
|
|
||||||
needs special coupledbcs. lagrangian/reactingParcelFilmFoam/multipleBoxes
|
|
||||||
|
|
||||||
|
|
||||||
OK - createBaffles
|
|
||||||
|
|
||||||
- have foamUpgradeCyclics split 'value' field
|
|
||||||
- activeBaffleVelocity
|
|
||||||
- kivaToFoam/readKivaGrid.H sorts cyclics (but in incorrect order?)
|
|
||||||
- isoSurface.C
|
|
||||||
- referredCellList.C
|
|
||||||
- work out scheduled communication?
|
|
||||||
OK - add neighbourPatch checking to 16x.
|
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"turbulenceProperties",
|
"turbulenceProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -39,7 +39,7 @@
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -62,7 +62,7 @@ Foam::XiEqModels::SCOPEXiEq::SCOPEXiEq
|
|||||||
"combustionProperties",
|
"combustionProperties",
|
||||||
Su.mesh().time().constant(),
|
Su.mesh().time().constant(),
|
||||||
Su.mesh(),
|
Su.mesh(),
|
||||||
IOobject::MUST_READ
|
IOobject::MUST_READ_IF_MODIFIED
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
thermo
|
thermo
|
||||||
|
|||||||
@ -110,7 +110,7 @@
|
|||||||
"PDRProperties",
|
"PDRProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"combustionProperties",
|
"combustionProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"combustionProperties",
|
"combustionProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@ IOdictionary combustionProperties
|
|||||||
"combustionProperties",
|
"combustionProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -65,7 +65,7 @@ IOdictionary combustionProperties
|
|||||||
"combustionProperties",
|
"combustionProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@ IOdictionary chemistryProperties
|
|||||||
"chemistryProperties",
|
"chemistryProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|||||||
@ -7,7 +7,7 @@ IOdictionary chemistryProperties
|
|||||||
"chemistryProperties",
|
"chemistryProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|||||||
@ -9,7 +9,7 @@ IOdictionary thermophysicalProperties
|
|||||||
"thermophysicalProperties",
|
"thermophysicalProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"thermodynamicProperties",
|
"thermodynamicProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"thermodynamicProperties",
|
"thermodynamicProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"thermodynamicProperties",
|
"thermodynamicProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"thermodynamicProperties",
|
"thermodynamicProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@ IOdictionary mdEquilibrationDict
|
|||||||
"mdEquilibrationDict",
|
"mdEquilibrationDict",
|
||||||
runTime.system(),
|
runTime.system(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"physicalProperties",
|
"physicalProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"financialProperties",
|
"financialProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -36,7 +36,7 @@ Foam::regionProperties::regionProperties(const Time& runTime)
|
|||||||
"regionProperties",
|
"regionProperties",
|
||||||
runTime.time().constant(),
|
runTime.time().constant(),
|
||||||
runTime.db(),
|
runTime.db(),
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|||||||
@ -44,7 +44,7 @@
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@ IOdictionary gravitationalProperties
|
|||||||
"gravitationalProperties",
|
"gravitationalProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@ IOdictionary chemistryProperties
|
|||||||
"chemistryProperties",
|
"chemistryProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@ IOdictionary chemistryProperties
|
|||||||
"chemistryProperties",
|
"chemistryProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|||||||
@ -97,7 +97,7 @@
|
|||||||
"additionalControls",
|
"additionalControls",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@ IOdictionary chemistryProperties
|
|||||||
"chemistryProperties",
|
"chemistryProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|||||||
@ -7,7 +7,7 @@ IOdictionary chemistryProperties
|
|||||||
"chemistryProperties",
|
"chemistryProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|||||||
@ -91,7 +91,7 @@
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
"RASProperties",
|
"RASProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"thermodynamicProperties",
|
"thermodynamicProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -46,7 +46,7 @@ Foam::phaseChangeTwoPhaseMixture::New
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
U.time().constant(),
|
U.time().constant(),
|
||||||
U.db(),
|
U.db(),
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|||||||
@ -50,7 +50,7 @@
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -184,7 +184,7 @@
|
|||||||
"RASProperties",
|
"RASProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -153,7 +153,7 @@
|
|||||||
"interfacialProperties",
|
"interfacialProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -56,7 +56,7 @@ Foam::kineticTheoryModel::kineticTheoryModel
|
|||||||
"kineticTheoryProperties",
|
"kineticTheoryProperties",
|
||||||
Ua_.time().constant(),
|
Ua_.time().constant(),
|
||||||
Ua_.mesh(),
|
Ua_.mesh(),
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
"ppProperties",
|
"ppProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"mechanicalProperties",
|
"mechanicalProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"thermalProperties",
|
"thermalProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -48,7 +48,7 @@ int main(int argc, char *argv[])
|
|||||||
"dataEntryProperties",
|
"dataEntryProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -116,7 +116,7 @@ int main(int argc, char *argv[])
|
|||||||
dictName,
|
dictName,
|
||||||
"system",
|
"system",
|
||||||
runTime,
|
runTime,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|||||||
@ -57,7 +57,7 @@ int main(int argc, char *argv[])
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -56,7 +56,7 @@ int main(int argc, char *argv[])
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -57,7 +57,7 @@ int main(int argc, char *argv[])
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -58,7 +58,7 @@ int main(int argc, char *argv[])
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -639,7 +639,7 @@ int main(int argc, char *argv[])
|
|||||||
"motionProperties",
|
"motionProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -669,7 +669,7 @@ int main(int argc, char *argv[])
|
|||||||
"autoRefineMeshDict",
|
"autoRefineMeshDict",
|
||||||
runTime.system(),
|
runTime.system(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -74,7 +74,7 @@ void checkSnapMesh
|
|||||||
"snapMeshDict",
|
"snapMeshDict",
|
||||||
runTime.system(),
|
runTime.system(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -346,7 +346,7 @@ int main(int argc, char *argv[])
|
|||||||
"modifyMeshDict",
|
"modifyMeshDict",
|
||||||
runTime.system(),
|
runTime.system(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -78,7 +78,7 @@ Foam::edgeStats::edgeStats(const polyMesh& mesh)
|
|||||||
"motionProperties",
|
"motionProperties",
|
||||||
mesh.time().constant(),
|
mesh.time().constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -346,7 +346,7 @@ int main(int argc, char *argv[])
|
|||||||
"selectCellsDict",
|
"selectCellsDict",
|
||||||
runTime.system(),
|
runTime.system(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -29,7 +29,7 @@
|
|||||||
runTime.timeName(),
|
runTime.timeName(),
|
||||||
"uniform",
|
"uniform",
|
||||||
runTime,
|
runTime,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|||||||
@ -29,7 +29,7 @@
|
|||||||
runTime.timeName(),
|
runTime.timeName(),
|
||||||
"uniform",
|
"uniform",
|
||||||
runTime,
|
runTime,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|||||||
@ -121,7 +121,7 @@ int main(int argc, char *argv[])
|
|||||||
: dictPath
|
: dictPath
|
||||||
),
|
),
|
||||||
runTime,
|
runTime,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
@ -137,7 +137,7 @@ int main(int argc, char *argv[])
|
|||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
polyMeshDir,
|
polyMeshDir,
|
||||||
runTime,
|
runTime,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|||||||
@ -218,7 +218,7 @@ int main(int argc, char *argv[])
|
|||||||
runTimeExtruded.constant(),
|
runTimeExtruded.constant(),
|
||||||
regionDir,
|
regionDir,
|
||||||
runTimeExtruded,
|
runTimeExtruded,
|
||||||
IOobject::MUST_READ
|
IOobject::MUST_READ_IF_MODIFIED
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -144,7 +144,7 @@ int main(int argc, char *argv[])
|
|||||||
"decomposeParDict",
|
"decomposeParDict",
|
||||||
runTime.system(),
|
runTime.system(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -157,7 +157,7 @@ int main(int argc, char *argv[])
|
|||||||
"snappyHexMeshDict",
|
"snappyHexMeshDict",
|
||||||
runTime.system(),
|
runTime.system(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -532,7 +532,7 @@ int main(int argc, char *argv[])
|
|||||||
: word::null
|
: word::null
|
||||||
),
|
),
|
||||||
runTime,
|
runTime,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|||||||
@ -39,7 +39,7 @@ Foam::mirrorFvMesh::mirrorFvMesh(const IOobject& io)
|
|||||||
"mirrorMeshDict",
|
"mirrorMeshDict",
|
||||||
time().system(),
|
time().system(),
|
||||||
*this,
|
*this,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"mirrorMeshDict",
|
"mirrorMeshDict",
|
||||||
runTime.system(),
|
runTime.system(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -334,7 +334,7 @@ int main(int argc, char *argv[])
|
|||||||
"refineMeshDict",
|
"refineMeshDict",
|
||||||
runTime.system(),
|
runTime.system(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -483,7 +483,7 @@ int main(int argc, char *argv[])
|
|||||||
"decomposeParDict",
|
"decomposeParDict",
|
||||||
runTime.system(),
|
runTime.system(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -298,7 +298,7 @@ int main(int argc, char *argv[])
|
|||||||
args.options()["toleranceDict"],
|
args.options()["toleranceDict"],
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -83,7 +83,7 @@ int main(int argc, char *argv[])
|
|||||||
(
|
(
|
||||||
dictPath,
|
dictPath,
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
: IOobject
|
: IOobject
|
||||||
@ -91,7 +91,7 @@ int main(int argc, char *argv[])
|
|||||||
dictName,
|
dictName,
|
||||||
runTime.system(),
|
runTime.system(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
@ -163,7 +163,7 @@ int main(int argc, char *argv[])
|
|||||||
runTime.time().system(),
|
runTime.time().system(),
|
||||||
regionDir, // use region if non-standard
|
regionDir, // use region if non-standard
|
||||||
runTime,
|
runTime,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|||||||
@ -94,7 +94,7 @@ Foam::domainDecomposition::domainDecomposition(const IOobject& io)
|
|||||||
"decomposeParDict",
|
"decomposeParDict",
|
||||||
time().system(),
|
time().system(),
|
||||||
*this,
|
*this,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|||||||
@ -581,7 +581,7 @@ int main(int argc, char *argv[])
|
|||||||
"decomposeParDict",
|
"decomposeParDict",
|
||||||
runTime.system(),
|
runTime.system(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -94,7 +94,7 @@ int main(int argc, char *argv[])
|
|||||||
"foamDataToFluentDict",
|
"foamDataToFluentDict",
|
||||||
runTime.system(),
|
runTime.system(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
if (io.headerOk())
|
if (io.headerOk())
|
||||||
{
|
{
|
||||||
io.readOpt() = IOobject::MUST_READ;
|
io.readOpt() = IOobject::MUST_READ_IF_MODIFIED;
|
||||||
IOdictionary timeObject(io);
|
IOdictionary timeObject(io);
|
||||||
|
|
||||||
timeObject.lookup("index") >> timeIndex;
|
timeObject.lookup("index") >> timeIndex;
|
||||||
|
|||||||
@ -5,7 +5,7 @@ IOdictionary conversionProperties
|
|||||||
"conversionProperties",
|
"conversionProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -444,7 +444,7 @@ void Foam::vtkPV3Foam::updateFoamMesh()
|
|||||||
meshRegion_,
|
meshRegion_,
|
||||||
dbPtr_().timeName(),
|
dbPtr_().timeName(),
|
||||||
dbPtr_(),
|
dbPtr_(),
|
||||||
IOobject::MUST_READ
|
IOobject::MUST_READ_IF_MODIFIED
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -315,7 +315,7 @@ void Foam::vtkPV3blockMesh::updateFoamMesh()
|
|||||||
dbPtr_().constant(),
|
dbPtr_().constant(),
|
||||||
polyMesh::meshSubDir,
|
polyMesh::meshSubDir,
|
||||||
dbPtr_(),
|
dbPtr_(),
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|||||||
@ -260,7 +260,7 @@ void Foam::readerDatabase::loadMesh()
|
|||||||
meshPtr_ = new fvMeshSubset
|
meshPtr_ = new fvMeshSubset
|
||||||
(
|
(
|
||||||
*runTimePtr_,
|
*runTimePtr_,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@ IOdictionary propsDict
|
|||||||
"particleTrackProperties",
|
"particleTrackProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ
|
IOobject::MUST_READ_IF_MODIFIED
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -62,7 +62,7 @@ namespace Foam
|
|||||||
args["dict"],
|
args["dict"],
|
||||||
runTime.system(),
|
runTime.system(),
|
||||||
runTime,
|
runTime,
|
||||||
IOobject::MUST_READ
|
IOobject::MUST_READ_IF_MODIFIED
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -130,7 +130,7 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
|
|||||||
"RASProperties",
|
"RASProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
@ -140,7 +140,7 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
|
|||||||
"LESProperties",
|
"LESProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
@ -184,7 +184,7 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -214,7 +214,7 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
|
|||||||
"RASProperties",
|
"RASProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
@ -224,7 +224,7 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
|
|||||||
"LESProperties",
|
"LESProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
@ -266,7 +266,7 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
"pdfDict",
|
"pdfDict",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
runTime,
|
runTime,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -69,7 +69,7 @@ int main(int argc, char *argv[])
|
|||||||
"postChannelDict",
|
"postChannelDict",
|
||||||
mesh.time().constant(),
|
mesh.time().constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -98,7 +98,7 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
|
|||||||
"thermodynamicProperties",
|
"thermodynamicProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"thermodynamicProperties",
|
"thermodynamicProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -81,7 +81,7 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
|
|||||||
"RASProperties",
|
"RASProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -90,7 +90,7 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
|
|||||||
"LESProperties",
|
"LESProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -174,7 +174,7 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -299,7 +299,7 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
|
|||||||
"transportProperties",
|
"transportProperties",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"boxTurbDict",
|
"boxTurbDict",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -292,7 +292,7 @@ int main(int argc, char *argv[])
|
|||||||
"changeDictionaryDict",
|
"changeDictionaryDict",
|
||||||
runTime.system(),
|
runTime.system(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -405,7 +405,7 @@ int main(int argc, char *argv[])
|
|||||||
fieldName,
|
fieldName,
|
||||||
instance,
|
instance,
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|||||||
@ -50,7 +50,7 @@ int main(int argc, char *argv[])
|
|||||||
"dsmcInitialiseDict",
|
"dsmcInitialiseDict",
|
||||||
mesh.time().system(),
|
mesh.time().system(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -7,7 +7,7 @@ IOdictionary engineGeometry
|
|||||||
"engineGeometry",
|
"engineGeometry",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -279,7 +279,7 @@ void rewriteField
|
|||||||
fieldName,
|
fieldName,
|
||||||
runTime.timeName(),
|
runTime.timeName(),
|
||||||
runTime,
|
runTime,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|||||||
@ -70,7 +70,7 @@ int main(int argc, char *argv[])
|
|||||||
"fvSolution",
|
"fvSolution",
|
||||||
runTime.system(),
|
runTime.system(),
|
||||||
runTime,
|
runTime,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|||||||
@ -291,7 +291,7 @@ int main(int argc, char *argv[])
|
|||||||
"mapFieldsDict",
|
"mapFieldsDict",
|
||||||
runTimeTarget.system(),
|
runTimeTarget.system(),
|
||||||
runTimeTarget,
|
runTimeTarget,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
@ -310,7 +310,7 @@ int main(int argc, char *argv[])
|
|||||||
"decomposeParDict",
|
"decomposeParDict",
|
||||||
runTimeSource.system(),
|
runTimeSource.system(),
|
||||||
runTimeSource,
|
runTimeSource,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -375,7 +375,7 @@ int main(int argc, char *argv[])
|
|||||||
"decomposeParDict",
|
"decomposeParDict",
|
||||||
runTimeTarget.system(),
|
runTimeTarget.system(),
|
||||||
runTimeTarget,
|
runTimeTarget,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -446,7 +446,7 @@ int main(int argc, char *argv[])
|
|||||||
"decomposeParDict",
|
"decomposeParDict",
|
||||||
runTimeSource.system(),
|
runTimeSource.system(),
|
||||||
runTimeSource,
|
runTimeSource,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -464,7 +464,7 @@ int main(int argc, char *argv[])
|
|||||||
"decomposeParDict",
|
"decomposeParDict",
|
||||||
runTimeTarget.system(),
|
runTimeTarget.system(),
|
||||||
runTimeTarget,
|
runTimeTarget,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -44,7 +44,7 @@ int main(int argc, char *argv[])
|
|||||||
"mdInitialiseDict",
|
"mdInitialiseDict",
|
||||||
runTime.system(),
|
runTime.system(),
|
||||||
runTime,
|
runTime,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|||||||
@ -186,7 +186,7 @@ int main(int argc, char *argv[])
|
|||||||
"setFieldsDict",
|
"setFieldsDict",
|
||||||
runTime.system(),
|
runTime.system(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -47,7 +47,7 @@ int main(int argc, char *argv[])
|
|||||||
"wallFunctionDict",
|
"wallFunctionDict",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ
|
IOobject::MUST_READ_IF_MODIFIED
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -241,7 +241,7 @@ int main(int argc, char *argv[])
|
|||||||
importName,
|
importName,
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
runTime,
|
runTime,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -62,7 +62,7 @@ int main(int argc, char *argv[])
|
|||||||
"BurcatCpData",
|
"BurcatCpData",
|
||||||
runTime.constant(),
|
runTime.constant(),
|
||||||
runTime,
|
runTime,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|||||||
@ -30,6 +30,7 @@ Class
|
|||||||
#include "IOstreams.H"
|
#include "IOstreams.H"
|
||||||
#include "Pstream.H"
|
#include "Pstream.H"
|
||||||
#include "PackedList.H"
|
#include "PackedList.H"
|
||||||
|
#include "PstreamReduceOps.H"
|
||||||
|
|
||||||
#ifdef FOAM_USE_STAT
|
#ifdef FOAM_USE_STAT
|
||||||
# include "OSspecific.H"
|
# include "OSspecific.H"
|
||||||
@ -57,12 +58,14 @@ const Foam::NamedEnum<Foam::fileMonitor::fileState, 3>
|
|||||||
|
|
||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
class fileStateEqOp
|
// Reduction operator for PackedList of fileState
|
||||||
|
class reduceFileStates
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void operator()(unsigned int& x, const unsigned int& y) const
|
unsigned int operator()(const unsigned int x, const unsigned int y)
|
||||||
|
const
|
||||||
{
|
{
|
||||||
// x,y are list of 2bits representing fileState
|
// x,y are sets of 2bits representing fileState
|
||||||
|
|
||||||
unsigned int mask = 3u;
|
unsigned int mask = 3u;
|
||||||
unsigned int shift = 0;
|
unsigned int shift = 0;
|
||||||
@ -82,7 +85,17 @@ namespace Foam
|
|||||||
shift += 2;
|
shift += 2;
|
||||||
mask <<= 2;
|
mask <<= 2;
|
||||||
}
|
}
|
||||||
x = result;
|
return result;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// Combine operator for PackedList of fileState
|
||||||
|
class combineReduceFileStates
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
void operator()(unsigned int& x, const unsigned int y) const
|
||||||
|
{
|
||||||
|
x = reduceFileStates()(x, y);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -323,7 +336,19 @@ void Foam::fileMonitor::updateStates(const bool syncPar) const
|
|||||||
// Save local state for warning message below
|
// Save local state for warning message below
|
||||||
PackedList<2> thisProcStats(stats);
|
PackedList<2> thisProcStats(stats);
|
||||||
|
|
||||||
Pstream::listCombineGather(stats.storage(), fileStateEqOp());
|
if (stats.storage().size() == 1)
|
||||||
|
{
|
||||||
|
// Optimisation valid for most cases.
|
||||||
|
reduce(stats.storage()[0], reduceFileStates());
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Pstream::listCombineGather
|
||||||
|
(
|
||||||
|
stats.storage(),
|
||||||
|
combineReduceFileStates()
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
forAllIter(Map<fileState>, state_, iter)
|
forAllIter(Map<fileState>, state_, iter)
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user