diff --git a/changelog-entries/544.md b/changelog-entries/544.md new file mode 100644 index 000000000..a5cee276e --- /dev/null +++ b/changelog-entries/544.md @@ -0,0 +1 @@ +- Fixed the [volume-coupled flow tutorial](https://precice.org/tutorials-volume-coupled-flow.html) to correctly assign all components of the read velocity field. diff --git a/volume-coupled-flow/fluid-openfoam/constant/fvOptions b/volume-coupled-flow/fluid-openfoam/constant/fvOptions index d43c960da..0614532e3 100644 --- a/volume-coupled-flow/fluid-openfoam/constant/fvOptions +++ b/volume-coupled-flow/fluid-openfoam/constant/fvOptions @@ -27,6 +27,8 @@ codedSource for(auto cell : cells) { fld[cell].x() = U_vol[cell].x(); + fld[cell].y() = U_vol[cell].y(); + fld[cell].z() = U_vol[cell].z(); } #}; @@ -39,4 +41,4 @@ codedSource #{ return; #}; -} \ No newline at end of file +} diff --git a/volume-coupled-flow/images/tutorials-volume-coupled-flow-Ux.png b/volume-coupled-flow/images/tutorials-volume-coupled-flow-Ux.png index 26a5edeaa..d574cd1c7 100644 Binary files a/volume-coupled-flow/images/tutorials-volume-coupled-flow-Ux.png and b/volume-coupled-flow/images/tutorials-volume-coupled-flow-Ux.png differ