Commit 4f60f290 authored by Thomas Fetzer's avatar Thomas Fetzer
Browse files

[freeflow]

added timeStepIndex to output in zeroeqmodels
updated documentation of boundarylayer model

reviewed by natalies



git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@15437 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent fccc190b
......@@ -89,9 +89,9 @@ public:
* 1 = constant boundary layer thickness, which can be set in the parameter file<br>
* 2 = laminar: Blasius' analytical solution<br>
* 3 = turbulent (smooth);<br>
* 4 = viscous sublayer (smooth); after Schultz-Grunow<br>
* 5 = viscous sublayer (smooth); after Truckenbrodt<br>
* 6 = viscous sublayer (rough); after Truckenbrodt<br>
* 4 = viscous sublayer (smooth)<br>
* 5 = viscous sublayer (rough)<br>
* 6 = viscous sublayer (rough)<br>
*/
const Scalar viscousBoundaryLayerThickness()
{
......
......@@ -147,7 +147,9 @@ public:
ScalarField &rank = *writer.allocateManagedBuffer(numElements);
// write volume values to .vtu and .csv
std::ofstream volVarsFile("volVarsData.csv", std::ios_base::out);
char fileName[30];
sprintf(fileName, "%s%05d%s", "volVarsData-", this->problem_().timeManager().timeStepIndex(), ".csv");
std::ofstream volVarsFile(fileName, std::ios_base::out);
asImp_().writeVolVarsHeader(volVarsFile);
volVarsFile << std::endl;
......@@ -196,7 +198,8 @@ public:
asImp_().updateWallProperties();
// write flux values to .vtu and .csv
std::ofstream fluxVarsFile("fluxVarsData.csv", std::ios_base::out);
sprintf(fileName, "%s%05d%s", "fluxVarsData-", this->problem_().timeManager().timeStepIndex(), ".csv");
std::ofstream fluxVarsFile(fileName, std::ios_base::out);
asImp_().writeFluxVarsHeader(fluxVarsFile);
fluxVarsFile << std::endl;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment