Merge branch 'master' of /home/dm4/OpenFOAM/repositories/OpenFOAM-dev

This commit is contained in:
william
2014-02-03 17:37:57 +00:00
75 changed files with 2186 additions and 1891 deletions

View File

@ -32687,7 +32687,7 @@ boundaryField
}
centreLeft
{
type symmetryPlane;
type symmetry;
}
wedge1
{

View File

@ -33208,7 +33208,7 @@ boundaryField
}
centreLeft
{
type symmetryPlane;
type symmetry;
}
wedge1
{

View File

@ -32424,7 +32424,7 @@ boundaryField
}
centreLeft
{
type symmetryPlane;
type symmetry;
}
wedge1
{

View File

@ -68,7 +68,7 @@ boundary
centreLeft
{
type symmetryPlane;
type symmetry;
faces
(
(0 4 7 3)

View File

@ -5,56 +5,27 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
runApplication blockMesh
runApplication topoSet
runApplication splitMeshRegions -cellZones -overwrite
# remove fluid fields from solid regions (important for post-processing)
for i in heater leftSolid rightSolid
do
rm -f 0*/$i/{rho,mut,alphat,epsilon,k,U,p_rgh,Qr,G,IDefault}
done
for i in bottomAir topAir heater leftSolid rightSolid
do
changeDictionary -region $i > log.changeDictionary.$i 2>&1
done
# Setup case
./Allrun.pre
#-- Run on single processor
# Agglomerate patch faces
for i in bottomAir topAir
do
faceAgglomerate -region $i -dict constant/viewFactorsDict > log.faceAgglomerate.$i 2>&1
done
# Generate view factors
for i in bottomAir topAir
do
viewFactorsGen -region $i > log.viewFactorsGen.$i 2>&1
done
#-- Run on single processor
runApplication `getApplication`
## Run in parallel
## Decompose
#runApplication decomposePar -allRegions
#
#for i in bottomAir topAir
#do
# mpirun -np 4 faceAgglomerate -region $i -dict constant/viewFactorsDict -parallel> log.faceAgglomerate.$i 2>&1
#done
#for i in bottomAir topAir
#do
# mpirun -np 4 viewFactorsGen -region $i -parallel > log.viewFactorsGen.$i 2>&1
#done
## Run
#runParallel `getApplication` 4
#
## Reconstruct
#runApplication reconstructPar -allRegions
echo

View File

@ -0,0 +1,43 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Setup case
./Allrun.pre
#-- Run in parallel
# Decompose
runApplication decomposePar -allRegions
# Agglomerate patch faces
for i in bottomAir topAir
do
mpirun -np 4 faceAgglomerate -region $i -dict constant/viewFactorsDict -parallel> log.faceAgglomerate.$i 2>&1
done
# Generate view factors
for i in bottomAir topAir
do
mpirun -np 4 viewFactorsGen -region $i -parallel > log.viewFactorsGen.$i 2>&1
done
# Run
runParallel `getApplication` 4
# Reconstruct
runApplication reconstructPar -allRegions
echo
echo "creating files for paraview post-processing"
echo
paraFoam -touchAll
# ----------------------------------------------------------------- end-of-file

View File

@ -0,0 +1,24 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
runApplication blockMesh
runApplication topoSet
runApplication splitMeshRegions -cellZones -overwrite
# remove fluid fields from solid regions (important for post-processing)
for i in heater leftSolid rightSolid
do
rm -f 0*/$i/{rho,mut,alphat,epsilon,k,U,p_rgh,Qr,G,IDefault}
done
for i in bottomAir topAir heater leftSolid rightSolid
do
changeDictionary -region $i > log.changeDictionary.$i 2>&1
done
# ----------------------------------------------------------------- end-of-file

View File

@ -18,10 +18,6 @@ do
then
rm -rf fluentInterface
fi
if [ "$caseName" = cavityClipped ]
then
rm -rf 0
fi
)
done

View File

@ -31,6 +31,8 @@ setCavityFine()
sed s/"20 20 1"/"41 41 1"/g $blockMeshDict > temp.$$
mv temp.$$ $blockMeshDict
sed \
-e s/"\(startTime[ \t]*\) 0;"/"\1 0.5;"/g \
-e s/"\(endTime[ \t]*\) 0.5;"/"\1 0.7;"/g \
-e s/"\(deltaT[ \t]*\) 0.005;"/"\1 0.0025;"/g \
-e s/"\(writeControl[ \t]*\) timeStep;"/"\1 runTime;"/g \
-e s/"\(writeInterval[ \t]*\) 20;"/"\1 0.1;"/g \
@ -75,12 +77,12 @@ do
runMapFieldsConsistent $previousCase $caseName
;;
cavityClipped)
cp -r $caseName/0.org $caseName/0
cp -r $caseName/0 $caseName/0.5
runMapFields cavity $caseName
if [ ".`grep nonuniform $caseName/0/U`" != "." ]
if [ ".`grep nonuniform $caseName/0.5/U`" != "." ]
then
sed -f resetFixedWallsScr $caseName/0/U > $caseName/0/U.temp
mv $caseName/0/U.temp $caseName/0/U
sed -f resetFixedWallsScr $caseName/0.5/U > $caseName/0.5/U.temp
mv $caseName/0.5/U.temp $caseName/0.5/U
fi
;;
esac

View File

@ -1,445 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField nonuniform List<vector>
336
(
(0.000253336 -0.000250529 0)
(0.000141099 0.000111382 0)
(-0.0011771 0.000564608 0)
(-0.00348132 0.000885014 0)
(-0.00637783 0.00104575 0)
(-0.00946999 0.00106179 0)
(-0.0124036 0.000957888 0)
(-0.0148858 0.000760472 0)
(-0.0166905 0.000494669 0)
(-0.0176593 0.000184572 0)
(-0.0177032 -0.000145276 0)
(-0.0168061 -0.000468394 0)
(-7.75158e-05 -0.000169506 0)
(-0.00161174 0.00164483 0)
(-0.00569333 0.00361747 0)
(-0.0117197 0.00503511 0)
(-0.0188936 0.00574358 0)
(-0.0264026 0.00576057 0)
(-0.0334716 0.005172 0)
(-0.0394297 0.00409278 0)
(-0.0437472 0.00264781 0)
(-0.0460505 0.000966984 0)
(-0.0461328 -0.000813291 0)
(-0.0439645 -0.00254727 0)
(-0.000528665 0.00109163 0)
(-0.0037117 0.0057366 0)
(-0.0105897 0.0102251 0)
(-0.0199932 0.0134086 0)
(-0.0307672 0.0149473 0)
(-0.0418254 0.0148399 0)
(-0.0521239 0.0132566 0)
(-0.0607489 0.0104569 0)
(-0.0669746 0.00674243 0)
(-0.0702881 0.00243899 0)
(-0.0704061 -0.00210675 0)
(-0.0672895 -0.006526 0)
(-0.000928303 0.00348005 0)
(-0.00569193 0.0122214 0)
(-0.015303 0.019923 0)
(-0.0279189 0.0251995 0)
(-0.0419886 0.0275989 0)
(-0.0561833 0.0271394 0)
(-0.0692573 0.0241106 0)
(-0.0801317 0.0189551 0)
(-0.0879548 0.0121963 0)
(-0.0921257 0.00440527 0)
(-0.0923103 -0.00380838 0)
(-0.0884566 -0.0117975 0)
(-0.00127903 0.00687825 0)
(-0.00753657 0.020955 0)
(-0.0198062 0.0325125 0)
(-0.0355373 0.0401058 0)
(-0.0527471 0.0432931 0)
(-0.0698634 0.0421956 0)
(-0.0854693 0.03728 0)
(-0.0983674 0.0292149 0)
(-0.107627 0.0187783 0)
(-0.112596 0.00681398 0)
(-0.112905 -0.005781 0)
(-0.108482 -0.0180561 0)
(-0.00160762 0.0112163 0)
(-0.00931856 0.0318764 0)
(-0.0242106 0.0479546 0)
(-0.043005 0.0580753 0)
(-0.0632605 0.0619407 0)
(-0.0831575 0.0598846 0)
(-0.10113 0.0526312 0)
(-0.115899 0.0411281 0)
(-0.126495 0.0264384 0)
(-0.132244 0.00969317 0)
(-0.132757 -0.0079171 0)
(-0.12793 -0.0251339 0)
(-0.00194013 0.0164779 0)
(-0.0111217 0.0449764 0)
(-0.0286514 0.0662365 0)
(-0.0504817 0.0790631 0)
(-0.0736876 0.0834502 0)
(-0.0962072 0.0800779 0)
(-0.116356 0.0700276 0)
(-0.132819 0.0545872 0)
(-0.144636 0.0351331 0)
(-0.151147 0.013085 0)
(-0.151954 -0.0100874 0)
(-0.14692 -0.0328345 0)
(-0.00230008 0.0226958 0)
(-0.0130253 0.0603031 0)
(-0.0332515 0.0873668 0)
(-0.0580808 0.103 0)
(-0.0840762 0.107669 0)
(-0.108956 0.102565 0)
(-0.13097 0.0892474 0)
(-0.148837 0.0694133 0)
(-0.16167 0.0447731 0)
(-0.168871 0.0170201 0)
(-0.170066 -0.0121345 0)
(-0.165074 -0.0408952 0)
(-0.00271166 0.0299479 0)
(-0.0151081 0.0779587 0)
(-0.038115 0.111359 0)
(-0.0658488 0.129753 0)
(-0.0943274 0.134321 0)
(-0.1211 0.126977 0)
(-0.144445 0.109905 0)
(-0.163214 0.085284 0)
(-0.176688 0.0551684 0)
(-0.184408 0.0214872 0)
(-0.186059 -0.0138756 0)
(-0.181423 -0.0489586 0)
(-0.00320765 0.0383603 0)
(-0.0174662 0.0980912 0)
(-0.043341 0.138192 0)
(-0.0737566 0.159049 0)
(-0.10416 0.162904 0)
(-0.132032 0.152676 0)
(-0.155826 0.131344 0)
(-0.174679 0.101642 0)
(-0.188168 0.0659589 0)
(-0.196068 0.0263898 0)
(-0.198186 -0.0151135 0)
(-0.194284 -0.0565472 0)
(-0.00384394 0.0481293 0)
(-0.0202461 0.120895 0)
(-0.0490464 0.167754 0)
(-0.0816861 0.190369 0)
(-0.113053 0.19256 0)
(-0.140746 0.178618 0)
(-0.163621 0.152515 0)
(-0.181309 0.117595 0)
(-0.193846 0.0765362 0)
(-0.20136 0.0314946 0)
(-0.203856 -0.0156595 0)
(-0.201109 -0.0630521 0)
(-0.00472534 0.0595717 0)
(-0.0236945 0.146619 0)
(-0.0553826 0.199758 0)
(-0.0893758 0.222793 0)
(-0.120121 0.221895 0)
(-0.145675 0.203191 0)
(-0.165629 0.171843 0)
(-0.18037 0.131813 0)
(-0.19058 0.0859712 0)
(-0.196862 0.0363768 0)
(-0.199501 -0.0153711 0)
(-0.198335 -0.0677445 0)
(-0.00605154 0.0732287 0)
(-0.0282256 0.175564 0)
(-0.0625082 0.233572 0)
(-0.0962561 0.254749 0)
(-0.123856 0.248734 0)
(-0.144396 0.224029 0)
(-0.158668 0.18711 0)
(-0.168105 0.142464 0)
(-0.174199 0.0929702 0)
(-0.178116 0.0403795 0)
(-0.180483 -0.0141989 0)
(-0.181264 -0.0698224 0)
(-0.00819201 0.0900465 0)
(-0.0344824 0.208021 0)
(-0.0704115 0.267885 0)
(-0.101022 0.283608 0)
(-0.121573 0.269813 0)
(-0.133105 0.237843 0)
(-0.13816 0.195407 0)
(-0.139459 0.147235 0)
(-0.139364 0.0959103 0)
(-0.139592 0.04262 0)
(-0.141106 -0.0122333 0)
(-0.144052 -0.0685082 0)
(-0.0117674 0.111636 0)
(-0.0432594 0.243962 0)
(-0.0782964 0.300035 0)
(-0.100626 0.305094 0)
(-0.108349 0.280462 0)
(-0.105728 0.240384 0)
(-0.0975255 0.193283 0)
(-0.0877664 0.14355 0)
(-0.0794961 0.0930368 0)
(-0.0747803 0.0420953 0)
(-0.074798 -0.00972907 0)
(-0.0798861 -0.063212 0)
(-0.0175493 0.140659 0)
(-0.0547642 0.282146 0)
(-0.0827854 0.324719 0)
(-0.0880788 0.312475 0)
(-0.075106 0.274457 0)
(-0.0525877 0.226772 0)
(-0.0274544 0.17729 0)
(-0.00450986 0.129136 0)
(0.013104 0.0829135 0)
(0.0234453 0.0379472 0)
(0.0254039 -0.00707372 0)
(0.0185126 -0.0537592 0)
(-0.0254497 0.181711 0)
(-0.0657743 0.317771 0)
(-0.0733323 0.331363 0)
(-0.0480756 0.295402 0)
(-0.00557609 0.244213 0)
(0.0412215 0.192381 0)
(0.0846568 0.145048 0)
(0.120541 0.102972 0)
(0.146707 0.0651384 0)
(0.162052 0.0298916 0)
(0.165946 -0.00467175 0)
(0.15794 -0.040629 0)
(-0.029649 0.239176 0)
(-0.0608412 0.335768 0)
(-0.0219419 0.300503 0)
(0.0505428 0.240128 0)
(0.127574 0.18295 0)
(0.19701 0.13539 0)
(0.254339 0.0973996 0)
(0.298254 0.0668516 0)
(0.328828 0.0413556 0)
(0.346471 0.0187787 0)
(0.35138 -0.00279428 0)
(0.343306 -0.0252655 0)
(0.00808309 0.281861 0)
(0.0197831 0.294972 0)
(0.139066 0.210973 0)
(0.26446 0.143477 0)
(0.364368 0.0971862 0)
(0.440365 0.0657777 0)
(0.496744 0.0442377 0)
(0.536876 0.0288862 0)
(0.563449 0.017199 0)
(0.578308 0.00748481 0)
(0.582382 -0.00149418 0)
(0.575697 -0.0108454 0)
(0.299604 0.146091 0)
(0.396272 0.127503 0)
(0.55742 0.0760895 0)
(0.674487 0.0437233 0)
(0.743889 0.0255721 0)
(0.787154 0.0152422 0)
(0.815486 0.00921237 0)
(0.833956 0.00550944 0)
(0.845386 0.00302719 0)
(0.851372 0.00114935 0)
(0.852667 -0.000499399 0)
(0.849383 -0.00221509 0)
(-0.170396 -0.0815962 0)
(-0.153082 -0.109327 0)
(-0.129972 -0.129385 0)
(-0.102186 -0.138832 0)
(-0.0716899 -0.13489 0)
(-0.0414672 -0.115472 0)
(-0.0162881 -0.0798971 0)
(-0.00285471 -0.0298903 0)
(-0.184082 -0.0956446 0)
(-0.167367 -0.129692 0)
(-0.144216 -0.155427 0)
(-0.115339 -0.169101 0)
(-0.0824459 -0.166806 0)
(-0.0486362 -0.145127 0)
(-0.0195288 -0.102161 0)
(-0.00353357 -0.0390479 0)
(-0.192648 -0.108493 0)
(-0.177857 -0.149174 0)
(-0.156224 -0.181419 0)
(-0.127779 -0.20061 0)
(-0.0936441 -0.201428 0)
(-0.056733 -0.178576 0)
(-0.0234798 -0.128174 0)
(-0.00443553 -0.050105 0)
(-0.192716 -0.118869 0)
(-0.181573 -0.166081 0)
(-0.163644 -0.205491 0)
(-0.137966 -0.231664 0)
(-0.104595 -0.237628 0)
(-0.0657334 -0.215527 0)
(-0.0283776 -0.158369 0)
(-0.00568207 -0.0635527 0)
(-0.179694 -0.125213 0)
(-0.174269 -0.178182 0)
(-0.162894 -0.224976 0)
(-0.143315 -0.259591 0)
(-0.113937 -0.273331 0)
(-0.0753928 -0.255068 0)
(-0.0345562 -0.193092 0)
(-0.00748627 -0.0801047 0)
(-0.147666 -0.125796 0)
(-0.150167 -0.182771 0)
(-0.148719 -0.236327 0)
(-0.139642 -0.280449 0)
(-0.119094 -0.305027 0)
(-0.0849355 -0.29516 0)
(-0.0424403 -0.232378 0)
(-0.010216 -0.100837 0)
(-0.0894586 -0.118992 0)
(-0.101785 -0.176959 0)
(-0.113683 -0.235287 0)
(-0.120303 -0.288884 0)
(-0.115262 -0.327197 0)
(-0.0922657 -0.331795 0)
(-0.0523154 -0.275404 0)
(-0.0144303 -0.127347 0)
(0.00298449 -0.103753 0)
(-0.0199929 -0.158322 0)
(-0.0476826 -0.217503 0)
(-0.0749823 -0.278362 0)
(-0.0935451 -0.331792 0)
(-0.0920629 -0.357684 0)
(-0.0632802 -0.319295 0)
(-0.0206335 -0.161974 0)
(0.137736 -0.0802473 0)
(0.105444 -0.125919 0)
(0.0622651 -0.179727 0)
(0.0118079 -0.242021 0)
(-0.0378285 -0.307878 0)
(-0.0716786 -0.360144 0)
(-0.0700552 -0.356609 0)
(-0.0279122 -0.208375 0)
(0.321472 -0.0507882 0)
(0.284645 -0.0820486 0)
(0.231574 -0.122446 0)
(0.162183 -0.17567 0)
(0.0799016 -0.243432 0)
(-0.00318934 -0.319136 0)
(-0.0546694 -0.368612 0)
(-0.0284593 -0.267618 0)
(0.55731 -0.0218472 0)
(0.525136 -0.0363351 0)
(0.475778 -0.0572598 0)
(0.404538 -0.0893843 0)
(0.305177 -0.139741 0)
(0.173417 -0.216386 0)
(0.0411721 -0.311655 0)
(0.0184302 -0.299995 0)
(0.841 -0.00433859 0)
(0.826141 -0.00742411 0)
(0.802078 -0.0125323 0)
(0.763621 -0.0217729 0)
(0.699108 -0.0392829 0)
(0.583952 -0.0726601 0)
(0.415827 -0.127868 0)
(0.308819 -0.149468 0)
)
;
boundaryField
{
lid
{
type fixedValue;
value uniform (1 0 0);
}
fixedWalls
{
type fixedValue;
value nonuniform List<vector>
60
(
(0.000253336 -0.000250529 0)
(-7.75158e-05 -0.000169506 0)
(-0.000528665 0.00109163 0)
(-0.000928303 0.00348005 0)
(-0.00127903 0.00687825 0)
(-0.00160762 0.0112163 0)
(-0.00194013 0.0164779 0)
(-0.00230008 0.0226958 0)
(-0.00271166 0.0299479 0)
(-0.00320765 0.0383603 0)
(-0.00384394 0.0481293 0)
(-0.00472534 0.0595717 0)
(-0.00605154 0.0732287 0)
(-0.00819201 0.0900465 0)
(-0.0117674 0.111636 0)
(-0.0175493 0.140659 0)
(-0.0254497 0.181711 0)
(-0.029649 0.239176 0)
(0.00808309 0.281861 0)
(0.299604 0.146091 0)
(-0.00285471 -0.0298903 0)
(-0.00353357 -0.0390479 0)
(-0.00443553 -0.050105 0)
(-0.00568207 -0.0635527 0)
(-0.00748627 -0.0801047 0)
(-0.010216 -0.100837 0)
(-0.0144303 -0.127347 0)
(-0.0206335 -0.161974 0)
(-0.0279122 -0.208375 0)
(-0.0284593 -0.267618 0)
(0.0184302 -0.299995 0)
(0.308819 -0.149468 0)
(-0.170396 -0.0815962 0)
(-0.153082 -0.109327 0)
(-0.129972 -0.129385 0)
(-0.102186 -0.138832 0)
(-0.0716899 -0.13489 0)
(-0.0414672 -0.115472 0)
(-0.0162881 -0.0798971 0)
(-0.00285471 -0.0298903 0)
(-0.0168061 -0.000468394 0)
(-0.0439645 -0.00254727 0)
(-0.0672895 -0.006526 0)
(-0.0884566 -0.0117975 0)
(-0.108482 -0.0180561 0)
(-0.12793 -0.0251339 0)
(-0.14692 -0.0328345 0)
(-0.165074 -0.0408952 0)
(0.000253336 -0.000250529 0)
(0.000141099 0.000111382 0)
(-0.0011771 0.000564608 0)
(-0.00348132 0.000885014 0)
(-0.00637783 0.00104575 0)
(-0.00946999 0.00106179 0)
(-0.0124036 0.000957888 0)
(-0.0148858 0.000760472 0)
(-0.0166905 0.000494669 0)
(-0.0176593 0.000184572 0)
(-0.0177032 -0.000145276 0)
(-0.0168061 -0.000468394 0)
)
;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -1,379 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField nonuniform List<scalar>
336
(
5.88597e-06
-0.0058199
-0.0129574
-0.0184097
-0.0204272
-0.0182336
-0.0117692
-0.00147904
0.011842
0.0271538
0.0432491
0.0588278
0.005786
-0.00021294
-0.00579878
-0.00953747
-0.0105939
-0.00842781
-0.00296514
0.00547881
0.0163075
0.0287163
0.0417544
0.0543907
0.0133405
0.00503889
-0.000990222
-0.00441812
-0.00526801
-0.00325908
0.00160711
0.00903225
0.0185066
0.0293538
0.04077
0.0518743
0.0201447
0.00870114
0.00123093
-0.00266358
-0.00371726
-0.00188053
0.00273601
0.00978924
0.018785
0.0290996
0.0399965
0.0506586
0.0245072
0.0097783
0.000594882
-0.00398192
-0.00529736
-0.00350256
0.00117945
0.00833924
0.0174666
0.0279537
0.0390896
0.0500745
0.025183
0.00715521
-0.00379687
-0.00905213
-0.0105072
-0.00849513
-0.00335205
0.00443414
0.014318
0.0256837
0.0378185
0.0499079
0.0210986
-0.000257229
-0.0129293
-0.0187042
-0.0200247
-0.0174089
-0.0113135
-0.00231489
0.0089952
0.0219809
0.0359144
0.0499491
0.0111479
-0.0136131
-0.0278699
-0.0338491
-0.0345983
-0.0308524
-0.0232078
-0.0123402
0.00110974
0.0164887
0.0330574
0.0499385
-0.00596203
-0.0342614
-0.0498649
-0.0555434
-0.0550849
-0.0495093
-0.0395883
-0.0261082
-0.00975206
0.00882799
0.028906
0.0495984
-0.0318519
-0.0638709
-0.0804118
-0.085002
-0.0824149
-0.074073
-0.0609756
-0.0440313
-0.0239463
-0.00133174
0.0231507
0.0486661
-0.068662
-0.104598
-0.121339
-0.123585
-0.11751
-0.105121
-0.0877129
-0.0663201
-0.0416316
-0.0141503
0.0156109
0.0469584
-0.119397
-0.159351
-0.174909
-0.172752
-0.161142
-0.142923
-0.119753
-0.0927715
-0.0625719
-0.0294421
0.00637862
0.0444789
-0.188623
-0.232236
-0.243933
-0.233942
-0.213689
-0.187149
-0.156367
-0.122495
-0.0858922
-0.0464664
-0.0040087
0.0415445
-0.283968
-0.329299
-0.331826
-0.308274
-0.274703
-0.236434
-0.195758
-0.153604
-0.109834
-0.0637391
-0.0144318
0.0388695
-0.419312
-0.459665
-0.442344
-0.395786
-0.342123
-0.287733
-0.234609
-0.182923
-0.131603
-0.0789784
-0.0232075
0.0374818
-0.620525
-0.636737
-0.57867
-0.494186
-0.411234
-0.335651
-0.267773
-0.205971
-0.147529
-0.089376
-0.028419
0.0383553
-0.935917
-0.878508
-0.741734
-0.597941
-0.474386
-0.372652
-0.288861
-0.217755
-0.153946
-0.0924565
-0.0287099
0.041703
-1.47642
-1.20662
-0.920496
-0.691381
-0.517298
-0.387537
-0.290054
-0.21333
-0.148116
-0.087208
-0.0245701
0.045465
-2.53964
-1.63054
-1.04443
-0.710951
-0.495743
-0.352086
-0.254523
-0.183576
-0.126162
-0.0735876
-0.0192615
0.0427944
-4.36666
-2.04463
-0.973535
-0.563173
-0.357839
-0.240139
-0.170112
-0.123776
-0.087474
-0.0535029
-0.016647
0.0276682
0.0698025
0.0881595
0.103052
0.112706
0.115555
0.110197
0.0928392
0.0614164
0.0741007
0.0979773
0.118401
0.133131
0.139994
0.136823
0.118446
0.0819388
0.078861
0.109799
0.137629
0.159591
0.172732
0.173783
0.155526
0.113576
0.0840605
0.123708
0.161142
0.193091
0.215673
0.224082
0.208056
0.160638
0.0898478
0.139835
0.189324
0.234695
0.27108
0.29167
0.281748
0.229781
0.0965603
0.158283
0.22238
0.285294
0.341403
0.381581
0.38492
0.33184
0.10456
0.178844
0.259868
0.344976
0.428622
0.499706
0.529681
0.485397
0.113814
0.200479
0.299982
0.412032
0.533036
0.651782
0.732778
0.722402
0.123271
0.220725
0.338933
0.482162
0.652004
0.841349
1.01528
1.09751
0.128945
0.233078
0.36711
0.542685
0.7713
1.05932
1.40329
1.73015
0.11922
0.21879
0.35482
0.547991
0.8264
1.23659
1.91168
2.9242
0.084615
0.161737
0.272419
0.442106
0.718226
1.22572
2.41104
4.84854
)
;
boundaryField
{
lid
{
type zeroGradient;
}
fixedWalls
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,41 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
lid
{
type fixedValue;
value uniform (1 0 0);
}
fixedWalls
{
type fixedValue;
value uniform (0 0 0);
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,39 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{
lid
{
type zeroGradient;
}
fixedWalls
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -19,11 +19,11 @@ application icoFoam;
startFrom startTime;
startTime 0;
startTime 0.5;
stopAt endTime;
endTime 0.5;
endTime 0.6;
deltaT 0.005;

View File

@ -17,442 +17,14 @@ FoamFile
dimensions [0 1 -1 0 0 0 0];
internalField nonuniform List<vector>
400
(
(7.77592e-05 -7.74314e-05 0)
(9.24465e-05 9.90119e-08 0)
(-0.000334275 0.000194835 0)
(-0.00129763 0.00036767 0)
(-0.00286343 0.000503916 0)
(-0.00494455 0.000576508 0)
(-0.00730369 0.000574836 0)
(-0.00964347 0.000498564 0)
(-0.0117102 0.00034179 0)
(-0.0128929 0.000126929 0)
(4.03178e-06 -9.46677e-05 0)
(-0.000327908 0.000334158 0)
(-0.00175804 0.00119198 0)
(-0.0042814 0.00196944 0)
(-0.00813354 0.00260203 0)
(-0.0131382 0.00294582 0)
(-0.0187679 0.00292999 0)
(-0.0243374 0.00254014 0)
(-0.0292504 0.00173976 0)
(-0.0320553 0.000642318 0)
(-0.000187657 0.000321548 0)
(-0.00119605 0.001768 0)
(-0.00416226 0.00411834 0)
(-0.00868815 0.00620737 0)
(-0.0151976 0.00791748 0)
(-0.0234033 0.00883917 0)
(-0.0324995 0.00874225 0)
(-0.041433 0.00755997 0)
(-0.0492814 0.00516822 0)
(-0.0537487 0.0019002 0)
(-0.000374981 0.00130006 0)
(-0.00207712 0.00438772 0)
(-0.0065967 0.00874463 0)
(-0.0130456 0.0124676 0)
(-0.021971 0.0154716 0)
(-0.0329447 0.0170375 0)
(-0.0449272 0.0167339 0)
(-0.0565905 0.014417 0)
(-0.0667836 0.00983357 0)
(-0.072574 0.00360938 0)
(-0.000562317 0.00300276 0)
(-0.0030009 0.00867184 0)
(-0.00921471 0.0158872 0)
(-0.0177622 0.0217751 0)
(-0.0292804 0.0264002 0)
(-0.0431487 0.0286797 0)
(-0.0580677 0.0279464 0)
(-0.0724456 0.023966 0)
(-0.0849373 0.0163056 0)
(-0.0920323 0.00598969 0)
(-0.000745322 0.00554788 0)
(-0.00393476 0.0149376 0)
(-0.0119241 0.0260455 0)
(-0.0226997 0.0347053 0)
(-0.0369662 0.0412738 0)
(-0.0538636 0.0442643 0)
(-0.0717978 0.042773 0)
(-0.0889114 0.0364906 0)
(-0.103696 0.0247665 0)
(-0.112119 0.00913805 0)
(-0.00093092 0.00901572 0)
(-0.00489502 0.0234069 0)
(-0.0147408 0.039587 0)
(-0.027864 0.0516962 0)
(-0.0450233 0.0605307 0)
(-0.0650795 0.0641651 0)
(-0.0861088 0.0614912 0)
(-0.105986 0.0521788 0)
(-0.123074 0.0353454 0)
(-0.132878 0.0131607 0)
(-0.00113149 0.0135389 0)
(-0.00593007 0.0344036 0)
(-0.017769 0.0570124 0)
(-0.0333952 0.0733311 0)
(-0.053601 0.0847548 0)
(-0.0769188 0.0888876 0)
(-0.101063 0.0844866 0)
(-0.123651 0.0713022 0)
(-0.142975 0.0482373 0)
(-0.154184 0.0182234 0)
(-0.00137666 0.0197259 0)
(-0.00717784 0.0493669 0)
(-0.0213632 0.0804986 0)
(-0.0398523 0.102161 0)
(-0.0634164 0.116597 0)
(-0.0901491 0.120906 0)
(-0.11735 0.113859 0)
(-0.142424 0.0954864 0)
(-0.163709 0.0645437 0)
(-0.176241 0.0249182 0)
(-0.00167131 0.0275121 0)
(-0.00864343 0.0680456 0)
(-0.0254591 0.109412 0)
(-0.0469581 0.137076 0)
(-0.073754 0.154396 0)
(-0.103351 0.15808 0)
(-0.132635 0.147237 0)
(-0.158961 0.12252 0)
(-0.180963 0.0827226 0)
(-0.194104 0.0328045 0)
(-0.0129112 -0.000119335 0)
(-0.0117458 -0.000341694 0)
(-0.00965701 -0.000507465 0)
(-0.00727209 -0.000587406 0)
(-0.00487018 -0.000585888 0)
(-0.00276981 -0.000505066 0)
(-0.00121437 -0.000360111 0)
(-0.00028002 -0.000182482 0)
(0.000111186 9.83519e-06 0)
(8.05099e-05 7.99212e-05 0)
(-0.0320881 -0.000613198 0)
(-0.0293109 -0.00174254 0)
(-0.0243486 -0.00258075 0)
(-0.0186865 -0.0029852 0)
(-0.0129706 -0.00298624 0)
(-0.00792763 -0.00260654 0)
(-0.00409668 -0.0019365 0)
(-0.00163233 -0.00113798 0)
(-0.000277587 -0.000287374 0)
(1.48683e-05 0.000113198 0)
(-0.053794 -0.00183057 0)
(-0.0493649 -0.00518068 0)
(-0.0414479 -0.00766944 0)
(-0.0323838 -0.00888855 0)
(-0.0231634 -0.00894624 0)
(-0.0148983 -0.00793054 0)
(-0.00841303 -0.00612144 0)
(-0.00396828 -0.0039738 0)
(-0.00111356 -0.00163457 0)
(-0.000168457 -0.000258733 0)
(-0.0726477 -0.00348138 0)
(-0.0669359 -0.00985102 0)
(-0.0566792 -0.0146085 0)
(-0.0448593 -0.0169956 0)
(-0.0327124 -0.017236 0)
(-0.0216433 -0.0155073 0)
(-0.0127244 -0.0123258 0)
(-0.00635936 -0.00849057 0)
(-0.00197162 -0.00414069 0)
(-0.000349533 -0.00117563 0)
(-0.0921806 -0.00573757 0)
(-0.0852815 -0.0162941 0)
(-0.0727743 -0.0242515 0)
(-0.0582179 -0.02837 0)
(-0.0430693 -0.0290283 0)
(-0.029029 -0.0265048 0)
(-0.0174576 -0.0215947 0)
(-0.00896428 -0.0155106 0)
(-0.00288066 -0.00827974 0)
(-0.000531706 -0.00279474 0)
(-0.11243 -0.00859305 0)
(-0.104468 -0.0246176 0)
(-0.0898004 -0.0368549 0)
(-0.0724982 -0.0434245 0)
(-0.0542274 -0.0448771 0)
(-0.0370072 -0.0415652 0)
(-0.0225483 -0.0345717 0)
(-0.0117312 -0.0255844 0)
(-0.00382139 -0.014395 0)
(-0.000713049 -0.00524164 0)
(-0.133488 -0.0119661 0)
(-0.124642 -0.03481 0)
(-0.107947 -0.0525464 0)
(-0.0879052 -0.0624586 0)
(-0.0663788 -0.0652461 0)
(-0.0457384 -0.0612557 0)
(-0.0281183 -0.0518284 0)
(-0.0147432 -0.0391919 0)
(-0.00483417 -0.0227762 0)
(-0.000905377 -0.00862174 0)
(-0.155281 -0.0157229 0)
(-0.14585 -0.0468335 0)
(-0.127414 -0.0714827 0)
(-0.104757 -0.0858727 0)
(-0.0799041 -0.0907717 0)
(-0.0555945 -0.0863676 0)
(-0.0344698 -0.0741786 0)
(-0.0182019 -0.0570393 0)
(-0.00600378 -0.0338816 0)
(-0.00112871 -0.0131219 0)
(-0.178091 -0.0198267 0)
(-0.168637 -0.06129 0)
(-0.149092 -0.0950265 0)
(-0.12421 -0.115775 0)
(-0.0960582 -0.124193 0)
(-0.0677259 -0.119995 0)
(-0.0424855 -0.10468 0)
(-0.0226591 -0.0817633 0)
(-0.00754204 -0.0494549 0)
(-0.0014282 -0.0194751 0)
(-0.19686 -0.0234072 0)
(-0.188422 -0.0762116 0)
(-0.169364 -0.120609 0)
(-0.143764 -0.149606 0)
(-0.113411 -0.163434 0)
(-0.0815219 -0.160811 0)
(-0.0520337 -0.142744 0)
(-0.0281718 -0.113303 0)
(-0.00951105 -0.0696929 0)
(-0.00182285 -0.0278255 0)
(-0.00205482 0.0373382 0)
(-0.0104895 0.0913204 0)
(-0.0303696 0.144655 0)
(-0.0549603 0.178528 0)
(-0.0844416 0.197835 0)
(-0.115493 0.199254 0)
(-0.14467 0.182865 0)
(-0.169646 0.150499 0)
(-0.189779 0.101307 0)
(-0.201899 0.0413711 0)
(-0.00256145 0.048775 0)
(-0.0128174 0.117872 0)
(-0.0361078 0.183428 0)
(-0.0633761 0.222155 0)
(-0.0939692 0.241063 0)
(-0.12357 0.237621 0)
(-0.148776 0.213829 0)
(-0.16823 0.173311 0)
(-0.182553 0.115904 0)
(-0.191068 0.0485951 0)
(-0.00333954 0.0625283 0)
(-0.0161578 0.148722 0)
(-0.0434395 0.225691 0)
(-0.0723793 0.266058 0)
(-0.101019 0.280184 0)
(-0.124185 0.267943 0)
(-0.139477 0.234591 0)
(-0.147594 0.186046 0)
(-0.151017 0.122947 0)
(-0.152636 0.0526174 0)
(-0.00457281 0.0782789 0)
(-0.0209748 0.182112 0)
(-0.0524161 0.266797 0)
(-0.0805895 0.303128 0)
(-0.102303 0.306816 0)
(-0.112643 0.282269 0)
(-0.111867 0.238839 0)
(-0.103754 0.184365 0)
(-0.0927559 0.119802 0)
(-0.0853918 0.0518692 0)
(-0.00684204 0.0983406 0)
(-0.0286568 0.220794 0)
(-0.0635163 0.306446 0)
(-0.0856108 0.330075 0)
(-0.0920607 0.316342 0)
(-0.0809813 0.276642 0)
(-0.0575774 0.224237 0)
(-0.0292904 0.16741 0)
(-0.00193267 0.106393 0)
(0.0152146 0.0462138 0)
(-0.0114225 0.125718 0)
(-0.0408773 0.265162 0)
(-0.0739349 0.337965 0)
(-0.0785937 0.33705 0)
(-0.0573111 0.300078 0)
(-0.0159042 0.246122 0)
(0.0340323 0.189489 0)
(0.0826149 0.136087 0)
(0.124505 0.0842065 0)
(0.149715 0.036382 0)
(-0.0205741 0.164753 0)
(-0.0570112 0.310161 0)
(-0.0708057 0.346506 0)
(-0.0388209 0.310706 0)
(0.0230489 0.251751 0)
(0.0980945 0.191419 0)
(0.171072 0.139207 0)
(0.23361 0.0959371 0)
(0.283396 0.057669 0)
(0.312223 0.0245832 0)
(-0.0337572 0.218068 0)
(-0.063854 0.338399 0)
(-0.0231108 0.312341 0)
(0.0641802 0.243977 0)
(0.168419 0.176411 0)
(0.267427 0.123297 0)
(0.350312 0.0845227 0)
(0.414801 0.0559155 0)
(0.46296 0.032638 0)
(0.489817 0.0136185 0)
(-0.0174788 0.280059 0)
(0.020044 0.294223 0)
(0.179666 0.194283 0)
(0.32234 0.123462 0)
(0.443244 0.0765276 0)
(0.535601 0.04838 0)
(0.603059 0.0311325 0)
(0.651211 0.0197562 0)
(0.685153 0.0111708 0)
(0.703318 0.00449339 0)
(0.238477 0.184328 0)
(0.383953 0.139634 0)
(0.588175 0.0653808 0)
(0.696245 0.0332812 0)
(0.766569 0.017537 0)
(0.812539 0.0100971 0)
(0.84334 0.00617112 0)
(0.864248 0.00378966 0)
(0.878479 0.0020798 0)
(0.885834 0.000789863 0)
(-0.205437 -0.0257369 0)
(-0.199534 -0.0897973 0)
(-0.18374 -0.145888 0)
(-0.160414 -0.18522 0)
(-0.130447 -0.207191 0)
(-0.0966194 -0.208706 0)
(-0.063362 -0.189348 0)
(-0.0351218 -0.153238 0)
(-0.0121224 -0.0960538 0)
(-0.00236632 -0.038894 0)
(-0.194711 -0.0260059 0)
(-0.192865 -0.0984107 0)
(-0.183868 -0.164784 0)
(-0.167274 -0.215119 0)
(-0.142262 -0.247754 0)
(-0.11016 -0.256998 0)
(-0.0752093 -0.23964 0)
(-0.0431659 -0.198647 0)
(-0.0153842 -0.127348 0)
(-0.00307997 -0.0523748 0)
(-0.155196 -0.0240535 0)
(-0.158674 -0.0996979 0)
(-0.160364 -0.172733 0)
(-0.156227 -0.233196 0)
(-0.142951 -0.278654 0)
(-0.118919 -0.300421 0)
(-0.0866065 -0.290715 0)
(-0.0525503 -0.249046 0)
(-0.0196987 -0.164615 0)
(-0.00409583 -0.0690759 0)
(-0.0857549 -0.0206053 0)
(-0.0945469 -0.0931125 0)
(-0.108684 -0.166856 0)
(-0.120988 -0.23351 0)
(-0.125783 -0.290954 0)
(-0.117467 -0.328494 0)
(-0.0945274 -0.332998 0)
(-0.0624005 -0.297697 0)
(-0.0252416 -0.204904 0)
(-0.00554776 -0.0882513 0)
(0.01773 -0.0162993 0)
(0.00432386 -0.0795761 0)
(-0.0223755 -0.147431 0)
(-0.0534277 -0.214554 0)
(-0.0819963 -0.280648 0)
(-0.0985203 -0.335441 0)
(-0.0950928 -0.361411 0)
(-0.0723134 -0.342724 0)
(-0.0331867 -0.250244 0)
(-0.0080028 -0.112065 0)
(0.154868 -0.0118381 0)
(0.138502 -0.061089 0)
(0.102061 -0.116678 0)
(0.0540877 -0.17678 0)
(0.000109448 -0.244097 0)
(-0.0488104 -0.312398 0)
(-0.0779682 -0.364217 0)
(-0.0780753 -0.374871 0)
(-0.0447528 -0.299385 0)
(-0.0127124 -0.143077 0)
(0.318718 -0.0078062 0)
(0.301714 -0.0410962 0)
(0.26126 -0.0804302 0)
(0.203591 -0.126575 0)
(0.130354 -0.184813 0)
(0.0492666 -0.255458 0)
(-0.0229547 -0.328291 0)
(-0.065475 -0.377167 0)
(-0.0583435 -0.344836 0)
(-0.0217915 -0.184858 0)
(0.495917 -0.00451266 0)
(0.480609 -0.0232272 0)
(0.442952 -0.0462116 0)
(0.386251 -0.0751584 0)
(0.307635 -0.115811 0)
(0.207456 -0.173748 0)
(0.0953767 -0.250368 0)
(-0.00452475 -0.330927 0)
(-0.0593172 -0.367174 0)
(-0.0339566 -0.238804 0)
(0.707142 -0.001728 0)
(0.696469 -0.00817254 0)
(0.670146 -0.0163546 0)
(0.629 -0.0273224 0)
(0.567766 -0.0443454 0)
(0.479525 -0.0729196 0)
(0.358357 -0.122052 0)
(0.209288 -0.198417 0)
(0.0351724 -0.308273 0)
(-0.0127872 -0.29491 0)
(0.887141 -0.000396638 0)
(0.882405 -0.00163119 0)
(0.871033 -0.003235 0)
(0.853065 -0.0054759 0)
(0.825407 -0.00921004 0)
(0.782608 -0.0163626 0)
(0.714893 -0.0317907 0)
(0.607692 -0.0642715 0)
(0.398843 -0.141465 0)
(0.245181 -0.188243 0)
)
;
internalField uniform (0 0 0);
boundaryField
{
movingWall
{
type fixedValue;
value nonuniform List<vector>
20
(
(1 0 0)
(1 0 0)
(1 0 0)
(1 0 0)
(1 0 0)
(1 0 0)
(1 0 0)
(1 0 0)
(1 0 0)
(1 0 0)
(1 0 0)
(1 0 0)
(1 0 0)
(1 0 0)
(1 0 0)
(1 0 0)
(1 0 0)
(1 0 0)
(1 0 0)
(1 0 0)
)
;
value uniform (1 0 0);
}
fixedWalls
{

View File

@ -17,411 +17,7 @@ FoamFile
dimensions [0 2 -2 0 0 0 0];
internalField nonuniform List<scalar>
400
(
5.52402e-06
-0.00229538
-0.00774013
-0.0134457
-0.0182955
-0.0202942
-0.0178671
-0.010124
0.00412935
0.0232269
0.0023122
-8.56648e-06
-0.00431311
-0.00861915
-0.0121932
-0.0134505
-0.0110599
-0.0042145
0.00817294
0.0247006
0.00788852
0.00425942
-0.000230637
-0.00410498
-0.0070962
-0.0079743
-0.00569132
0.000416574
0.0113069
0.0257812
0.014126
0.00870618
0.00323272
-0.000947769
-0.00397238
-0.00482869
-0.0026946
0.0029497
0.0129493
0.02622
0.0202555
0.0127338
0.00578291
0.000844808
-0.00258855
-0.00363201
-0.00164603
0.00375017
0.0133077
0.0259998
0.0244929
0.0147236
0.00599413
1.7912e-06
-0.00408129
-0.00540459
-0.00345031
0.00204832
0.0117931
0.0247509
0.0249167
0.0127959
0.00213259
-0.0050374
-0.00982139
-0.0113316
-0.00911901
-0.00300128
0.00773874
0.0219993
0.0193824
0.0047426
-0.00795542
-0.0162944
-0.0216404
-0.0230221
-0.0200315
-0.0125544
0.000219103
0.0170553
0.00369386
-0.0139208
-0.0288595
-0.0382709
-0.0437922
-0.0443442
-0.0395825
-0.0294836
-0.0130469
0.00827599
-0.026299
-0.0473007
-0.0644576
-0.0744762
-0.0792818
-0.0777332
-0.0696678
-0.0552497
-0.0332117
-0.00530944
0.0448887
0.0642817
0.0788822
0.086761
0.0890699
0.0867819
0.0816334
0.0757444
0.0702744
0.0680518
0.04343
0.0602061
0.072888
0.0798553
0.0821584
0.0806706
0.0768525
0.0723898
0.0680566
0.0658278
0.0421893
0.0569264
0.0681388
0.0744007
0.076625
0.075532
0.0722957
0.068254
0.0637334
0.060242
0.0412959
0.0549012
0.0653298
0.0712155
0.0733369
0.0722633
0.0689564
0.0645632
0.0590318
0.0537776
0.0404811
0.0536513
0.0638535
0.069671
0.0717468
0.070496
0.0667206
0.0614853
0.0544032
0.0470424
0.0396289
0.0533146
0.0640878
0.0703465
0.0726098
0.0711437
0.0666534
0.0602356
0.0512306
0.0415506
0.0384883
0.0538857
0.0663017
0.073782
0.076738
0.0752775
0.0700537
0.0622904
0.0511071
0.0388851
0.0366467
0.0552771
0.0707953
0.0806772
0.0852285
0.0843488
0.0786403
0.0695238
0.0559293
0.0408022
0.0332112
0.0574489
0.078501
0.0929152
0.100851
0.101839
0.0963391
0.0860166
0.0696153
0.050776
0.0273838
0.0599073
0.0894946
0.111369
0.125449
0.130592
0.126844
0.116047
0.0967497
0.073356
-0.0766926
-0.10178
-0.120971
-0.13057
-0.132883
-0.126914
-0.113011
-0.0917737
-0.0616323
-0.0247479
-0.149366
-0.179286
-0.199682
-0.206748
-0.203452
-0.189499
-0.166393
-0.135559
-0.0951477
-0.0477641
-0.252602
-0.288755
-0.308157
-0.308064
-0.293054
-0.264902
-0.227429
-0.183361
-0.130477
-0.0716821
-0.386061
-0.429712
-0.442826
-0.427378
-0.391657
-0.341776
-0.285011
-0.225339
-0.159677
-0.0906935
-0.572464
-0.624085
-0.617383
-0.570168
-0.498588
-0.416408
-0.334779
-0.257685
-0.179905
-0.102847
-0.8514
-0.902235
-0.841174
-0.731866
-0.602733
-0.47727
-0.367627
-0.274207
-0.1875
-0.106255
-1.30904
-1.3063
-1.11074
-0.892443
-0.682999
-0.50932
-0.375051
-0.271107
-0.181556
-0.101458
-2.09545
-1.86213
-1.39155
-1.01465
-0.715574
-0.502329
-0.355072
-0.250216
-0.165163
-0.0914828
-3.98058
-2.67121
-1.60811
-1.02895
-0.659379
-0.436806
-0.299319
-0.208349
-0.137781
-0.0773138
-7.18227
-3.1681
-1.41184
-0.806704
-0.48937
-0.319976
-0.220877
-0.157034
-0.107682
-0.064011
0.0183613
0.062252
0.104185
0.13766
0.162208
0.175468
0.176455
0.166864
0.144945
0.115841
0.00715669
0.0642276
0.121401
0.170432
0.21041
0.237123
0.247542
0.242376
0.21922
0.18352
-0.00455663
0.0664556
0.141069
0.209788
0.271553
0.319751
0.347733
0.353345
0.332383
0.288991
-0.0134122
0.0695562
0.160699
0.25044
0.338512
0.416292
0.472279
0.498663
0.487024
0.435713
-0.0182693
0.0738185
0.179548
0.2908
0.409869
0.527963
0.628572
0.694482
0.708557
0.650684
-0.0186749
0.0781401
0.194231
0.324561
0.476486
0.645392
0.813452
0.952028
1.03083
0.978783
-0.0160557
0.0800304
0.200014
0.342877
0.523215
0.747039
1.00593
1.26722
1.49769
1.51226
-0.0129511
0.0772526
0.193893
0.339561
0.536157
0.805429
1.16435
1.60059
2.13145
2.40382
-0.0116026
0.0661826
0.169925
0.303976
0.494184
0.778367
1.21817
1.87684
3.04386
4.45278
-0.0139577
0.0478743
0.132048
0.241219
0.396048
0.631083
1.02405
1.72146
3.62706
7.79002
)
;
internalField uniform 0;
boundaryField
{

View File

@ -19,11 +19,11 @@ application icoFoam;
startFrom startTime;
startTime 0;
startTime 0.5;
stopAt endTime;
endTime 0.5;
endTime 0.7;
deltaT 0.0025;

View File

@ -60,16 +60,6 @@ constantProperties
T0 300;
Cp0 4100;
youngsModulus 1e9;
poissonsRatio 0.35;
epsilon0 1;
f0 0.5;
TDevol 273;
LDevol 0;
hRetentionCoeff 1;
constantVolume false;
}

View File

@ -60,16 +60,6 @@ constantProperties
T0 350;
Cp0 4100;
youngsModulus 1e9;
poissonsRatio 0.35;
epsilon0 1;
f0 0.5;
TDevol 284;
LDevol 0;
hRetentionCoeff 1;
constantVolume false;
}

View File

@ -60,16 +60,6 @@ constantProperties
T0 350;
Cp0 4100;
youngsModulus 1e9;
poissonsRatio 0.35;
epsilon0 1;
f0 0.5;
TDevol 273;
LDevol 0;
hRetentionCoeff 1;
constantVolume false;
}

View File

@ -64,6 +64,7 @@ functions
( 0 9.95 19.77 )
( 0 -9.95 19.77 )
);
fixedLocations false;
fields
(
p

View File

@ -0,0 +1,58 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Umean 1.668;
mUmean -1.668;
dimensions [0 1 -1 0 0 0 0];
internalField uniform ($mUmean 0 0);
boundaryField
{
//- Set patchGroups for constraint patches
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
inlet
{
type fixedValue;
value $internalField;
}
outlet
{
type outletPhaseMeanVelocity;
alpha alpha.water;
Umean $Umean;
value $internalField;
}
atmosphere
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}
hull
{
type movingWallVelocity;
value uniform (0 0 0);
}
}
// ************************************************************************* //

View File

@ -0,0 +1,54 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object alpha;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 0;
boundaryField
{
//- Set patchGroups for constraint patches
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
inlet
{
type fixedValue;
value $internalField;
}
outlet
{
type variableHeightFlowRate;
lowerBound 0;
upperBound 1;
value $internalField;
}
atmosphere
{
type inletOutlet;
inletValue $internalField;
value $internalField;
}
hull
{
type zeroGradient;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,54 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0.00015;
boundaryField
{
//- Set patchGroups for constraint patches
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
inlet
{
type fixedValue;
value $internalField;
}
outlet
{
type inletOutlet;
inletValue $internalField;
value $internalField;
}
atmosphere
{
type inletOutlet;
inletValue $internalField;
value $internalField;
}
hull
{
type kqRWallFunction;
value $internalField;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,53 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -1 0 0 0 0];
internalField uniform 5e-07;
boundaryField
{
//- Set patchGroups for constraint patches
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
inlet
{
type fixedValue;
value $internalField;
}
outlet
{
type zeroGradient;
}
atmosphere
{
type zeroGradient;
}
hull
{
type nutkRoughWallFunction;
Ks uniform 100e-6;
Cs uniform 0.5;
value $internalField;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,56 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object omega;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 -1 0 0 0 0];
internalField uniform 2;
boundaryField
{
//- Set patchGroups for constraint patches
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
inlet
{
type fixedValue;
value $internalField;
}
outlet
{
type inletOutlet;
inletValue $internalField;
value $internalField;
}
atmosphere
{
type inletOutlet;
inletValue $internalField;
value $internalField;
}
hull
{
type omegaWallFunction;
value $internalField;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,57 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{
//- Set patchGroups for constraint patches
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
inlet
{
type fixedFluxPressure;
value $internalField;
}
outlet
{
type zeroGradient;
}
atmosphere
{
type totalPressure;
p0 uniform 0;
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value $internalField;
}
hull
{
type fixedFluxPressure;
value $internalField;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,52 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class pointVectorField;
location "0";
object pointDisplacement;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 0 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
//- Set patchGroups for constraint patches
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
inlet
{
type fixedValue;
value uniform (0 0 0);
}
outlet
{
type fixedValue;
value uniform (0 0 0);
}
atmosphere
{
type fixedValue;
value uniform (0 0 0);
}
hull
{
type calculated;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,17 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# remove surface
\rm -f constant/triSurface/DTC-scaled.stl.gz > /dev/null 2>&1
\rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
\rm -f constant/triSurface/DTC-scaled.eMesh > /dev/null 2>&1
cleanCase
\rm constant/polyMesh/boundary > /dev/null 2>&1
\rm -rf 0 > /dev/null 2>&1
\rm system/topoSetDict > /dev/null 2>&1
# ----------------------------------------------------------------- end-of-file

View File

@ -0,0 +1,48 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
runRefineMesh ()
{
echo "Running refineMesh on $PWD"
refineMesh -dict system/refineMeshDict -overwrite > log.refineMesh 2>&1
}
# copy DTC hull surface from resources folder
cp $FOAM_TUTORIALS/resources/geometry/DTC-scaled.stl.gz constant/triSurface/
runApplication surfaceFeatureExtract
runApplication blockMesh
i=1
if [ -f log.topoSet.6 ] ; then
i=7
fi
while [ "$i" -lt 7 ] ; do
cp system/topoSetDict.${i} system/topoSetDict
runApplication topoSet
runRefineMesh
mv log.topoSet log.topoSet.$i
mv log.refineMesh log.refineMesh.$i
i=$(expr $i + 1)
done
runApplication snappyHexMesh -overwrite
\rm -rf 0
\cp -r 0.org 0
runApplication setFields
runApplication decomposePar
runParallel renumberMesh 8 -overwrite
runParallel $(getApplication) 8
runApplication reconstructPar
# ----------------------------------------------------------------- end-of-file

View File

@ -0,0 +1,25 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object RASProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
RASModel kOmegaSST;
turbulence on;
printCoeffs on;
// ************************************************************************* //

View File

@ -0,0 +1,67 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ("libsixDoFRigidBodyMotion.so");
solver sixDoFRigidBodyMotion;
sixDoFRigidBodyMotionCoeffs
{
patches (hull);
innerDistance 0.3;
outerDistance 1;
centreOfMass (2.929541 0 0.2);
mass 412.73;
momentOfInertia (40 921 921);
rhoInf 1;
report on;
accelerationRelaxation 0.3;
value uniform (0 0 0);
constraints
{
zAxis
{
sixDoFRigidBodyMotionConstraint line;
direction (0 0 1);
}
yPlane
{
sixDoFRigidBodyMotionConstraint axis;
axis (0 1 0);
}
}
restraints
{
translationDamper
{
sixDoFRigidBodyMotionRestraint linearDamper;
coeff 8596;
}
rotationDamper
{
sixDoFRigidBodyMotionRestraint sphericalAngularDamper;
coeff 11586;
}
}
}
// ************************************************************************* //

View File

@ -0,0 +1,21 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class uniformDimensionedVectorField;
location "constant";
object g;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -2 0 0 0 0];
value (0 0 -9.81);
// ************************************************************************* //

View File

@ -0,0 +1,147 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 1;
vertices
(
(-26 -19 -16)
(16 -19 -16)
(16 0 -16)
(-26 0 -16)
(-26 -19 -1)
(16 -19 -1)
(16 0 -1)
(-26 0 -1)
(-26 -19 0.185)
(16 -19 0.185)
(16 0 0.185)
(-26 0 0.185)
(-26 -19 0.244)
(16 -19 0.244)
(16 0 0.244)
(-26 0 0.244)
(-26 -19 0.3)
(16 -19 0.3)
(16 0 0.3)
(-26 0 0.3)
(-26 -19 1.6)
(16 -19 1.6)
(16 0 1.6)
(-26 0 1.6)
(-26 -19 4)
(16 -19 4)
(16 0 4)
(-26 0 4)
);
blocks
(
hex (0 1 2 3 4 5 6 7) (42 19 50) simpleGrading (1 1 0.05)
hex (4 5 6 7 8 9 10 11) (42 19 50) simpleGrading (1 1 1)
hex (8 9 10 11 12 13 14 15) (42 19 4) simpleGrading (1 1 1)
hex (12 13 14 15 16 17 18 19) (42 19 4) simpleGrading (1 1 1)
hex (16 17 18 19 20 21 22 23) (42 19 40) simpleGrading (1 1 1)
hex (20 21 22 23 24 25 26 27) (42 19 20) simpleGrading (1 1 5)
);
edges
(
);
boundary
(
atmosphere
{
type patch;
faces
(
(24 25 26 27)
);
}
inlet
{
type patch;
faces
(
(1 2 6 5)
(5 6 10 9)
(9 10 14 13)
(13 14 18 17)
(17 18 22 21)
(21 22 26 25)
);
}
outlet
{
type patch;
faces
(
(0 4 7 3)
(4 8 11 7)
(8 12 15 11)
(12 16 19 15)
(16 20 23 19)
(20 24 27 23)
);
}
bottom
{
type symmetryPlane;
faces
(
(0 3 2 1)
);
}
side
{
type symmetryPlane;
faces
(
(0 1 5 4)
(4 5 9 8)
(8 9 13 12)
(12 13 17 16)
(16 17 21 20)
(20 21 25 24)
);
}
midPlane
{
type symmetryPlane;
faces
(
(3 7 6 2)
(7 11 10 6)
(11 15 14 10)
(15 19 18 14)
(19 23 22 18)
(23 27 26 22)
);
}
);
mergePatchPairs
(
);
// ************************************************************************* //

View File

@ -0,0 +1,36 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
phases (water air);
water
{
transportModel Newtonian;
nu nu [ 0 2 -1 0 0 0 0 ] 1.09e-06;
rho rho [ 1 -3 0 0 0 0 0 ] 998.8;
}
air
{
transportModel Newtonian;
nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05;
rho rho [ 1 -3 0 0 0 0 0 ] 1;
}
sigma sigma [ 1 0 -2 0 0 0 0 ] 0;
// ************************************************************************* //

View File

@ -0,0 +1,4 @@
Folder to house tri-surfaces
The Allrun script copies the surface from the $FOAM_TUTORIALS/resources/geometry
folder

View File

@ -0,0 +1,21 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType RASModel;
// ************************************************************************* //

View File

@ -0,0 +1,72 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application interDyMFoam;
startFrom startTime;
startTime 0;
stopAt endTime;
endTime 50;
deltaT 0.0001;
writeControl adjustableRunTime;
writeInterval 5;
purgeWrite 0;
writeFormat binary;
writePrecision 6;
writeCompression uncompressed;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
adjustTimeStep yes;
maxCo 25;
maxAlphaCo 15;
maxDeltaT 0.01;
functions
{
forces
{
type forces;
functionObjectLibs ( "libforces.so" );
patches (hull);
rhoInf 998.8;
rhoName rho;
UName U;
log on;
outputControl timeStep;
outputInterval 1;
CofR (2.929541 0 0.2);
}
}
// ************************************************************************* //

View File

@ -0,0 +1,58 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 8;
method scotch;
simpleCoeffs
{
n (2 1 1);
delta 0.001;
}
hierarchicalCoeffs
{
n (1 1 1);
delta 0.001;
order xyz;
}
metisCoeffs
{
}
manualCoeffs
{
dataFile "";
}
distributed no;
roots
(
);
// ************************************************************************* //

View File

@ -0,0 +1,63 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
default Euler;
}
gradSchemes
{
default Gauss linear;
limitedGrad cellLimited Gauss linear 1;
}
divSchemes
{
div(rhoPhi,U) Gauss linearUpwind grad(U);
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss linear;
div(phi,k) Gauss linearUpwind limitedGrad;
div(phi,omega) Gauss linearUpwind limitedGrad;
div((muEff*dev(T(grad(U))))) Gauss linear;
}
laplacianSchemes
{
default Gauss linear corrected;
}
interpolationSchemes
{
default linear;
}
snGradSchemes
{
default corrected;
}
fluxRequired
{
default no;
p_rgh;
pcorr;
alpha.water;
}
// ************************************************************************* //

View File

@ -0,0 +1,117 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
"alpha.water.*"
{
nAlphaCorr 3;
nAlphaSubCycles 1;
cAlpha 1;
icAlpha 0;
alphaOuterCorrectors yes;
MULESCorr yes;
nLimiterIter 10;
alphaApplyPrevCorr yes;
solver smoothSolver;
smoother symGaussSeidel;
tolerance 1e-10;
relTol 0;
minIter 1;
}
"pcorr.*"
{
solver GAMG;
smoother DIC;
agglomerator faceAreaPair;
mergeLevels 1;
nCellsInCoarsestLevel 10;
cacheAgglomeration true;
tolerance 0.1;
relTol 0;
};
p_rgh
{
solver GAMG;
smoother DIC;
agglomerator faceAreaPair;
mergeLevels 1;
nCellsInCoarsestLevel 10;
cacheAgglomeration true;
tolerance 5e-8;
relTol 0.001;
};
p_rghFinal
{
$p_rgh;
relTol 0;
}
"(U|k|omega).*"
{
solver smoothSolver;
smoother symGaussSeidel;
nSweeps 1;
tolerance 1e-7;
relTol 0;
minIter 1;
};
}
PIMPLE
{
momentumPredictor no;
nOuterCorrectors 1;
nCorrectors 3;
nNonOrthogonalCorrectors 0;
correctPhi yes;
moveMeshOuterCorrectors yes;
turbOnFinalIterOnly yes;
}
relaxationFactors
{
fields
{
}
equations
{
".*" 1;
}
}
cache
{
grad(U);
}
// ************************************************************************* //

View File

@ -0,0 +1,86 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object meshQualityDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
//- Maximum non-orthogonality allowed. Set to 180 to disable.
maxNonOrtho 70;
//- Max skewness allowed. Set to <0 to disable.
maxBoundarySkewness 20;
maxInternalSkewness 4;
//- Max concaveness allowed. Is angle (in degrees) below which concavity
// is allowed. 0 is straight face, <0 would be convex face.
// Set to 180 to disable.
maxConcave 80;
//- Minimum pyramid volume. Is absolute volume of cell pyramid.
// Set to a sensible fraction of the smallest cell volume expected.
// Set to very negative number (e.g. -1E30) to disable.
minVol 1e-13;
//- Minimum quality of the tet formed by the face-centre
// and variable base point minimum decomposition triangles and
// the cell centre. Set to very negative number (e.g. -1E30) to
// disable.
// <0 = inside out tet,
// 0 = flat tet
// 1 = regular tet
minTetQuality 1e-30;
//- Minimum face area. Set to <0 to disable.
minArea -1;
//- Minimum face twist. Set to <-1 to disable. dot product of face normal
//- and face centre triangles normal
minTwist 0.05;
//- minimum normalised cell determinant
//- 1 = hex, <= 0 = folded or flattened illegal cell
minDeterminant 0.001;
//- minFaceWeight (0 -> 0.5)
minFaceWeight 0.05;
//- minVolRatio (0 -> 1)
minVolRatio 0.01;
//must be >0 for Fluent compatibility
minTriangleTwist -1;
//- if >0 : preserve single cells with all points on the surface if the
// resulting volume after snapping (by approximation) is larger than
// minVolCollapseRatio times old volume (i.e. not collapsed to flat cell).
// If <0 : delete always.
//minVolCollapseRatio 0.5;
// Advanced
//- Number of error distribution iterations
nSmoothScale 4;
//- amount to scale back displacement at error points
errorReduction 0.75;
// Optional : some meshing phases allow usage of relaxed rules.
// See e.g. addLayersControls::nRelaxedIter.
relaxed
{
//- Maximum non-orthogonality allowed. Set to 180 to disable.
maxNonOrtho 75;
}

View File

@ -0,0 +1,43 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object refineMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
set c0;
coordinateSystem global;
globalCoeffs
{
tan1 ( 1 0 0 );
tan2 ( 0 1 0 );
}
patchLocalCoeffs
{
patch outside;
tan1 ( 1 0 0 );
}
directions ( tan1 tan2 );
useHexTopology no;
geometricCut yes;
writeMesh no;
// ************************************************************************* //

View File

@ -0,0 +1,49 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object setFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
defaultFieldValues
(
volScalarFieldValue alpha.water 0
);
regions
(
// Set cell values
// (does zerogradient on boundaries)
boxToCell
{
box (-999 -999 -999) (999 999 0.244);
fieldValues
(
volScalarFieldValue alpha.water 1
);
}
// Set patch values (using ==)
boxToFace
{
box (-999 -999 -999) (999 999 0.244);
fieldValues
(
volScalarFieldValue alpha.water 1
);
}
);
// ************************************************************************* //

View File

@ -0,0 +1,284 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object snappyHexMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Which of the steps to run
castellatedMesh true;
snap true;
addLayers true;
// Geometry. Definition of all surfaces. All surfaces are of class
// searchableSurface.
// Surfaces are used
// - to specify refinement for any mesh cell intersecting it
// - to specify refinement for any mesh cell inside/outside/near
// - to 'snap' the mesh boundary to the surface
geometry
{
DTC-scaled.stl
{
type triSurfaceMesh;
name hull;
patchInfo
{
type wall;
}
}
};
// Settings for the castellatedMesh generation.
castellatedMeshControls
{
// Refinement parameters
// ~~~~~~~~~~~~~~~~~~~~~
// If local number of cells is >= maxLocalCells on any processor
// switches from from refinement followed by balancing
// (current method) to (weighted) balancing before refinement.
maxLocalCells 100000;
// Overall cell limit (approximately). Refinement will stop immediately
// upon reaching this number so a refinement level might not complete.
// Note that this is the number of cells before removing the part which
// is not 'visible' from the keepPoint. The final number of cells might
// actually be a lot less.
maxGlobalCells 2000000;
// The surface refinement loop might spend lots of iterations refining just a
// few cells. This setting will cause refinement to stop if <= minimumRefine
// are selected for refinement. Note: it will at least do one iteration
// (unless the number of cells to refine is 0)
minRefinementCells 0;
// Number of buffer layers between different levels.
// 1 means normal 2:1 refinement restriction, larger means slower
// refinement.
nCellsBetweenLevels 3;
// Explicit feature edge refinement
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Specifies a level for any cell intersected by its edges.
// This is a featureEdgeMesh, read from constant/triSurface for now.
features
(
{
file "DTC-scaled.eMesh";
level 0;
}
);
// Surface based refinement
// ~~~~~~~~~~~~~~~~~~~~~~~~
// Specifies two levels for every surface. The first is the minimum level,
// every cell intersecting a surface gets refined up to the minimum level.
// The second level is the maximum level. Cells that 'see' multiple
// intersections where the intersections make an
// angle > resolveFeatureAngle get refined up to the maximum level.
refinementSurfaces
{
hull
{
// Surface-wise min and max refinement level
level (0 0);
}
}
resolveFeatureAngle 45;
// Region-wise refinement
// ~~~~~~~~~~~~~~~~~~~~~~
// Specifies refinement level for cells in relation to a surface. One of
// three modes
// - distance. 'levels' specifies per distance to the surface the
// wanted refinement level. The distances need to be specified in
// descending order.
// - inside. 'levels' is only one entry and only the level is used. All
// cells inside the surface get refined up to the level. The surface
// needs to be closed for this to be possible.
// - outside. Same but cells outside.
refinementRegions
{
}
// Mesh selection
// ~~~~~~~~~~~~~~
// After refinement patches get added for all refinementSurfaces and
// all cells intersecting the surfaces get put into these patches. The
// section reachable from the locationInMesh is kept.
// NOTE: This point should never be on a face, always inside a cell, even
// after refinement.
locationInMesh (-0.7 0 0);
// Whether any faceZones (as specified in the refinementSurfaces)
// are only on the boundary of corresponding cellZones or also allow
// free-standing zone faces. Not used if there are no faceZones.
allowFreeStandingZoneFaces true;
}
// Settings for the snapping.
snapControls
{
//- Number of patch smoothing iterations before finding correspondence
// to surface
nSmoothPatch 3;
//- Relative distance for points to be attracted by surface feature point
// or edge. True distance is this factor times local
// maximum edge length.
// tolerance 4.0;
tolerance 1.0;
//- Number of mesh displacement relaxation iterations.
nSolveIter 100;
//- Maximum number of snapping relaxation iterations. Should stop
// before upon reaching a correct mesh.
nRelaxIter 5;
nFeatureSnapIter 10;
}
// Settings for the layer addition.
addLayersControls
{
// Are the thickness parameters below relative to the undistorted
// size of the refined cell outside layer (true) or absolute sizes (false).
relativeSizes true;
// Per final patch (so not geometry!) the layer information
layers
{
hull
{
nSurfaceLayers 3;
}
}
// Expansion factor for layer mesh
expansionRatio 1.5;
// Wanted thickness of final added cell layer. If multiple layers
// is the thickness of the layer furthest away from the wall.
// See relativeSizes parameter.
finalLayerThickness 0.7;
// Minimum thickness of cell layer. If for any reason layer
// cannot be above minThickness do not add layer.
// See relativeSizes parameter.
minThickness 0.25;
// If points get not extruded do nGrow layers of connected faces that are
// also not grown. This helps convergence of the layer addition process
// close to features.
// Note: changed(corrected) w.r.t 17x! (didn't do anything in 17x)
nGrow 0;
// Advanced settings
// When not to extrude surface. 0 is flat surface, 90 is when two faces
// are perpendicular
featureAngle 60;
// Maximum number of snapping relaxation iterations. Should stop
// before upon reaching a correct mesh.
nRelaxIter 5;
// Number of smoothing iterations of surface normals
nSmoothSurfaceNormals 1;
// Number of smoothing iterations of interior mesh movement direction
nSmoothNormals 3;
// Smooth layer thickness over surface patches
nSmoothThickness 10;
// Stop layer growth on highly warped cells
maxFaceThicknessRatio 0.5;
// Reduce layer growth where ratio thickness to medial
// distance is large
maxThicknessToMedialRatio 0.3;
// Angle used to pick up medial axis points
// Note: changed(corrected) w.r.t 17x! 90 degrees corresponds to 130 in 17x.
minMedianAxisAngle 90;
// Create buffer region for new layer terminations
nBufferCellsNoExtrude 0;
// Overall max number of layer addition iterations. The mesher will exit
// if it reaches this number of iterations; possibly with an illegal
// mesh.
nLayerIter 50;
// Max number of iterations after which relaxed meshQuality controls
// get used. Up to nRelaxIter it uses the settings in meshQualityControls,
// after nRelaxIter it uses the values in meshQualityControls::relaxed.
nRelaxedIter 20;
}
// Generic mesh quality settings. At any undoable phase these determine
// where to undo.
meshQualityControls
{
#include "meshQualityDict"
}
// Advanced
// Flags for optional output
// 0 : only write final meshes
// 1 : write intermediate meshes
// 2 : write volScalarField with cellLevel for postprocessing
// 4 : write current intersections as .obj files
debug 0;
// Merge tolerance. Is fraction of overall bounding box of initial mesh.
// Note: the write tolerance needs to be higher than this.
mergeTolerance 1E-6;
// ************************************************************************* //

View File

@ -0,0 +1,48 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object surfaceFeatureExtractDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
DTC-scaled.stl
{
// How to obtain raw features (extractFromFile || extractFromSurface)
extractionMethod extractFromSurface;
extractFromSurfaceCoeffs
{
// Mark edges whose adjacent surface normals are at an angle less
// than includedAngle as features
// - 0 : selects no edges
// - 180: selects all edges
includedAngle 150;
}
subsetFeatures
{
// Keep nonManifold edges (edges with >2 connected faces)
nonManifoldEdges yes;
// Keep open edges (edges with 1 connected face)
openEdges yes;
}
// Write options
// Write features to obj format for postprocessing
writeObj yes;
}
// ************************************************************************* //

View File

@ -0,0 +1,32 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
actions
(
{
name c0;
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box (-10 -6 -3) (10 0 3);
}
}
);
// ************************************************************************* //

View File

@ -0,0 +1,32 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
actions
(
{
name c0;
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box (-5 -3 -2.5) (9 0 2);
}
}
);
// ************************************************************************* //

View File

@ -0,0 +1,32 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
actions
(
{
name c0;
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box (-3 -1.5 -1) (8 0 1.5);
}
}
);
// ************************************************************************* //

View File

@ -0,0 +1,32 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
actions
(
{
name c0;
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box (-2 -1 -0.6) (7 0 1);
}
}
);
// ************************************************************************* //

View File

@ -0,0 +1,32 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
actions
(
{
name c0;
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box (-1 -0.6 -0.3) (6.5 0 0.8);
}
}
);
// ************************************************************************* //

View File

@ -0,0 +1,32 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
actions
(
{
name c0;
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box (-0.5 -0.55 -0.15) (6.25 0 0.65);
}
}
);
// ************************************************************************* //

View File

@ -64,6 +64,7 @@ functions
( 0 9.95 19.77 )
( 0 -9.95 19.77 )
);
fixedLocations false;
fields
(
p

View File

@ -63,6 +63,7 @@ functions
( 0 9.95 19.77 )
( 0 -9.95 19.77 )
);
fixedLocations false;
fields
(
p

View File

@ -64,6 +64,7 @@ functions
( 0 9.95 19.77 )
( 0 -9.95 19.77 )
);
fixedLocations false;
fields
(
p

View File

@ -64,6 +64,7 @@ functions
( 0 9.95 19.77 )
( 0 -9.95 19.77 )
);
fixedLocations false;
fields
(
p

View File

@ -64,6 +64,7 @@ functions
( 0 9.95 19.77 )
( 0 -9.95 19.77 )
);
fixedLocations false;
fields
(
p

View File

@ -6,6 +6,5 @@ cd ${0%/*} || exit 1 # run from this directory
cleanCase
rm system/topoSetDict > /dev/null 2>&1
cp constant/polyMesh/boundary.org constant/polyMesh/boundary
# ----------------------------------------------------------------- end-of-file

View File

@ -30,7 +30,6 @@ while [ "$i" -lt 3 ] ; do
rm -rf 1e-08
i=`expr $i + 1`
done
cp constant/polyMesh/boundary.org constant/polyMesh/boundary
runApplication $application

Binary file not shown.