Skip to content
Snippets Groups Projects
Commit e3f44132 authored by Andrew Heather's avatar Andrew Heather
Browse files

updated Umean -> UMean to comply with fieldAverage function oject

parent ced9f110
Branches
Tags
No related merge requests found
scalarField UmeanXvalues = channelIndexing.collapse
scalarField UMeanXvalues = channelIndexing.collapse
(
Umean.component(vector::X)
UMean.component(vector::X)
);
scalarField UmeanYvalues = channelIndexing.collapse
scalarField UMeanYvalues = channelIndexing.collapse
(
Umean.component(vector::Y)
UMean.component(vector::Y)
);
scalarField UmeanZvalues = channelIndexing.collapse
scalarField UMeanZvalues = channelIndexing.collapse
(
Umean.component(vector::Z)
UMean.component(vector::Z)
);
scalarField RxxValues = channelIndexing.collapse(Rxx);
......@@ -41,7 +41,7 @@
scalarField y = channelIndexing.y(mesh.C());
makeGraph(y, UmeanXvalues, "Uf", R.path(), gFormat);
makeGraph(y, UMeanXvalues, "Uf", R.path(), gFormat);
makeGraph(y, urmsValues, "u", R.path(), gFormat);
makeGraph(y, vrmsValues, "v", R.path(), gFormat);
makeGraph(y, wrmsValues, "w", R.path(), gFormat);
......
IOobject UmeanHeader
IOobject UMeanHeader
(
"Umean",
"UMean",
runTime.times()[i].name(),
mesh,
IOobject::MUST_READ
);
if (!UmeanHeader.headerOk())
if (!UMeanHeader.headerOk())
{
continue;
}
volVectorField Umean
volVectorField UMean
(
UmeanHeader,
UMeanHeader,
mesh
);
......
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