buoyantFoam: Merged buoyantSimpleFoam and buoyantPimpleFoam

Solver for steady or transient buoyant, turbulent flow of compressible fluids
for ventilation and heat-transfer, with optional mesh motion and mesh topology
changes.  Created by merging buoyantSimpleFoam and buoyantPimpleFoam to provide
a more general solver and simplify maintenance.
This commit is contained in:
Henry Weller
2022-02-18 12:20:54 +00:00
parent 46895490c7
commit d40ecd78eb
274 changed files with 268 additions and 489 deletions

View File

@ -2,7 +2,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration | Website: https://openfoam.org
# \\ / A nd | Copyright (C) 2017-2021 OpenFOAM Foundation
# \\ / A nd | Copyright (C) 2017-2022 OpenFOAM Foundation
# \\/ M anipulation |
#------------------------------------------------------------------------------
# License
@ -282,7 +282,7 @@ _boxTurb_ ()
}
complete -o filenames -o nospace -F _boxTurb_ boxTurb
_buoyantPimpleFoam_ ()
_buoyantFoam_ ()
{
local cur="${COMP_WORDS[COMP_CWORD]}"
local prev="${COMP_WORDS[COMP_CWORD-1]}"
@ -305,7 +305,7 @@ _buoyantPimpleFoam_ ()
esac
COMPREPLY=( $(compgen -W "${opts}" $extra -- ${cur}) )
}
complete -o filenames -o nospace -F _buoyantPimpleFoam_ buoyantPimpleFoam
complete -o filenames -o nospace -F _buoyantFoam_ buoyantFoam
_buoyantReactingFoam_ ()
{
@ -332,31 +332,6 @@ _buoyantReactingFoam_ ()
}
complete -o filenames -o nospace -F _buoyantReactingFoam_ buoyantReactingFoam
_buoyantSimpleFoam_ ()
{
local cur="${COMP_WORDS[COMP_CWORD]}"
local prev="${COMP_WORDS[COMP_CWORD-1]}"
local line=${COMP_LINE}
local used=$(echo "$line" | grep -oE "\-[a-zA-Z]+ ")
opts="-case -doc -fileHandler -help -hostRoots -libs -listFunctionObjects -listFvConstraints -listFvModels -listMomentumTransportModels -listScalarBCs -listSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -roots -srcDoc"
for o in $used ; do opts="${opts/$o/}" ; done
extra=""
[ "$COMP_CWORD" = 1 ] || \
case "$prev" in
-case)
opts="" ; extra="-d" ;;
-fileHandler)
opts="uncollated collated masterUncollated" ; extra="" ;;
-hostRoots|-libs|-roots)
opts="" ; extra="" ;;
*) ;;
esac
COMPREPLY=( $(compgen -W "${opts}" $extra -- ${cur}) )
}
complete -o filenames -o nospace -F _buoyantSimpleFoam_ buoyantSimpleFoam
_cavitatingFoam_ ()
{
local cur="${COMP_WORDS[COMP_CWORD]}"