FreeFOAM The Cross-Platform CFD Toolkit
createAutoCorrelationFunctions.H File Reference

Detailed Description

Definition in file createAutoCorrelationFunctions.H.

Go to the source code of this file.

Functions

Info<< nl<< "Creating
autocorrelation functions."
<< endl;IOdictionary
mdTransportProperitesDict(IOobject("mdTransportProperitesDict",
mesh.time().system(), mesh,
IOobject::MUST_READ,
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 writeVacf (Switch(velocityACFDict.lookup("writeFile")))
Info<< tab<< "pressure"<< endl;const
dictionary &pressureACFDict(autocorrelationFunctionDict.subDict("pressure"));correlationFunction
< vector > 
pacf (mesh, pressureACFDict, 1)
 Pressure autocorrelation function.
bool writePacf (Switch(pressureACFDict.lookup("writeFile")))
Info<< tab<< "heat flux"
<< endl;const dictionary
&heatFluxACFDict(autocorrelationFunctionDict.subDict("heatFlux"));correlationFunction
< vector > 
hfacf (mesh, heatFluxACFDict, 1)
 Heat flux autocorrelation function.
bool writeHFacf (Switch(heatFluxACFDict.lookup("writeFile")))

Function Documentation

Info<< nl << "Creating autocorrelation functions." << endl;IOdictionary mdTransportProperitesDict( IOobject ( "mdTransportProperitesDict", mesh.time().system(), mesh, IOobject::MUST_READ, 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() 
)

Referenced by if().

bool writeVacf ( Switch(velocityACFDict.lookup("writeFile"))  )
Info<< tab << "pressure" << endl;const dictionary& pressureACFDict( autocorrelationFunctionDict.subDict("pressure"));correlationFunction<vector> pacf ( mesh  ,
pressureACFDict  ,
 
)

Pressure autocorrelation function.

Referenced by if().

bool writePacf ( Switch(pressureACFDict.lookup("writeFile"))  )
Info<< tab << "heat flux" << endl;const dictionary& heatFluxACFDict( autocorrelationFunctionDict.subDict("heatFlux"));correlationFunction<vector> hfacf ( mesh  ,
heatFluxACFDict  ,
 
)

Heat flux autocorrelation function.

Referenced by if().

bool writeHFacf ( Switch(heatFluxACFDict.lookup("writeFile"))  )