mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
updated Umean -> UMean to comply with fieldAverage function oject
This commit is contained in:
@ -1,16 +1,16 @@
|
|||||||
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);
|
scalarField RxxValues = channelIndexing.collapse(Rxx);
|
||||||
@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
scalarField y = channelIndexing.y(mesh.C());
|
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, urmsValues, "u", R.path(), gFormat);
|
||||||
makeGraph(y, vrmsValues, "v", R.path(), gFormat);
|
makeGraph(y, vrmsValues, "v", R.path(), gFormat);
|
||||||
makeGraph(y, wrmsValues, "w", R.path(), gFormat);
|
makeGraph(y, wrmsValues, "w", R.path(), gFormat);
|
||||||
|
|||||||
@ -1,19 +1,19 @@
|
|||||||
IOobject UmeanHeader
|
IOobject UMeanHeader
|
||||||
(
|
(
|
||||||
"Umean",
|
"UMean",
|
||||||
runTime.times()[i].name(),
|
runTime.times()[i].name(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ
|
IOobject::MUST_READ
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!UmeanHeader.headerOk())
|
if (!UMeanHeader.headerOk())
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
volVectorField Umean
|
volVectorField UMean
|
||||||
(
|
(
|
||||||
UmeanHeader,
|
UMeanHeader,
|
||||||
mesh
|
mesh
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user