An error occurred while fetching participants.
wclean all does not use Allwclean in subdirectories
http://bugs.openfoam.org/view.php?id=2125
reported asIn lines 224-229 in wclean script, it is clear that using "wclean all" only uses the top-level Allwclean and will not actually recurse for Allwclean. Instead it goes for things with 'Make' directories and then issues a plain wclean for these. This means that any 'Allwclean' present there will not be used, ever.
As a minimal workaround:
# For all the sub-directories containing a 'Make' directory
for dir in `find . \( -type d -a -name Make \)`
do
dir=${dir%/Make} # Parent directory - trim /Make from the end
echo $dir
if [ -e "$dir/Allwclean" ]
then
$dir/Allwclean
else
$0 $dir
fi
done