I would like to limit the amount data being written to disk for large runs. I have been running cases which have involved many time steps. Each time step generates large files for many calculated parameters which I am not interested in. Is there a way to control which parameters are written to disk? I have seen some reference to this but what I have tried does not work. For instance, it has been suggested that the following be put in the function's section of the system/controlDict file.
Code: Select all
writeObjects1
{
type writeObjects;
libs ("libutilityFunctionObjects.so");
objects (rho nut alphat k Ma pseudoCoField);
writeOption noWrite;
}
writeObjects2
{
type writeObjects;
libs ("libutilityFunctionObjects.so");
objects (U p T);
writeOption autoWrite;
}
Additionally, the way I have my domain boundary configured, I am only interested in the domain surface fields for the U p and T variables. It is a shame to write out the volume fields. I have inserted the line #includeFunc surfaces in the system.controlDict file and put this file in the system directory
Code: Select all
{
type surfaces;
libs ("libsampling.so");
writeControl adjustableRunTime;
writeInterval 1e-06;;
interpolationScheme cellPoint;
surfaceFormat vtk;
writeFormat binary;
surfaces
(
domain_bndy1
{
type patch;
patches (inlet, outlet, constraint);
interpolate true;
triangulate false;
}
);
fields (T U p);
}
Code: Select all
ERROR: In vtkOpenFOAMReader.cxx, line 11302
vtkPOpenFOAMReader (0x1b593080): Cannot open directory: /tmp/cfdof/case/postProcessing/surfaces/0.0001/constant/
ERROR: In vtkExecutive.cxx, line 741
vtkPVCompositeDataPipeline (0x1b6a1ca0): Algorithm vtkPOpenFOAMReader (0x1b593080) returned failure for request: vtkInformation (0x1b53b450)
Debug: Off
Modified Time: 1321417
Reference Count: 1
Registered Events: (none)
Request: REQUEST_INFORMATION
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0
primer
Code: Select all
OS: Fedora Linux 37 (MATE-Compiz) (MATE/mate)
Word size of FreeCAD: 64-bit
Version: 0.20.2.Unknown
Build type: Unknown
Python 3.11.1, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods:
* Plot 2022.4.17
* FeedsAndSpeeds 0.5.0
* Help 1.0.3
* CfdOF 1.24.5