From d08a5193fbef39b68d9e945a66c5aee05505ad0d Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Mon, 9 Jan 2017 14:33:47 +0000 Subject: [PATCH] stressComponents, wallGradU: Additional backward-compatibility info scripts Patch contributed by Bruno Santos Resolves patch request https://bugs.openfoam.org/view.php?id=2423 --- bin/stressComponents | 39 +++++++++++++++++++++++++++++++++++++++ bin/wallGradU | 37 +++++++++++++++++++++++++++++++++++++ bin/wdot | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 113 insertions(+) create mode 100755 bin/stressComponents create mode 100755 bin/wallGradU create mode 100755 bin/wdot diff --git a/bin/stressComponents b/bin/stressComponents new file mode 100755 index 0000000000..d325b6f100 --- /dev/null +++ b/bin/stressComponents @@ -0,0 +1,39 @@ +#!/bin/sh +#------------------------------------------------------------------------------ +# ========= | +# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox +# \\ / O peration | +# \\ / A nd | Copyright (C) 2016-2017 OpenFOAM Foundation +# \\/ M anipulation | +#------------------------------------------------------------------------------- +# License +# This file is part of OpenFOAM. +# +# OpenFOAM is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenFOAM. If not, see . +# +# Script +# stressComponents +# +# Description +# Script to suggest using the new "-postProcess" solver option. +# +#------------------------------------------------------------------------------ +Script=${0##*/} + +echo $Script "has been superceded by the -postProcess solver option:" +echo " -funcs '(R components(turbulenceProperties:R))'" +echo "e.g." +echo "simpleFoam -postProcess -funcs '(R components(turbulenceProperties:R))'" + +#------------------------------------------------------------------------------ diff --git a/bin/wallGradU b/bin/wallGradU new file mode 100755 index 0000000000..ec4588a9be --- /dev/null +++ b/bin/wallGradU @@ -0,0 +1,37 @@ +#!/bin/sh +#------------------------------------------------------------------------------ +# ========= | +# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox +# \\ / O peration | +# \\ / A nd | Copyright (C) 2017 OpenFOAM Foundation +# \\/ M anipulation | +#------------------------------------------------------------------------------- +# License +# This file is part of OpenFOAM. +# +# OpenFOAM is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenFOAM. If not, see . +# +# Script +# wallGradU +# +# Description +# Script to suggest using the new "postProcess" utility. +# +#------------------------------------------------------------------------------ +Script=${0##*/} + +echo $Script "has been superceded by the postProcess utility:" +echo " postProcess -func 'grad(U)'" + +#------------------------------------------------------------------------------ diff --git a/bin/wdot b/bin/wdot new file mode 100755 index 0000000000..8e66e1cadf --- /dev/null +++ b/bin/wdot @@ -0,0 +1,37 @@ +#!/bin/sh +#------------------------------------------------------------------------------ +# ========= | +# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox +# \\ / O peration | +# \\ / A nd | Copyright (C) 2017 OpenFOAM Foundation +# \\/ M anipulation | +#------------------------------------------------------------------------------- +# License +# This file is part of OpenFOAM. +# +# OpenFOAM is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenFOAM. If not, see . +# +# Script +# wdot +# +# Description +# Script to suggest using the new "postProcess" utility. +# +#------------------------------------------------------------------------------ +Script=${0##*/} + +echo $Script "has been superceded by the postProcess utility:" +echo "postProcess -func XiReactionRate" + +#------------------------------------------------------------------------------