26 Info <<
nl <<
"Creating autocorrelation functions." <<
endl;
28 IOdictionary mdTransportPropertiesDict
32 "mdTransportPropertiesDict",
35 IOobject::MUST_READ_IF_MODIFIED,
41 const dictionary& autocorrelationFunctionDict
43 mdTransportPropertiesDict.subDict(
"autocorrelationFunctions")
50 const dictionary& velocityACFDict
52 autocorrelationFunctionDict.subDict(
"velocity")
55 correlationFunction<vector>
vacf 62 bool writeVacf(Switch(velocityACFDict.lookup(
"writeFile")));
68 const dictionary& pressureACFDict
70 autocorrelationFunctionDict.subDict(
"pressure")
73 correlationFunction<vector>
pacf 80 bool writePacf(Switch(pressureACFDict.lookup(
"writeFile")));
86 const dictionary& heatFluxACFDict
88 autocorrelationFunctionDict.subDict(
"heatFlux")
91 correlationFunction<vector>
hfacf 98 bool writeHFacf(Switch(heatFluxACFDict.lookup(
"writeFile")));
bool writePacf(Switch(pressureACFDict.lookup("writeFile")))
Ostream & endl(Ostream &os)
Add newline and flush stream.
Info<< tab<< "pressure"<< endl;const dictionary &pressureACFDict(autocorrelationFunctionDict.subDict("pressure"));correlationFunction< vector > pacf(mesh, pressureACFDict, 1)
Pressure autocorrelation function.
Info<< tab<< "heat flux"<< endl;const dictionary &heatFluxACFDict(autocorrelationFunctionDict.subDict("heatFlux"));correlationFunction< vector > hfacf(mesh, heatFluxACFDict, 1)
Heat flux autocorrelation function.
bool writeVacf(Switch(velocityACFDict.lookup("writeFile")))
Info<< nl<< "Creating autocorrelation functions."<< endl;IOdictionary mdTransportPropertiesDict(IOobject("mdTransportPropertiesDict", mesh.time().system(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, false));const dictionary &autocorrelationFunctionDict(mdTransportPropertiesDict.subDict("autocorrelationFunctions"));Info<< tab<< "velocity"<< endl;const dictionary &velocityACFDict(autocorrelationFunctionDict.subDict("velocity"));correlationFunction< vector > vacf(mesh, velocityACFDict, molecules.size())
bool writeHFacf(Switch(heatFluxACFDict.lookup("writeFile")))