28Info <<
nl <<
"Creating autocorrelation functions." <<
endl;
30IOdictionary mdTransportProperitesDict
34 "mdTransportProperitesDict",
37 IOobject::MUST_READ_IF_MODIFIED,
43const dictionary& autocorrelationFunctionDict
45 mdTransportProperitesDict.subDict(
"autocorrelationFunctions")
52const dictionary& velocityACFDict
54 autocorrelationFunctionDict.subDict(
"velocity")
57correlationFunction<vector>
vacf
64bool writeVacf(velocityACFDict.get<
bool>(
"writeFile"));
68Info << tab <<
"pressure" << endl;
70const dictionary& pressureACFDict
72 autocorrelationFunctionDict.subDict(
"pressure")
75correlationFunction<vector>
pacf
82bool writePacf(pressureACFDict.get<
bool>(
"writeFile"));
86Info << tab <<
"heat flux" << endl;
88const dictionary& heatFluxACFDict
90 autocorrelationFunctionDict.subDict(
"heatFlux")
93correlationFunction<vector>
hfacf
Info<< tab<< "pressure"<< endl;const dictionary &pressureACFDict(autocorrelationFunctionDict.subDict("pressure"));correlationFunction< vector > pacf(mesh, pressureACFDict, 1)
Pressure autocorrelation function.
Info<< nl<< "Creating autocorrelation functions."<< endl;IOdictionary mdTransportProperitesDict(IOobject("mdTransportProperitesDict", mesh.time().system(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, false));const dictionary &autocorrelationFunctionDict(mdTransportProperitesDict.subDict("autocorrelationFunctions"));Info<< tab<< "velocty"<< endl;const dictionary &velocityACFDict(autocorrelationFunctionDict.subDict("velocity"));correlationFunction< vector > vacf(mesh, velocityACFDict, molecules.size())
bool writePacf(pressureACFDict.get< bool >("writeFile"))
bool writeVacf(velocityACFDict.get< bool >("writeFile"))
bool writeHFacf(heatFluxACFDict.get< bool >("writeFile"))
Info<< tab<< "heat flux"<< endl;const dictionary &heatFluxACFDict(autocorrelationFunctionDict.subDict("heatFlux"));correlationFunction< vector > hfacf(mesh, heatFluxACFDict, 1)
Heat flux autocorrelation function.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
constexpr char nl
The newline '\n' character (0x0a)
constexpr char tab
The tab '\t' character(0x09)