mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: fileOperation: bit more testing. See #2952
This commit is contained in:
@ -75,7 +75,7 @@ runTimeModifiable true;
|
||||
|
||||
functions
|
||||
{
|
||||
fileUpdate
|
||||
solverControls
|
||||
{
|
||||
type timeActivatedFileUpdate;
|
||||
libs (utilityFunctionObjects);
|
||||
@ -90,6 +90,22 @@ functions
|
||||
);
|
||||
}
|
||||
|
||||
fvSolution
|
||||
{
|
||||
type timeActivatedFileUpdate;
|
||||
libs (utilityFunctionObjects);
|
||||
writeControl timeStep;
|
||||
writeInterval 1;
|
||||
fileToUpdate "<system>/fvSolution";
|
||||
|
||||
timeVsFile
|
||||
(
|
||||
(-1 "<system>/fvSolution.0" )
|
||||
( 0.02 "<system>/fvSolution.5" )
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
// Wait a bit to make runTimeModifiable work.
|
||||
// - see also fileModificationSkew
|
||||
// - could also directly use system FO
|
||||
|
||||
Reference in New Issue
Block a user