├── .gitignore ├── Allwclean ├── Allwmake ├── LICENSE ├── README.md ├── Tests ├── test-alphaInit │ ├── 0.orig │ │ ├── T │ │ ├── U │ │ ├── alpha.water │ │ ├── p │ │ └── p_rgh │ ├── Allclean │ ├── Allrun │ ├── Allrun_Slurm │ ├── constant │ │ ├── g │ │ ├── thermophysicalProperties │ │ ├── thermophysicalProperties.air │ │ ├── thermophysicalProperties.water │ │ └── turbulenceProperties │ ├── p.csv │ └── system │ │ ├── blockMeshDict │ │ ├── controlDict │ │ ├── decomposeParDict │ │ ├── fvSchemes │ │ ├── fvSolution │ │ ├── initAlphaFieldDict │ │ ├── setFieldfromTableDict │ │ └── setFieldsDict ├── test-leastSquareGrad │ ├── Make │ │ ├── files │ │ └── options │ └── test-leastSquareGrad.C ├── test-multiDimPolyFitter │ ├── Make │ │ ├── files │ │ └── options │ └── test-multiDimPolyFitter.C ├── test-reconstructedDistanceFunction │ ├── Make │ │ ├── files │ │ └── options │ ├── test-reconDistFunc │ │ ├── 0.orig │ │ │ ├── U │ │ │ ├── alpha1 │ │ │ └── markedCells │ │ ├── Allclean │ │ ├── Allrun │ │ ├── constant │ │ │ ├── g │ │ │ ├── transportProperties │ │ │ └── turbulenceProperties │ │ └── system │ │ │ ├── blockMeshDict │ │ │ ├── changeDictionaryDict │ │ │ ├── controlDict │ │ │ ├── decomposeParDict │ │ │ ├── fvSchemes │ │ │ ├── fvSolution │ │ │ ├── isoSurfDict │ │ │ ├── setAlphaFieldDict │ │ │ └── topoSetDict │ └── test-reconstructedDistanceFunction.C └── test-zoneDistribute │ ├── Make │ ├── files │ └── options │ └── test-zoneDistribute.C ├── apps ├── benchmark │ ├── advectorVoF │ │ ├── Make │ │ │ ├── files │ │ │ └── options │ │ ├── advectorVoF.C │ │ ├── alphaCourantNo.H │ │ ├── createFields.H │ │ └── setDeltaT.H │ └── reconstructInterface │ │ ├── Make │ │ ├── files │ │ └── options │ │ └── reconstructInterface.C ├── initAlphaField │ ├── Make │ │ ├── files │ │ └── options │ ├── initAlphaField.C │ └── initAlphaFieldDict └── setFieldfromTable │ ├── Make │ ├── files │ └── options │ ├── setFieldfromTable.C │ └── setFieldfromTableDict ├── bin ├── dhiFoamTools └── downloadMeshes ├── doc ├── AMR.gif ├── AMR_interpol.gif ├── depthCharge.gif ├── initAlphaField.png └── interfaceComparision.png ├── run ├── benchmark │ ├── Advection │ │ ├── deformationSphere │ │ │ ├── Allrun │ │ │ ├── E1 │ │ │ ├── baseCase │ │ │ │ ├── 0.org │ │ │ │ │ ├── U │ │ │ │ │ ├── alpha.water │ │ │ │ │ └── p_rgh │ │ │ │ ├── Allclean │ │ │ │ ├── Allrun │ │ │ │ ├── constant │ │ │ │ │ ├── g │ │ │ │ │ ├── transportProperties │ │ │ │ │ └── turbulenceProperties │ │ │ │ ├── cube.fms │ │ │ │ ├── error.dat │ │ │ │ ├── generateUDeform │ │ │ │ │ ├── Make │ │ │ │ │ │ ├── files │ │ │ │ │ │ └── options │ │ │ │ │ └── generateUDeform.C │ │ │ │ ├── smearedSphere.foam │ │ │ │ ├── system │ │ │ │ │ ├── blockMeshDict │ │ │ │ │ ├── controlDict │ │ │ │ │ ├── decomposeParDict │ │ │ │ │ ├── fvSchemes │ │ │ │ │ ├── fvSolution │ │ │ │ │ ├── initAlphaFieldDict │ │ │ │ │ ├── meshDict │ │ │ │ │ └── setAlphaFieldDict │ │ │ │ └── triBlock.geo │ │ │ ├── errors2FileTabSepE1 │ │ │ ├── generateCases.sh │ │ │ ├── makeFigures.py │ │ │ ├── makeFigures2.py │ │ │ ├── results │ │ │ │ ├── hex-isoAlpha │ │ │ │ ├── hex-plicRDF │ │ │ │ ├── hex-plicRDFN │ │ │ │ ├── hexData.tex │ │ │ │ ├── poly-isoAlpha │ │ │ │ ├── poly-plicRDF │ │ │ │ ├── poly-plicRDFN │ │ │ │ ├── polyData.tex │ │ │ │ ├── tri-isoAlpha │ │ │ │ ├── tri-plicRDF │ │ │ │ ├── tri-plicRDFN │ │ │ │ └── triData.tex │ │ │ ├── runScanCases.sh │ │ │ ├── runScanCases2.sh │ │ │ ├── runScanCases3.sh │ │ │ ├── tmpfile │ │ │ └── tolatexTable.py │ │ ├── discUniFlowInterpolateNormals │ │ │ ├── Allrun │ │ │ ├── E1 │ │ │ ├── baseCase │ │ │ │ ├── 0.org │ │ │ │ │ ├── U │ │ │ │ │ ├── alpha.water │ │ │ │ │ └── p_rgh │ │ │ │ ├── Allclean │ │ │ │ ├── Allrun │ │ │ │ ├── case.foam │ │ │ │ ├── constant │ │ │ │ │ ├── g │ │ │ │ │ ├── polyMesh │ │ │ │ │ │ └── blockMeshDict │ │ │ │ │ ├── transportProperties │ │ │ │ │ └── turbulenceProperties │ │ │ │ ├── hexSquare.geo │ │ │ │ ├── system │ │ │ │ │ ├── changeDictionaryDict │ │ │ │ │ ├── controlDict │ │ │ │ │ ├── decomposeParDict │ │ │ │ │ ├── fvSchemes │ │ │ │ │ ├── fvSolution │ │ │ │ │ ├── initAlphaFieldDict │ │ │ │ │ ├── isoSurfDict │ │ │ │ │ ├── setAlphaFieldDict │ │ │ │ │ └── topoSetDict │ │ │ │ └── triSquare.geo │ │ │ ├── calcTimes2File │ │ │ ├── errors2FileTabSepE1 │ │ │ ├── generateCases.sh │ │ │ ├── residual.py │ │ │ ├── results │ │ │ │ ├── advectDisc-ResCFL01.eps │ │ │ │ ├── advectDisc-ResCFL05.eps │ │ │ │ ├── advectDisc-hexIsoVsRDF.eps │ │ │ │ ├── advectDisc-polyIsoVsRDF.eps │ │ │ │ ├── advectDisc-triIsoVsRDF.eps │ │ │ │ ├── gnuHexIsovsRDF │ │ │ │ ├── gnuPolyCFL01IsovsRDF │ │ │ │ ├── gnuResCFL01 │ │ │ │ ├── gnuResCFL05 │ │ │ │ ├── gnuTri │ │ │ │ ├── gnuTriIsovsRDF │ │ │ │ ├── hex-RDFCell │ │ │ │ ├── hex-RDFadvect │ │ │ │ ├── hex-isoAlpha │ │ │ │ ├── hex-isoInverseDistance │ │ │ │ ├── hex-plicRDF │ │ │ │ ├── hex-plicRDF-initRes │ │ │ │ ├── hex-plicRDFN │ │ │ │ ├── hex-plicRDFNoInterpol │ │ │ │ ├── hex-plicRDFNoInterpol-initRes │ │ │ │ ├── poly-RDFCell │ │ │ │ ├── poly-RDFadvect │ │ │ │ ├── poly-isoAlpha │ │ │ │ ├── poly-isoInverseDistance │ │ │ │ ├── poly-plicRDF │ │ │ │ ├── poly-plicRDF-initRes │ │ │ │ ├── poly-plicRDFN │ │ │ │ ├── poly-plicRDFNoInterpol │ │ │ │ ├── poly-plicRDFNoInterpol-initRes │ │ │ │ ├── tri-RDFCell │ │ │ │ ├── tri-RDFadvect │ │ │ │ ├── tri-isoAlpha │ │ │ │ ├── tri-isoInverseDistance │ │ │ │ ├── tri-plicRDF │ │ │ │ ├── tri-plicRDF-initRes │ │ │ │ ├── tri-plicRDFN │ │ │ │ ├── tri-plicRDFNoInterpol │ │ │ │ └── tri-plicRDFNoInterpol-initRes │ │ │ ├── runScanCases.sh │ │ │ ├── runScanCases2.sh │ │ │ ├── tmpPost │ │ │ └── tmpfile │ │ ├── discUniFlowNewErrorNorm │ │ │ ├── Allrun │ │ │ ├── E1 │ │ │ ├── baseCase │ │ │ │ ├── 0.org │ │ │ │ │ ├── U │ │ │ │ │ ├── alpha.water │ │ │ │ │ └── p_rgh │ │ │ │ ├── Allclean │ │ │ │ ├── Allrun │ │ │ │ ├── case.foam │ │ │ │ ├── constant │ │ │ │ │ ├── g │ │ │ │ │ ├── polyMesh │ │ │ │ │ │ └── blockMeshDict │ │ │ │ │ ├── transportProperties │ │ │ │ │ └── turbulenceProperties │ │ │ │ ├── hexSquare.geo │ │ │ │ ├── system │ │ │ │ │ ├── changeDictionaryDict │ │ │ │ │ ├── controlDict │ │ │ │ │ ├── decomposeParDict │ │ │ │ │ ├── fvSchemes │ │ │ │ │ ├── fvSolution │ │ │ │ │ ├── initAlphaFieldDict │ │ │ │ │ ├── isoSurfDict │ │ │ │ │ ├── setAlphaFieldDict │ │ │ │ │ └── topoSetDict │ │ │ │ └── triSquare.geo │ │ │ ├── calcTimes2File │ │ │ ├── errors2FileTabSepE1 │ │ │ ├── errors2FileTabSepRes │ │ │ ├── generateCases.sh │ │ │ ├── residual.py │ │ │ ├── results │ │ │ │ ├── advectDisc-hexIsoVsRDF.eps │ │ │ │ ├── advectDisc-polyIsoVsRDF.eps │ │ │ │ ├── advectDisc-triIsoVsRDF.eps │ │ │ │ ├── gnuHexIsovsRDF │ │ │ │ ├── gnuPolyCFL01IsovsRDF │ │ │ │ ├── gnuTri │ │ │ │ ├── gnuTriIsovsRDF │ │ │ │ ├── hex-isoAlpha │ │ │ │ ├── hex-plicRDF │ │ │ │ ├── poly-isoAlpha │ │ │ │ ├── poly-plicRDF │ │ │ │ ├── tri-isoAlpha │ │ │ │ └── tri-plicRDF │ │ │ ├── runScanCases.sh │ │ │ ├── runScanCases2.sh │ │ │ ├── tmpPost │ │ │ ├── tmpfile │ │ │ └── tolatexTable.py │ │ ├── rotationSphereInBox │ │ │ ├── E1 │ │ │ ├── baseCase │ │ │ │ ├── 0.org │ │ │ │ │ ├── U │ │ │ │ │ ├── alpha.water │ │ │ │ │ └── p_rgh │ │ │ │ ├── Allclean │ │ │ │ ├── Allrun │ │ │ │ ├── constant │ │ │ │ │ ├── g │ │ │ │ │ ├── transportProperties │ │ │ │ │ └── turbulenceProperties │ │ │ │ ├── cube.fms │ │ │ │ ├── error.dat │ │ │ │ ├── generateURot │ │ │ │ │ ├── Make │ │ │ │ │ │ ├── files │ │ │ │ │ │ └── options │ │ │ │ │ └── generateURot.C │ │ │ │ ├── smearedSphere.foam │ │ │ │ ├── system │ │ │ │ │ ├── blockMeshDict │ │ │ │ │ ├── controlDict │ │ │ │ │ ├── decomposeParDict │ │ │ │ │ ├── fvSchemes │ │ │ │ │ ├── fvSolution │ │ │ │ │ ├── initAlphaFieldDict │ │ │ │ │ ├── meshDict │ │ │ │ │ └── setAlphaFieldDict │ │ │ │ └── triBlock.geo │ │ │ ├── errors2FileTabSepE1 │ │ │ ├── generateCases.sh │ │ │ ├── results │ │ │ │ ├── .ipynb_checkpoints │ │ │ │ │ ├── Untitled-checkpoint.ipynb │ │ │ │ │ └── tolatexTable-checkpoint.ipynb │ │ │ │ ├── Untitled.ipynb │ │ │ │ ├── hex-isoAlpha │ │ │ │ ├── hex-plicRDF │ │ │ │ ├── hex-plicRDFN │ │ │ │ ├── hexData.tex │ │ │ │ ├── latexTab.tex │ │ │ │ ├── poly-isoAlpha │ │ │ │ ├── poly-plicRDF │ │ │ │ ├── poly-plicRDFN │ │ │ │ ├── polyData.tex │ │ │ │ ├── test.tex │ │ │ │ ├── tolatexTable.ipynb │ │ │ │ ├── tri-isoAlpha │ │ │ │ ├── tri-plicRDF │ │ │ │ ├── tri-plicRDFN │ │ │ │ └── triData.tex │ │ │ ├── runScanCases2.sh │ │ │ ├── runScanCases3.sh │ │ │ ├── tmpfile │ │ │ └── tolatexTable.py │ │ ├── vortexShearedDisc │ │ │ ├── Allclean │ │ │ ├── Allrun │ │ │ ├── E1 │ │ │ ├── allOptions1 │ │ │ ├── as.csv │ │ │ ├── as.tex │ │ │ ├── baseCase │ │ │ │ ├── 0.org │ │ │ │ │ ├── U │ │ │ │ │ ├── alpha.water │ │ │ │ │ └── p_rgh │ │ │ │ ├── Allclean │ │ │ │ ├── Allrun │ │ │ │ ├── case.foam │ │ │ │ ├── constant │ │ │ │ │ ├── g │ │ │ │ │ ├── transportProperties │ │ │ │ │ └── turbulenceProperties │ │ │ │ ├── generateUVortex2D │ │ │ │ │ ├── Make │ │ │ │ │ │ ├── files │ │ │ │ │ │ └── options │ │ │ │ │ └── generateUVortex2D.C │ │ │ │ ├── system │ │ │ │ │ ├── blockMeshDict │ │ │ │ │ ├── changeDictionaryDict │ │ │ │ │ ├── controlDict │ │ │ │ │ ├── decomposeParDict │ │ │ │ │ ├── fvSchemes │ │ │ │ │ ├── fvSolution │ │ │ │ │ ├── initAlphaFieldDict │ │ │ │ │ ├── setAlphaFieldDict │ │ │ │ │ └── topoSetDict │ │ │ │ └── triSquare.geo │ │ │ ├── calcTimes2File │ │ │ ├── errors2FileTabSepE1 │ │ │ ├── generateCases.sh │ │ │ ├── input.py │ │ │ ├── makeFigures │ │ │ ├── makeFigures.py │ │ │ ├── results │ │ │ │ ├── hex-isoAlpha │ │ │ │ ├── hex-plicRDF │ │ │ │ ├── hexData.tex │ │ │ │ ├── poly-isoAlpha │ │ │ │ ├── poly-plicRDF │ │ │ │ ├── polyData.tex │ │ │ │ ├── tri-isoAlpha │ │ │ │ ├── tri-plicRDF │ │ │ │ └── triData.tex │ │ │ ├── runScanCases2.sh │ │ │ ├── tmpfile │ │ │ ├── tolatexTable.py │ │ │ ├── vortexShearedDisc.pvsm │ │ │ └── vortexShearedDiscisoFaces.pvsm │ │ └── vortexShearedSphere │ │ │ ├── E1 │ │ │ ├── baseCase │ │ │ ├── 0.org │ │ │ │ ├── U │ │ │ │ ├── alpha.water │ │ │ │ ├── p │ │ │ │ └── p_rgh │ │ │ ├── Allclean │ │ │ ├── Allrun │ │ │ ├── constant │ │ │ │ ├── g │ │ │ │ ├── transportProperties │ │ │ │ └── turbulenceProperties │ │ │ ├── cube.fms │ │ │ ├── error.dat │ │ │ ├── generateU │ │ │ │ ├── Make │ │ │ │ │ ├── files │ │ │ │ │ └── options │ │ │ │ ├── generateU │ │ │ │ └── generateU.C │ │ │ ├── smearedSphere.foam │ │ │ ├── system │ │ │ │ ├── blockMeshDict │ │ │ │ ├── controlDict │ │ │ │ ├── decomposeParDict │ │ │ │ ├── fvSchemes │ │ │ │ ├── fvSolution │ │ │ │ ├── initAlphaFieldDict │ │ │ │ ├── meshDict │ │ │ │ └── setAlphaFieldDict │ │ │ └── triBlock.geo │ │ │ ├── errors2FileTabSepE1 │ │ │ ├── generateCases.sh │ │ │ ├── makeFigures.py │ │ │ ├── results │ │ │ ├── hex-isoAlpha │ │ │ ├── hex-plicRDF │ │ │ ├── hex-plicRDFN │ │ │ ├── hexData.tex │ │ │ ├── poly-isoAlpha │ │ │ ├── poly-plicRDF │ │ │ ├── poly-plicRDFN │ │ │ ├── polyData.tex │ │ │ ├── tri-isoAlpha │ │ │ ├── tri-plicRDF │ │ │ ├── tri-plicRDFN │ │ │ └── triData.tex │ │ │ ├── runScanCases.sh │ │ │ ├── runScanCases2.sh │ │ │ ├── runScanCases3.sh │ │ │ ├── tmpfile │ │ │ └── tolatexTable.py │ └── Recon │ │ ├── Recon2D │ │ ├── Allclean │ │ ├── Allrun │ │ ├── E1 │ │ ├── baseCase │ │ │ ├── 0.org │ │ │ │ ├── U │ │ │ │ ├── alpha1 │ │ │ │ └── p_rgh │ │ │ ├── Allclean │ │ │ ├── Allrun │ │ │ ├── constant │ │ │ │ ├── g │ │ │ │ ├── polyMesh │ │ │ │ │ └── blockMeshDict │ │ │ │ ├── transportProperties │ │ │ │ └── turbulenceProperties │ │ │ ├── system │ │ │ │ ├── changeDictionaryDict │ │ │ │ ├── controlDict │ │ │ │ ├── decomposeParDict │ │ │ │ ├── fvSchemes │ │ │ │ ├── fvSolution │ │ │ │ ├── initAlphaFieldDict │ │ │ │ ├── perfectVOFDict │ │ │ │ ├── setAlphaFieldDict │ │ │ │ └── topoSetDict │ │ │ ├── test.foam │ │ │ ├── touch │ │ │ ├── triSquare.geo │ │ │ └── triSquare.msh │ │ ├── errors2FileTabSepE1 │ │ ├── generateIterCases.sh │ │ ├── generateScanCases.sh │ │ ├── ofset │ │ ├── ofset2 │ │ ├── results │ │ │ ├── Recon-Circle-hex-pos.eps │ │ │ ├── Recon-Circle-hex.eps │ │ │ ├── Recon-Circle-poly-pos.eps │ │ │ ├── Recon-Circle-poly.eps │ │ │ ├── Recon-Circle-tri-pos.eps │ │ │ ├── Recon-Circle-tri_iter.eps │ │ │ ├── gnuHex │ │ │ ├── gnuHexPos │ │ │ ├── gnuPoly │ │ │ ├── gnuPolyPos │ │ │ ├── gnuTri │ │ │ ├── gnuTriPos │ │ │ ├── gnuTri_iter │ │ │ ├── hex-isoAlpha │ │ │ ├── hex-isoRDF │ │ │ ├── hex-plicRDF │ │ │ ├── poly-isoAlpha │ │ │ ├── poly-isoRDF │ │ │ ├── poly-plicRDF │ │ │ ├── tri-isoAlpha │ │ │ ├── tri-isoRDF │ │ │ └── tri-plicRDF │ │ ├── runScanCases.sh │ │ └── runScanCases2.sh │ │ ├── Recon3D │ │ ├── Allclean │ │ ├── Allrun │ │ ├── E1 │ │ ├── baseCase │ │ │ ├── 0.org │ │ │ │ ├── U │ │ │ │ ├── alpha.water │ │ │ │ ├── alpha1 │ │ │ │ └── p_rgh │ │ │ ├── Allclean │ │ │ ├── Allrun │ │ │ ├── constant │ │ │ │ ├── g │ │ │ │ ├── polyMesh │ │ │ │ │ └── blockMeshDict │ │ │ │ ├── transportProperties │ │ │ │ └── turbulenceProperties │ │ │ ├── cube.fms │ │ │ ├── hexBlock.geo │ │ │ ├── system │ │ │ │ ├── changeDictionaryDict │ │ │ │ ├── controlDict │ │ │ │ ├── cube.fms │ │ │ │ ├── decomposeParDict │ │ │ │ ├── fvSchemes │ │ │ │ ├── fvSolution │ │ │ │ ├── initAlphaFieldDict │ │ │ │ ├── isoSurfDict │ │ │ │ ├── meshDict │ │ │ │ ├── perfectVOFDict │ │ │ │ ├── setAlphaFieldDict │ │ │ │ └── topoSetDict │ │ │ ├── test.foam │ │ │ ├── touch │ │ │ └── triBlock.geo │ │ ├── errors2FileTabSepE1 │ │ ├── generateScanCases.sh │ │ ├── ofset │ │ ├── ofset2 │ │ ├── results │ │ │ ├── CPUTimesTable.py │ │ │ ├── Recon3D-Circle-hex-pos.eps │ │ │ ├── Recon3D-Circle-hex.eps │ │ │ ├── Recon3D-Circle-poly-pos.eps │ │ │ ├── Recon3D-Circle-poly.eps │ │ │ ├── Recon3D-Circle-tri-pos.eps │ │ │ ├── Recon3D-Circle-tri.eps │ │ │ ├── gnuHex │ │ │ ├── gnuHexPos │ │ │ ├── gnuPoly │ │ │ ├── gnuPolyPos │ │ │ ├── gnuTri │ │ │ ├── gnuTriPos │ │ │ ├── hex-gradAlpha │ │ │ ├── hex-isoAlpha │ │ │ ├── hex-isoRDF │ │ │ ├── hex-isoRDF2 │ │ │ ├── hex-plicRDF │ │ │ ├── isoRDFCompare.py │ │ │ ├── latexTab.tex │ │ │ ├── latexTab2.tex │ │ │ ├── latexTabisoRDF.tex │ │ │ ├── poly-gradAlpha │ │ │ ├── poly-isoAlpha │ │ │ ├── poly-isoRDF │ │ │ ├── poly-isoRDF2 │ │ │ ├── poly-plicRDF │ │ │ ├── test.tex │ │ │ ├── tri-gradAlpha │ │ │ ├── tri-isoAlpha │ │ │ ├── tri-isoRDF │ │ │ ├── tri-isoRDF2 │ │ │ └── tri-plicRDF │ │ └── runScanCases2.sh │ │ ├── ReconCompare2D │ │ ├── Allclean │ │ ├── Allrun │ │ ├── E1 │ │ ├── baseCase │ │ │ ├── 0.org │ │ │ │ ├── U │ │ │ │ ├── alpha1 │ │ │ │ └── p_rgh │ │ │ ├── Allclean │ │ │ ├── Allrun │ │ │ ├── constant │ │ │ │ ├── g │ │ │ │ ├── polyMesh │ │ │ │ │ └── blockMeshDict │ │ │ │ ├── transportProperties │ │ │ │ └── turbulenceProperties │ │ │ ├── system │ │ │ │ ├── changeDictionaryDict │ │ │ │ ├── controlDict │ │ │ │ ├── decomposeParDict │ │ │ │ ├── fvSchemes │ │ │ │ ├── fvSolution │ │ │ │ ├── initAlphaFieldDict │ │ │ │ ├── perfectVOFDict │ │ │ │ ├── setAlphaFieldDict │ │ │ │ └── topoSetDict │ │ │ ├── test.foam │ │ │ ├── touch │ │ │ ├── triSquare.geo │ │ │ └── triSquare.msh │ │ ├── errors2FileTabSepE1 │ │ ├── generateScanCases.sh │ │ ├── ofset │ │ ├── ofset2 │ │ ├── results │ │ │ ├── DataIto │ │ │ │ ├── GLS.dat │ │ │ │ ├── HF.dat │ │ │ │ ├── L1TriIto.PNG │ │ │ │ └── PY.dat │ │ │ ├── DataIveyMoin │ │ │ │ ├── hexCyl │ │ │ │ │ ├── EHF.dat │ │ │ │ │ ├── EHFHexCyl.csv │ │ │ │ │ ├── HexaHedraCyl.PNG │ │ │ │ │ ├── LVIRA.dat │ │ │ │ │ ├── LVIRAHexCyl.csv │ │ │ │ │ ├── PY.dat │ │ │ │ │ └── PyHexCyl.csv │ │ │ │ ├── hexSphere │ │ │ │ │ ├── EHF.dat │ │ │ │ │ ├── EHFHexSphere.csv │ │ │ │ │ ├── HexaHedraSphere.PNG │ │ │ │ │ ├── LVIRA.dat │ │ │ │ │ ├── LVIRAHexSphere.csv │ │ │ │ │ ├── PY.dat │ │ │ │ │ └── PYHexSphere.csv │ │ │ │ ├── tetSphere │ │ │ │ │ ├── EHF.dat │ │ │ │ │ ├── EHFTetSphere.csv │ │ │ │ │ ├── LVIRA.dat │ │ │ │ │ ├── LVIRATetSphere.csv │ │ │ │ │ ├── PY.dat │ │ │ │ │ ├── PYTetSphere.csv │ │ │ │ │ └── TetsSphere.PNG │ │ │ │ └── wedgeCyl │ │ │ │ │ ├── EHF.dat │ │ │ │ │ ├── EHFWedgeCyl.csv │ │ │ │ │ ├── LVIRA.csv │ │ │ │ │ ├── LVIRA.dat │ │ │ │ │ ├── LVIRAWedgeCyl.csv │ │ │ │ │ ├── PY.dat │ │ │ │ │ ├── PYHexCyl.csv │ │ │ │ │ └── WedgeCyl.PNG │ │ │ ├── IveyMoin │ │ │ │ ├── EHF.dat │ │ │ │ ├── EHFHexCyl.dat │ │ │ │ ├── LVIRAHexCyl.dat │ │ │ │ ├── Lvira.dat │ │ │ │ ├── PY.dat │ │ │ │ └── PyHexCyl.dat │ │ │ ├── Recon-Comp-tri.eps │ │ │ ├── gnuHex │ │ │ ├── gnuPoly │ │ │ ├── gnuRDFCell_Hex_iter │ │ │ ├── gnuRDFCell_Poly_iter │ │ │ ├── gnuRDFCell_Tri_iter │ │ │ ├── gnuRDF_Hex_iter │ │ │ ├── gnuRDF_Poly_iter │ │ │ ├── gnuRDF_Tri_iter │ │ │ ├── gnuTri │ │ │ ├── gnuTriPos │ │ │ ├── gnuTri_iter │ │ │ ├── tri-isoAlpha │ │ │ ├── tri-isoRDF │ │ │ └── tri-plicRDF │ │ └── runScanCases2.sh │ │ └── ReconCompare3D │ │ ├── Allclean │ │ ├── Allrun │ │ ├── E1 │ │ ├── baseCase │ │ ├── 0.org │ │ │ ├── U │ │ │ ├── alpha.water │ │ │ ├── alpha1 │ │ │ └── p_rgh │ │ ├── Allclean │ │ ├── Allrun │ │ ├── constant │ │ │ ├── g │ │ │ ├── polyMesh │ │ │ │ └── blockMeshDict │ │ │ ├── transportProperties │ │ │ └── turbulenceProperties │ │ ├── hexBlock.geo │ │ ├── system │ │ │ ├── changeDictionaryDict │ │ │ ├── controlDict │ │ │ ├── decomposeParDict │ │ │ ├── fvSchemes │ │ │ ├── fvSolution │ │ │ ├── initAlphaFieldDict │ │ │ ├── isoSurfDict │ │ │ ├── perfectVOFDict │ │ │ ├── setAlphaFieldDict │ │ │ └── topoSetDict │ │ ├── test.foam │ │ ├── touch │ │ └── triBlock.geo │ │ ├── errors2FileTabSepE1 │ │ ├── generateScanCases.sh │ │ ├── ofset │ │ ├── ofset2 │ │ ├── results │ │ ├── DataIveyMoin │ │ │ ├── hexCyl │ │ │ │ ├── EHF.dat │ │ │ │ ├── EHFHexCyl.csv │ │ │ │ ├── HexaHedraCyl.PNG │ │ │ │ ├── LVIRA.dat │ │ │ │ ├── LVIRAHexCyl.csv │ │ │ │ ├── PY.dat │ │ │ │ └── PyHexCyl.csv │ │ │ ├── hexSphere │ │ │ │ ├── EHF.dat │ │ │ │ ├── EHFHexSphere.csv │ │ │ │ ├── HexaHedraSphere.PNG │ │ │ │ ├── LVIRA.dat │ │ │ │ ├── LVIRAHexSphere.csv │ │ │ │ ├── PY.dat │ │ │ │ └── PYHexSphere.csv │ │ │ ├── tetSphere │ │ │ │ ├── EHF.dat │ │ │ │ ├── EHFTetSphere.csv │ │ │ │ ├── LVIRA.dat │ │ │ │ ├── LVIRATetSphere.csv │ │ │ │ ├── PY.dat │ │ │ │ ├── PYTetSphere.csv │ │ │ │ └── TetsSphere.PNG │ │ │ └── wedgeCyl │ │ │ │ ├── EHF.dat │ │ │ │ ├── EHFWedgeCyl.csv │ │ │ │ ├── LVIRA.csv │ │ │ │ ├── LVIRA.dat │ │ │ │ ├── LVIRAWedgeCyl.csv │ │ │ │ ├── PY.dat │ │ │ │ ├── PYHexCyl.csv │ │ │ │ └── WedgeCyl.PNG │ │ ├── Recon3D-Comp-hex.eps │ │ ├── gnuCompareGradSchemes │ │ ├── gnuCompareResults │ │ ├── gnuHex │ │ ├── gnuPoly │ │ ├── gnuRDFCell_Hex_iter │ │ ├── gnuRDFCell_Poly_iter │ │ ├── gnuRDFCell_Tri_iter │ │ ├── gnuRDF_Hex_iter │ │ ├── gnuRDF_Poly_iter │ │ ├── gnuRDF_Tri_iter │ │ ├── gnuTri │ │ ├── gnuTriPos │ │ ├── hex-isoAlpha │ │ ├── hex-isoRDF │ │ └── hex-plicRDF │ │ └── runScanCases2.sh ├── damBreak │ ├── 0.orig │ │ ├── U │ │ ├── alpha.water │ │ └── p_rgh │ ├── Allclean │ ├── Allrun │ ├── Allrun-parallel │ ├── constant │ │ ├── dynamicMeshDict │ │ ├── g │ │ ├── transportProperties │ │ └── turbulenceProperties │ └── system │ │ ├── blockMeshDict │ │ ├── controlDict │ │ ├── decomposeParDict │ │ ├── fvSchemes │ │ ├── fvSolution │ │ └── setFieldsDict ├── depthCharge2D │ ├── 0.orig │ │ ├── T │ │ ├── U │ │ ├── alpha.water │ │ ├── p │ │ └── p_rgh │ ├── Allclean │ ├── Allrun │ ├── constant │ │ ├── g │ │ ├── thermophysicalProperties │ │ ├── thermophysicalProperties.air │ │ ├── thermophysicalProperties.water │ │ └── turbulenceProperties │ └── system │ │ ├── blockMeshDict │ │ ├── controlDict │ │ ├── fvSchemes │ │ ├── fvSolution │ │ └── setFieldsDict ├── discInConstantFlow │ ├── 0.orig │ │ ├── U │ │ ├── alpha.water │ │ └── p_rgh │ ├── Allclean │ ├── Allrun │ ├── constant │ │ ├── g │ │ ├── transportProperties │ │ └── turbulenceProperties │ ├── discInConstantFlow.foam │ └── system │ │ ├── blockMeshDict │ │ ├── controlDict │ │ ├── fvSchemes │ │ ├── fvSolution │ │ └── setAlphaFieldDict ├── discInReversedVortexFlow │ ├── 0.orig │ │ ├── U │ │ ├── alpha.water │ │ └── p_rgh │ ├── Allclean │ ├── Allrun │ ├── constant │ │ ├── g │ │ ├── transportProperties │ │ └── turbulenceProperties │ ├── discInReversedVortexFlow.foam │ └── system │ │ ├── blockMeshDict │ │ ├── controlDict │ │ ├── decomposeParDict │ │ ├── fvSchemes │ │ ├── fvSolution │ │ ├── refineMeshDict │ │ ├── setAlphaFieldDict │ │ ├── topoSetDict │ │ └── topoSetDict2 └── standingWave │ ├── 0.orig │ ├── U │ ├── alpha.water │ └── p_rgh │ ├── Allclean │ ├── Allrun │ ├── constant │ ├── dynamicMeshDict │ ├── g │ ├── transportProperties │ └── turbulenceProperties │ ├── standingWave.foam │ └── system │ ├── blockMeshDict │ ├── controlDict │ ├── decomposeParDict │ ├── fvSchemes │ ├── fvSolution │ ├── refineMeshDict1 │ ├── refineMeshDict2 │ ├── setAlphaFieldDict │ ├── topoSetDict1 │ └── topoSetDict2 ├── solver ├── compressibleInterFlow │ ├── Make │ │ ├── files │ │ └── options │ ├── TEqn.H │ ├── UEqn.H │ ├── alphaControls.H │ ├── alphaCourantNo.H │ ├── alphaEqn.H │ ├── alphaSuSp.H │ ├── compressibleAlphaEqnSubCycle.H │ ├── compressibleInterFlow.C │ ├── correctPhi.H │ ├── createAlphaFluxes.H │ ├── createFields.H │ ├── pEqn.H │ └── rhofs.H └── interFlow │ ├── Make │ ├── files │ └── options │ ├── UEqn.H │ ├── alphaControls.H │ ├── alphaCourantNo.H │ ├── alphaEqn.H │ ├── alphaEqnSubCycle.H │ ├── correctPhi.H │ ├── createFields.H │ ├── createIsoAdvection.H │ ├── initCorrectPhi.H │ ├── interFlow.C │ ├── pEqn.H │ ├── rhofs.H │ └── setDeltaT.H └── src ├── VoF ├── Make │ ├── files │ └── options ├── advectionSchemes │ ├── MULES │ │ ├── MULESScheme.C │ │ └── MULESScheme.H │ ├── advectionSchemes.C │ ├── advectionSchemes.H │ ├── isoAdvection │ │ ├── isoAdvection.C │ │ ├── isoAdvection.H │ │ └── isoAdvectionTemplates.C │ └── newAdvectionSchemes.C ├── cellCuts │ ├── cutCell │ │ ├── cutCell.C │ │ ├── cutCell.H │ │ ├── cutCellIso.C │ │ ├── cutCellIso.H │ │ ├── cutCellPLIC.C │ │ └── cutCellPLIC.H │ └── cutFace │ │ ├── cutFace.C │ │ ├── cutFace.H │ │ ├── cutFaceAdvect.C │ │ ├── cutFaceAdvect.H │ │ ├── cutFaceIso.C │ │ ├── cutFaceIso.H │ │ ├── cutFacePLIC.C │ │ └── cutFacePLIC.H ├── implicitFunctions │ ├── composedFunction │ │ ├── composedFunctionImplicitFunction.C │ │ └── composedFunctionImplicitFunction.H │ ├── cylinder │ │ ├── cylinderImplicitFunction.C │ │ └── cylinderImplicitFunction.H │ ├── ellipsoid │ │ ├── ellipsoidImplicitFunction.C │ │ └── ellipsoidImplicitFunction.H │ ├── implicitFunction.C │ ├── implicitFunction.H │ ├── paraboloid │ │ ├── paraboloidImplicitFunction.C │ │ └── paraboloidImplicitFunction.H │ ├── plane │ │ ├── planeImplicitFunction.C │ │ └── planeImplicitFunction.H │ ├── sin │ │ ├── sinImplicitFunction.C │ │ └── sinImplicitFunction.H │ └── sphere │ │ ├── sphereImplicitFunction.C │ │ └── sphereImplicitFunction.H ├── markInterfaceRegion │ ├── markInterfaceRegion.C │ └── markInterfaceRegion.H ├── multiDimPolyFitter │ ├── leastSquareFitParabolid.C │ ├── leastSquareFitParabolid.H │ ├── leastSquareGrad.C │ ├── leastSquareGrad.H │ ├── leastSquareInterpolate.C │ ├── leastSquareInterpolate.H │ ├── multiDimPolyFitter.C │ ├── multiDimPolyFitter.H │ └── multiDimPolyFunctions │ │ ├── multiDimPolyFunctions.C │ │ ├── multiDimPolyFunctions.H │ │ ├── polyDegree1.C │ │ ├── polyDegree1.H │ │ ├── polyDegree2.C │ │ └── polyDegree2.H ├── reconstructedDistanceFunction │ ├── reconstructedDistanceFunction.C │ └── reconstructedDistanceFunction.H ├── reconstructionSchemes │ ├── isoSchemes │ │ ├── isoAlpha │ │ │ ├── isoAlpha.C │ │ │ └── isoAlpha.H │ │ └── isoRDF │ │ │ ├── isoRDF.C │ │ │ └── isoRDF.H │ ├── newReconstructionSchemes.C │ ├── plicSchemes │ │ ├── gradAlpha │ │ │ ├── gradAlpha.C │ │ │ └── gradAlpha.H │ │ └── plicRDF │ │ │ ├── plicRDF.C │ │ │ └── plicRDF.H │ ├── reconstructionSchemes.C │ └── reconstructionSchemes.H ├── surfaceIterators │ ├── surfaceIteratorIso.C │ ├── surfaceIteratorIso.H │ ├── surfaceIteratorPLIC.C │ └── surfaceIteratorPLIC.H └── zoneDistribute │ ├── zoneDistribute.C │ ├── zoneDistribute.H │ ├── zoneDistributeI.H │ ├── zoneDistributePoints.C │ ├── zoneDistributePoints.H │ ├── zoneDistributePointsI.H │ └── zoneStencils │ ├── zoneCPCStencil.C │ ├── zoneCPCStencil.H │ ├── zoneCellStencils.C │ └── zoneCellStencils.H └── postProcessing ├── Make ├── files └── options ├── interface ├── interface.C ├── interface.H ├── interfaceTemplates.C ├── sampledInterface.C ├── sampledInterface.H └── sampledInterfaceTemplates.C ├── interfaceRegion ├── interfaceRegion.C └── interfaceRegion.H ├── reconstructionError ├── reconstructionError.C └── reconstructionError.H └── volumeFractionError ├── volumeFractionError.C └── volumeFractionError.H /Allwclean: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd ${0%/*} || exit 1 # run from this directory 3 | 4 | 5 | wclean all src/ 6 | wclean all libs/ 7 | wclean all solver/ 8 | wclean all apps/ 9 | 10 | -------------------------------------------------------------------------------- /Allwmake: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd ${0%/*} || exit 1 # run from this directory 3 | 4 | wmake libso src/VoF 5 | wmake libso src/postProcessing 6 | 7 | wmake apps/setFieldfromTable 8 | wmake apps/initAlphaField 9 | 10 | wmake apps/benchmark/advectorVoF 11 | wmake apps/benchmark/reconstructInterface 12 | 13 | wmake solver/interFlow 14 | wmake solver/compressibleInterFlow 15 | -------------------------------------------------------------------------------- /Tests/test-alphaInit/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # Run from this directory 3 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions # Tutorial clean functions 4 | 5 | cleanCase0 6 | rm -rf processor* 7 | 8 | #------------------------------------------------------------------------------ 9 | -------------------------------------------------------------------------------- /Tests/test-alphaInit/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd ${0%/*} || exit 1 # Run from this directory 3 | . $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions 4 | 5 | runApplication blockMesh 6 | #runApplication refineMesh -overwrite 7 | touch test-initAlphaField.foam 8 | restore0Dir 9 | runApplication initAlphaField 10 | #runApplication decomposePar 11 | #runParallel $(getApplication) 12 | #runApplication reconstructPar 13 | 14 | #------------------------------------------------------------------------------ 15 | -------------------------------------------------------------------------------- /Tests/test-alphaInit/Allrun_Slurm: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | #SBATCH --job-name=test 4 | #SBATCH --output=res.txt 5 | # 6 | ####SBATCH --nodes=2 7 | #SBATCH --ntasks=64 8 | 9 | mpiexec compressibleInterFoam -parallel 10 | #reconstructPar 11 | #sleep 2 12 | -------------------------------------------------------------------------------- /Tests/test-alphaInit/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1806 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | value (0 -9.81 0); 20 | 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /Tests/test-alphaInit/constant/thermophysicalProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1806 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object thermophysicalProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | phases (water air); 19 | 20 | pMin 10000; 21 | 22 | sigma 0.07; 23 | 24 | // ************************************************************************* // 25 | -------------------------------------------------------------------------------- /Tests/test-alphaInit/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1806 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType laminar; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /Tests/test-alphaInit/p.csv: -------------------------------------------------------------------------------- 1 | -1,0 2 | 0,1 3 | 0.1,2 4 | 0.2,4 5 | 0.4,7 6 | 100,8 -------------------------------------------------------------------------------- /Tests/test-leastSquareGrad/Make/files: -------------------------------------------------------------------------------- 1 | test-leastSquareGrad.C 2 | 3 | EXE = $(FOAM_USER_APPBIN)/test-leastSquareGrad 4 | -------------------------------------------------------------------------------- /Tests/test-leastSquareGrad/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 3 | -I$(LIB_SRC)/meshTools/lnInclude \ 4 | -I$(LIB_SRC)/sampling/lnInclude \ 5 | -I../../../src/multiDimPolyFitter/lnInclude 6 | 7 | EXE_LIBS = \ 8 | -L$(FOAM_USER_LIBBIN) \ 9 | -lmultiDimPolyFitter \ 10 | -lfiniteVolume \ 11 | -lmeshTools \ 12 | -lsampling 13 | -------------------------------------------------------------------------------- /Tests/test-multiDimPolyFitter/Make/files: -------------------------------------------------------------------------------- 1 | test-multiDimPolyFitter.C 2 | 3 | EXE = $(FOAM_USER_APPBIN)/test-multiDimPolyFitter 4 | -------------------------------------------------------------------------------- /Tests/test-multiDimPolyFitter/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 3 | -I$(LIB_SRC)/meshTools/lnInclude \ 4 | -I$(LIB_SRC)/sampling/lnInclude \ 5 | -I../../../src/multiDimPolyFitter/lnInclude 6 | 7 | EXE_LIBS = \ 8 | -L$(FOAM_USER_LIBBIN) \ 9 | -lmultiDimPolyFitter \ 10 | -lfiniteVolume \ 11 | -lmeshTools \ 12 | -lsampling 13 | -------------------------------------------------------------------------------- /Tests/test-reconstructedDistanceFunction/Make/files: -------------------------------------------------------------------------------- 1 | test-reconstructedDistanceFunction.C 2 | 3 | EXE = $(FOAM_USER_APPBIN)/test-reconstructedDistanceFunction 4 | -------------------------------------------------------------------------------- /Tests/test-reconstructedDistanceFunction/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 3 | -I$(LIB_SRC)/meshTools/lnInclude \ 4 | -I$(LIB_SRC)/sampling/lnInclude \ 5 | -I../../../src/reconstructedDistanceFunction/lnInclude \ 6 | -I../../../src/zoneDistribute/lnInclude \ 7 | -I../../../src/VoF/lnInclude 8 | 9 | EXE_LIBS = \ 10 | -L$(FOAM_USER_LIBBIN) \ 11 | -lreconstructedDistanceFunction \ 12 | -lVoF \ 13 | -lzoneDistribute \ 14 | -lfiniteVolume \ 15 | -lmeshTools \ 16 | -lsampling -------------------------------------------------------------------------------- /Tests/test-reconstructedDistanceFunction/test-reconDistFunc/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # Run from this directory 3 | 4 | # Source tutorial clean functions 5 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 6 | 7 | cleanCase0 8 | -------------------------------------------------------------------------------- /Tests/test-reconstructedDistanceFunction/test-reconDistFunc/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 4 | 5 | restore0Dir 6 | touch Test-reconDistFunc.foam 7 | runApplication blockMesh 8 | runApplication initAlphaField 9 | runApplication test-reconstructedDistanceFunction 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Tests/test-reconstructedDistanceFunction/test-reconDistFunc/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | value ( 0 -9.81 0 ); 20 | 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /Tests/test-reconstructedDistanceFunction/test-reconDistFunc/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType laminar; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /Tests/test-reconstructedDistanceFunction/test-reconDistFunc/system/isoSurfDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | field "alpha1"; 19 | centre (0.51 0.51 0.51); 20 | type sphere; 21 | radius 0.25; 22 | 23 | 24 | 25 | 26 | // ************************************************************************* // 27 | -------------------------------------------------------------------------------- /Tests/test-reconstructedDistanceFunction/test-reconDistFunc/system/setAlphaFieldDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | field "alpha1"; 19 | centre (0.49 0.0 0.0); 20 | type plane; 21 | direction (1 0 0); 22 | 23 | 24 | // ************************************************************************* // 25 | -------------------------------------------------------------------------------- /Tests/test-zoneDistribute/Make/files: -------------------------------------------------------------------------------- 1 | test-zoneDistribute.C 2 | 3 | EXE = $(FOAM_USER_APPBIN)/test-zoneDistribute 4 | -------------------------------------------------------------------------------- /Tests/test-zoneDistribute/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I../../../src/VoF/lnInclude \ 3 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 4 | -I$(LIB_SRC)/meshTools/lnInclude \ 5 | -I$(LIB_SRC)/surfMesh/lnInclude \ 6 | -I$(LIB_SRC)/fileFormats/lnInclude \ 7 | -I$(LIB_SRC)/triSurface/lnInclude \ 8 | -I$(LIB_SRC)/sampling/lnInclude 9 | 10 | EXE_LIBS = \ 11 | -L$(FOAM_USER_LIBBIN) \ 12 | -lfiniteVolume \ 13 | -lsurfMesh \ 14 | -lVoF \ 15 | -lfileFormats \ 16 | -lmeshTools \ 17 | -lsampling 18 | -------------------------------------------------------------------------------- /apps/benchmark/advectorVoF/Make/files: -------------------------------------------------------------------------------- 1 | advectorVoF.C 2 | 3 | EXE = $(FOAM_USER_APPBIN)/advectorVoF 4 | -------------------------------------------------------------------------------- /apps/benchmark/advectorVoF/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I../../../src/VoF/lnInclude \ 3 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 4 | -I$(LIB_SRC)/meshTools/lnInclude \ 5 | -I$(LIB_SRC)/sampling/lnInclude \ 6 | -I$(LIB_SRC)/transportModels/twoPhaseMixture/lnInclude \ 7 | -I$(LIB_SRC)/transportModels \ 8 | -I$(LIB_SRC)/transportModels/incompressible/lnInclude \ 9 | -I$(LIB_SRC)/transportModels/interfaceProperties/lnInclude \ 10 | -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \ 11 | -I$(LIB_SRC)/TurbulenceModels/incompressible/lnInclude \ 12 | -I$(LIB_SRC)/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude 13 | 14 | EXE_LIBS = \ 15 | -L$(FOAM_USER_LIBBIN) \ 16 | -lfiniteVolume \ 17 | -lmeshTools \ 18 | -lsampling \ 19 | -lVoF \ 20 | -limmiscibleIncompressibleTwoPhaseMixture \ 21 | -lturbulenceModels \ 22 | -lincompressibleTurbulenceModels 23 | -------------------------------------------------------------------------------- /apps/benchmark/reconstructInterface/Make/files: -------------------------------------------------------------------------------- 1 | reconstructInterface.C 2 | 3 | EXE = $(FOAM_USER_APPBIN)/reconstructInterface 4 | -------------------------------------------------------------------------------- /apps/benchmark/reconstructInterface/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I../../../src/VoF/lnInclude \ 3 | -I../../../src/postProcessing/lnInclude \ 4 | -I../../../src/surfaceForces/lnInclude \ 5 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 6 | -I$(LIB_SRC)/meshTools/lnInclude \ 7 | -I$(LIB_SRC)/surfMesh/lnInclude \ 8 | -I$(LIB_SRC)/sampling/lnInclude 9 | 10 | EXE_LIBS = \ 11 | -L$(FOAM_USER_LIBBIN) \ 12 | -lfiniteVolume \ 13 | -lmeshTools \ 14 | -lsurfMesh \ 15 | -lsampling \ 16 | -lVoF \ 17 | -lpostProcess 18 | 19 | 20 | -------------------------------------------------------------------------------- /apps/initAlphaField/Make/files: -------------------------------------------------------------------------------- 1 | initAlphaField.C 2 | 3 | EXE = $(FOAM_USER_APPBIN)/initAlphaField 4 | -------------------------------------------------------------------------------- /apps/initAlphaField/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I../../src/VoF/lnInclude \ 3 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 4 | -I$(LIB_SRC)/meshTools/lnInclude \ 5 | -I$(LIB_SRC)/surfMesh/lnInclude \ 6 | -I$(LIB_SRC)/fileFormats/lnInclude \ 7 | -I$(LIB_SRC)/triSurface/lnInclude \ 8 | -I$(LIB_SRC)/sampling/lnInclude 9 | 10 | EXE_LIBS = \ 11 | -L$(FOAM_USER_LIBBIN) \ 12 | -lfiniteVolume \ 13 | -lsurfMesh \ 14 | -lVoF \ 15 | -lfileFormats \ 16 | -lmeshTools \ 17 | -lsampling 18 | -------------------------------------------------------------------------------- /apps/setFieldfromTable/Make/files: -------------------------------------------------------------------------------- 1 | setFieldfromTable.C 2 | 3 | EXE = $(FOAM_USER_APPBIN)/setFieldfromTable 4 | -------------------------------------------------------------------------------- /apps/setFieldfromTable/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 3 | -I$(LIB_SRC)/dynamicMesh/lnInclude \ 4 | -I$(LIB_SRC)/dynamicMesh/dynamicMesh/lnInclude \ 5 | -I$(LIB_SRC)/cfdTools/lnInclude\ 6 | -I$(LIB_SRC)/meshTools/lnInclude \ 7 | -I../../src/VoF/lnInclude 8 | 9 | EXE_LIBS = \ 10 | -lfiniteVolume \ 11 | -ldynamicMesh \ 12 | -lmeshTools \ 13 | -L$(FOAM_USER_LIBBIN) \ 14 | -lVoF 15 | -------------------------------------------------------------------------------- /doc/AMR.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/doc/AMR.gif -------------------------------------------------------------------------------- /doc/AMR_interpol.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/doc/AMR_interpol.gif -------------------------------------------------------------------------------- /doc/depthCharge.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/doc/depthCharge.gif -------------------------------------------------------------------------------- /doc/initAlphaField.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/doc/initAlphaField.png -------------------------------------------------------------------------------- /doc/interfaceComparision.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/doc/interfaceComparision.png -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ./generateCases.sh 4 | ./runScanCases.sh 5 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/E1: -------------------------------------------------------------------------------- 1 | 3 2.592e-04 6.025e-15 7.700e-21 8.544e-01 5.872e-01 9.096e-03 1.044e+06 4.786e-07 2 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/baseCase/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Source tutorial clean functions 4 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 5 | 6 | cleanTimeDirectories 7 | rm -r isoFaces 8 | rm -rf 0 constant/polyMesh/{points,owner,neighbour,faces,boundary} logs* 9 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/baseCase/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #./Allclean 4 | 5 | #nProc=$(sed -ne "s/^numberOfSubdomains *\(.*\);/\1/p" system/decomposeParDict) 6 | application=$(sed -E -n "s%^application[[:space:]]+([^[:space:]]+);%\1%p" system/controlDict) 7 | jobStart=$(date +"%Y%m%d%H%M") 8 | 9 | #cd generateU 10 | #wmake 11 | #cd .. 12 | 13 | if [ ! -d "logs" ]; then 14 | mkdir logs 15 | cp -r 0.org 0 16 | # if [ ! -f "constant/polyMesh/points" ]; then 17 | # blockMesh > logs/blockMesh.log 2>&1 18 | # fi 19 | # generateU/generateU > logs/generateU.log 2>&1 20 | # setAlphaField > logs/setAlphaField.log 2>&1 21 | else 22 | mv logs logs_$jobStart 23 | mkdir logs 24 | fi 25 | 26 | if [ -n "$application" ] 27 | then 28 | decomposePar > logs/${decomposePar}.log 2>&1 29 | mpirun -np 4 $application -parallel > logs/${application}.log 2>&1 30 | else 31 | echo 32 | echo "Can not get application name to run. Exiting." 33 | echo 34 | fi 35 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/baseCase/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | value ( 0 -9.81 0 ); 20 | 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/baseCase/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType laminar; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/baseCase/cube.fms: -------------------------------------------------------------------------------- 1 | 1 2 | ( 3 | wall wall 4 | ) 5 | 8 6 | ( 7 | ( 0 0 2 ) 8 | ( 0 0 0 ) 9 | ( 0 1 2 ) 10 | ( 0 1 0 ) 11 | ( 1 0 2 ) 12 | ( 1 0 0 ) 13 | ( 1 1 2 ) 14 | ( 1 1 0 ) 15 | ) 16 | 12 17 | ( 18 | ((1 0 2) 0) 19 | ((2 3 1) 0) 20 | ((4 5 7) 0) 21 | ((6 4 7) 0) 22 | ((1 5 4) 0) 23 | ((4 0 1) 0) 24 | ((7 3 2) 0) 25 | ((6 7 2) 0) 26 | ((1 3 7) 0) 27 | ((7 5 1) 0) 28 | ((2 0 4) 0) 29 | ((6 2 4) 0) 30 | ) 31 | 12 32 | ( 33 | (1 0) 34 | (0 2) 35 | (2 3) 36 | (3 1) 37 | (4 5) 38 | (6 4) 39 | (7 6) 40 | (5 7) 41 | (1 5) 42 | (4 0) 43 | (7 3) 44 | (2 6) 45 | ) 46 | 0 47 | ( 48 | ) 49 | 0 50 | ( 51 | ) 52 | 1 53 | ( 54 | edges 8 12 ( 0 1 2 3 4 5 6 7 8 9 10 11 ) 55 | ) 56 | 57 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/baseCase/error.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Advection/deformationSphere/baseCase/error.dat -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/baseCase/generateUDeform/Make/files: -------------------------------------------------------------------------------- 1 | generateUDeform.C 2 | 3 | EXE = $(FOAM_USER_APPBIN)/generateUDeform 4 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/baseCase/generateUDeform/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 3 | -I$(LIB_SRC)/meshTools/lnInclude \ 4 | -I$(LIB_SRC)/sampling/lnInclude 5 | 6 | EXE_LIBS = \ 7 | -lfiniteVolume \ 8 | -lmeshTools \ 9 | -lsampling 10 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/baseCase/smearedSphere.foam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Advection/deformationSphere/baseCase/smearedSphere.foam -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/baseCase/triBlock.geo: -------------------------------------------------------------------------------- 1 | nx=replaceNx; 2 | nz=replaceNz; 3 | 4 | 5 | // Gmsh project created on Mon Jun 12 15:29:01 2017 6 | SetFactory("OpenCASCADE"); 7 | //+ 8 | Block(1) = {0, 0, 0, 1, 1, 2}; 9 | //+ 10 | Transfinite Line {1,3,5,7 } = nz Using Progression 1; 11 | //+ 12 | Transfinite Line { 2, 4, 6, 8,11, 9, 12, 10} = nx Using Progression 1; 13 | //+ 14 | Physical Surface("wall") = {6, 2, 4, 3, 5, 1}; 15 | Physical Volume("internal") = {1}; 16 | 17 | 18 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/results/hex-isoAlpha: -------------------------------------------------------------------------------- 1 | 64 3 4.455e-03 2.272e-16 9.734e-14 8.020e-03 1.132e-02 3.125e-02 8.192e+03 3.052e-05 2 | 128 3 1.331e-03 7.268e-16 1.916e-13 2.068e-02 4.534e-02 1.562e-02 6.554e+04 3.815e-06 3 | 256 3 3.544e-04 6.418e-16 6.310e-14 1.167e-01 3.211e-01 7.812e-03 5.243e+05 4.768e-07 4 | 512 3 8.667e-05 7.491e-15 2.104e-14 6.720e-01 2.611e+00 3.906e-03 4.194e+06 5.960e-08 5 | 64 3 4.455e-03 2.272e-16 9.734e-14 8.020e-03 1.132e-02 3.125e-02 8.192e+03 3.052e-05 6 | 128 3 1.331e-03 7.268e-16 1.916e-13 2.068e-02 4.534e-02 1.562e-02 6.554e+04 3.815e-06 7 | 256 3 3.544e-04 6.418e-16 6.310e-14 1.167e-01 3.211e-01 7.812e-03 5.243e+05 4.768e-07 8 | 512 3 8.667e-05 7.491e-15 2.104e-14 6.720e-01 2.611e+00 3.906e-03 4.194e+06 5.960e-08 9 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/results/hex-plicRDF: -------------------------------------------------------------------------------- 1 | 64 3 4.062e-03 2.654e-16 1.011e-19 3.706e-02 9.391e-03 3.125e-02 1.638e+04 3.052e-05 2 | 128 3 1.079e-03 3.313e-16 1.846e-13 1.157e-01 3.195e-02 1.562e-02 1.311e+05 3.815e-06 3 | 256 3 2.440e-04 2.897e-16 5.881e-15 4.618e-01 2.113e-01 7.812e-03 1.049e+06 4.768e-07 4 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/results/hex-plicRDFN: -------------------------------------------------------------------------------- 1 | 64 3 4.071e-03 2.064e-16 4.029e-13 2.112e-02 1.071e-02 3.125e-02 8.192e+03 3.052e-05 2 | 128 3 1.087e-03 6.661e-16 2.485e-13 7.015e-02 5.035e-02 1.562e-02 6.554e+04 3.815e-06 3 | 256 3 2.361e-04 6.956e-16 1.615e-14 2.148e-01 1.936e-01 7.812e-03 5.243e+05 4.768e-07 4 | 512 3 5.070e-05 6.477e-15 8.141e-15 1.128e+00 1.891e+00 3.906e-03 4.194e+06 5.960e-08 5 | 64 3 4.071e-03 2.064e-16 4.029e-13 2.112e-02 1.071e-02 3.125e-02 8.192e+03 3.052e-05 6 | 128 3 2.777e-03 2.840e-07 7.866e-15 3.119e-02 4.238e-02 1.562e-02 6.554e+04 3.815e-06 7 | 256 3 1.685e-03 3.060e-07 3.978e-15 1.453e-01 2.975e-01 7.812e-03 5.243e+05 4.768e-07 8 | 512 3 5.070e-05 6.477e-15 8.141e-15 1.128e+00 1.891e+00 3.906e-03 4.194e+06 5.960e-08 9 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/results/hexData.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{lllllrr} 2 | \toprule 3 | {} & Ev & Ebound & Emass & O & Te & Tr \\ 4 | \midrule 5 | 0 & 2.654e-16 & 1.011e-19 & 4.062e-03 & nan & 0.046451 & 0.03706 \\ 6 | 1 & 3.313e-16 & 1.846e-13 & 1.079e-03 & 1.91 & 0.147650 & 0.11570 \\ 7 | 2 & 2.897e-16 & 5.881e-15 & 2.440e-04 & 2.14 & 0.673100 & 0.46180 \\ 8 | \bottomrule 9 | \end{tabular} 10 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/results/poly-isoAlpha: -------------------------------------------------------------------------------- 1 | 0.1 3 9.320e-03 3.469e-18 1.302e-17 4.286e-03 1.000e-02 6.265e-02 7.390e+02 1.714e-04 2 | 0.05 3 6.372e-03 3.469e-18 5.443e-18 9.562e-03 1.650e-02 3.641e-02 3.957e+03 3.185e-05 3 | 0.025 3 2.039e-03 1.926e-16 1.764e-19 2.793e-02 5.011e-02 2.017e-02 2.387e+04 5.261e-06 4 | 0.0125 3 6.268e-04 3.305e-15 1.866e-18 1.300e-01 2.837e-01 1.074e-02 1.597e+05 7.855e-07 5 | 0.1 3 9.320e-03 3.469e-18 1.302e-17 4.286e-03 1.000e-02 6.265e-02 7.390e+02 1.714e-04 6 | 0.05 3 6.372e-03 3.469e-18 5.443e-18 9.562e-03 1.650e-02 3.641e-02 3.957e+03 3.185e-05 7 | 0.025 3 2.039e-03 1.926e-16 1.764e-19 2.793e-02 5.011e-02 2.017e-02 2.387e+04 5.261e-06 8 | 0.0125 3 6.268e-04 3.305e-15 1.866e-18 1.300e-01 2.837e-01 1.074e-02 1.597e+05 7.855e-07 9 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/results/poly-plicRDF: -------------------------------------------------------------------------------- 1 | 0.047 3 5.996e-03 6.245e-17 9.715e-18 5.178e-02 1.185e-02 3.689e-02 1.506e+04 3.312e-05 2 | 0.021 3 1.174e-03 6.852e-16 1.100e-19 2.044e-01 7.416e-02 1.796e-02 1.342e+05 3.723e-06 3 | 0.0103 3 2.592e-04 6.025e-15 7.700e-21 8.544e-01 5.872e-01 9.096e-03 1.044e+06 4.786e-07 4 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/results/poly-plicRDFN: -------------------------------------------------------------------------------- 1 | 0.1 3 8.495e-03 0.000e+00 1.656e-18 1.692e-02 9.231e-03 6.265e-02 7.390e+02 1.714e-04 2 | 0.05 3 6.717e-03 1.735e-18 6.002e-18 2.905e-02 1.058e-02 3.641e-02 3.957e+03 3.185e-05 3 | 0.025 3 1.686e-03 1.874e-16 1.846e-19 7.736e-02 3.156e-02 2.017e-02 2.387e+04 5.261e-06 4 | 0.0125 3 3.733e-04 3.284e-15 8.913e-21 2.673e-01 2.010e-01 1.074e-02 1.597e+05 7.855e-07 5 | 0.1 3 8.495e-03 0.000e+00 1.656e-18 1.692e-02 9.231e-03 6.265e-02 7.390e+02 1.714e-04 6 | 0.05 3 6.717e-03 1.735e-18 6.002e-18 2.905e-02 1.058e-02 3.641e-02 3.957e+03 3.185e-05 7 | 0.025 3 1.686e-03 1.874e-16 1.846e-19 7.736e-02 3.156e-02 2.017e-02 2.387e+04 5.261e-06 8 | 0.0125 3 3.733e-04 3.284e-15 8.913e-21 2.673e-01 2.010e-01 1.074e-02 1.597e+05 7.855e-07 9 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/results/polyData.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{lllllrr} 2 | \toprule 3 | {} & Ev & Ebound & Emass & O & Te & Tr \\ 4 | \midrule 5 | 0 & 6.245e-17 & 9.715e-18 & 5.996e-03 & nan & 0.06363 & 0.05178 \\ 6 | 1 & 6.852e-16 & 1.100e-19 & 1.174e-03 & 2.35 & 0.27856 & 0.20440 \\ 7 | 2 & 6.025e-15 & 7.700e-21 & 2.592e-04 & 2.18 & 1.44160 & 0.85440 \\ 8 | \bottomrule 9 | \end{tabular} 10 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/results/tri-isoAlpha: -------------------------------------------------------------------------------- 1 | 0.1 3 8.552e-03 1.041e-17 9.821e-18 3.744e-03 9.119e-03 3.184e-02 2.165e+03 5.739e-05 2 | 0.05 3 3.272e-03 5.204e-18 8.033e-19 8.593e-03 1.508e-02 1.680e-02 1.466e+04 8.589e-06 3 | 0.025 3 9.511e-04 5.239e-16 1.450e-15 2.302e-02 5.839e-02 8.620e-03 1.063e+05 1.180e-06 4 | 0.0125 3 2.441e-04 1.375e-14 2.161e-15 1.227e-01 3.753e-01 4.365e-03 8.087e+05 1.549e-07 5 | 0.1 3 8.552e-03 1.041e-17 9.821e-18 3.744e-03 9.119e-03 3.184e-02 2.165e+03 5.739e-05 6 | 0.05 3 3.272e-03 5.204e-18 8.033e-19 8.593e-03 1.508e-02 1.680e-02 1.466e+04 8.589e-06 7 | 0.025 3 9.511e-04 5.239e-16 1.450e-15 2.302e-02 5.839e-02 8.620e-03 1.063e+05 1.180e-06 8 | 0.0125 3 2.441e-04 1.375e-14 2.161e-15 1.227e-01 3.753e-01 4.365e-03 8.087e+05 1.549e-07 9 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/results/tri-plicRDF: -------------------------------------------------------------------------------- 1 | 42 3 8.436e-03 1.214e-16 6.524e-18 5.767e-02 8.943e-03 2.501e-02 1.734e+04 2.891e-05 2 | 84 3 2.886e-03 6.939e-16 6.326e-15 1.792e-01 2.876e-02 1.310e-02 1.224e+05 4.118e-06 3 | 174 3 5.502e-04 6.477e-15 1.490e-17 8.793e-01 2.742e-01 6.323e-03 1.097e+06 4.586e-07 4 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/results/tri-plicRDFN: -------------------------------------------------------------------------------- 1 | 0.1 # Time Eshape Emass Ebound tRec Tadv celltoCellDist Ncells avg(CellVol) 2 | 0.05 3 3.507e-03 1.041e-17 7.631e-19 3.881e-02 1.018e-02 1.680e-02 1.466e+04 8.589e-06 3 | 0.025 3 1.018e-03 6.817e-16 4.594e-15 1.211e-01 4.067e-02 8.620e-03 1.063e+05 1.180e-06 4 | 0.0125 3 1.921e-04 1.918e-14 3.613e-15 4.661e-01 2.856e-01 4.365e-03 8.087e+05 1.549e-07 5 | 0.1 # Time Eshape Emass Ebound tRec Tadv celltoCellDist Ncells avg(CellVol) 6 | 0.05 3 3.507e-03 1.041e-17 7.631e-19 3.881e-02 1.018e-02 1.680e-02 1.466e+04 8.589e-06 7 | 0.025 3 1.018e-03 6.817e-16 4.594e-15 1.211e-01 4.067e-02 8.620e-03 1.063e+05 1.180e-06 8 | 0.0125 3 1.921e-04 1.918e-14 3.613e-15 4.661e-01 2.856e-01 4.365e-03 8.087e+05 1.549e-07 9 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/results/triData.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{lllllrr} 2 | \toprule 3 | {} & Ev & Ebound & Emass & O & Te & Tr \\ 4 | \midrule 5 | 0 & 1.214e-16 & 6.524e-18 & 8.436e-03 & nan & 0.066613 & 0.05767 \\ 6 | 1 & 6.939e-16 & 6.326e-15 & 2.886e-03 & 1.55 & 0.207960 & 0.17920 \\ 7 | 2 & 6.477e-15 & 1.490e-17 & 5.502e-04 & 2.39 & 1.153500 & 0.87930 \\ 8 | \bottomrule 9 | \end{tabular} 10 | -------------------------------------------------------------------------------- /run/benchmark/Advection/deformationSphere/tmpfile: -------------------------------------------------------------------------------- 1 | Initial water volume V0 = 0.014131434979977 2 | Velocity U0 = (1.1339199129936e-08 -5.6695995649679e-09 -5.6695995649679e-09) 3 | centre (0.5000000340176 0.4999999829912 0.2999999829912) 4 | set alpha1Exact 5 | alpha1Exact0.014131434980132 6 | diff alpha1Exact0.00038041751477302 7 | Time: 3 8 | length 0.00390625 9 | E1/V0 dVrel aMin 1-aMax avg deltaX E1 10 | 0.0269 1.02e-07 0 0 0.003906 0.0003804 11 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ./generateCases.sh 4 | ./runScanCases2.sh 5 | ./errors2FileTabSepE1 6 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/E1: -------------------------------------------------------------------------------- 1 | 0.0008784466652678799 2 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/baseCase/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Source tutorial clean functions 4 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 5 | 6 | cleanTimeDirectories 7 | rm -rf 0 constant/polyMesh/{points,owner,neighbour,faces,boundary} logs* 8 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/baseCase/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | application=$(sed -E -n "s%^application[[:space:]]+([^[:space:]]+);%\1%p" system/controlDict) 4 | 5 | mkdir -p logs 6 | 7 | [ -d "0" ] || cp -r 0.org 0 8 | 9 | #[ -f "constant/polyMesh/owner" ] \ 10 | # || blockMesh > logs/blockMesh.log 2>&1 11 | 12 | #isoSurf > logs/isoSurf.log 2>&1 13 | setAlphaField > logs/setAlphaField.log 2>&1 14 | 15 | if [ -n "$application" ] 16 | then 17 | $application > logs/${application}.log 2>&1 18 | else 19 | echo 20 | echo "Can not find application. Exiting." 21 | echo 22 | fi 23 | 24 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/baseCase/case.foam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Advection/discUniFlowInterpolateNormals/baseCase/case.foam -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/baseCase/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | value ( 0 -9.81 0 ); 20 | 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/baseCase/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType laminar; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/baseCase/triSquare.geo: -------------------------------------------------------------------------------- 1 | nx=replaceNx; 2 | nz=replaceNz; 3 | 4 | Point(1) = {-0, -0.5, 0, 1e+22}; 5 | Point(2) = {5, -0.5, 0, 1e+22}; 6 | Point(3) = {5, -0.5, 1, 1e+22}; 7 | Point(4) = {0, -0.5, 1, 1e+22}; 8 | Line(1) = {1, 2}; 9 | Line(2) = {2, 3}; 10 | Line(3) = {3, 4}; 11 | Line(4) = {4, 1}; 12 | Line Loop(6) = {4, 1, 2, 3}; 13 | 14 | Plane Surface(6) = {6}; 15 | Physical Volume("internal") = {1}; 16 | 17 | Transfinite Line{1} = nx; 18 | Transfinite Line{2} = nz; 19 | Transfinite Line{3} = nx; 20 | Transfinite Line{4} = nz; 21 | 22 | 23 | Extrude {0, 1, 0} { 24 | Surface{6}; 25 | Layers{1}; 26 | Recombine; 27 | } 28 | // Physical Surface("front") = {28}; 29 | // Physical Surface("back") = {6}; 30 | // Physical Surface("bottom") = {27}; 31 | // Physical Surface("left") = {15}; 32 | // Physical Surface("top") = {19}; 33 | // Physical Surface("right") = {23}; 34 | 35 | Physical Surface("back") = {6}; 36 | Physical Surface("rim") = {27, 15, 19, 23}; 37 | Physical Surface("front") = {28}; 38 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/hex-RDFCell: -------------------------------------------------------------------------------- 1 | 15 1.04 0.913 0.564 0.2 2 | 30 0.224 0.181 0.116 0.1 3 | 60 0.0629 0.0499 0.0483 0.05 4 | 120 0.0149 0.0124 0.0293 0.025 5 | 240 0.00382 0.00438 0.0172 0.0125 6 | 480 0.00109 0.00146 0.00807 0.00625 7 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/hex-RDFadvect: -------------------------------------------------------------------------------- 1 | 15 1.07 0.879 0.495 0.2 2 | 30 0.207 0.159 0.0922 0.1 3 | 60 0.0622 0.048 0.043 0.05 4 | 120 0.0145 0.0122 0.0326 0.025 5 | 240 0.00381 0.00435 0.0163 0.0125 6 | 480 0.00112 0.00157 0.00833 0.00625 7 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/hex-isoAlpha: -------------------------------------------------------------------------------- 1 | 15 2 | 30 3 | 60 4 | 120 5 | 240 6 | 480 7 | 15 8 | 30 9 | 60 10 | 120 11 | 240 12 | 480 13 | 15 1.11 0.954 0.608 0.2 14 | 30 0.223 0.18 0.0924 0.1 15 | 60 0.0665 0.054 0.0414 0.05 16 | 120 0.0167 0.0144 0.0215 0.025 17 | 240 0.00638 0.0067 0.0146 0.0125 18 | 480 0.00334 0.00415 0.0101 0.00625 19 | 15 1.11 0.954 0.608 0.2 20 | 30 0.223 0.18 0.0924 0.1 21 | 60 0.0665 0.054 0.0414 0.05 22 | 120 0.0167 0.0144 0.0215 0.025 23 | 240 0.00638 0.0067 0.0146 0.0125 24 | 480 0.00334 0.00415 0.0101 0.00625 25 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/hex-isoInverseDistance: -------------------------------------------------------------------------------- 1 | 15 1.11 0.954 0.608 0.2 2 | 30 0.223 0.18 0.0924 0.1 3 | 60 0.0665 0.054 0.0414 0.05 4 | 120 0.0167 0.0144 0.0215 0.025 5 | 240 0.00638 0.0067 0.0146 0.0125 6 | 480 0.00334 0.00415 0.0101 0.00625 7 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/hex-plicRDF-initRes: -------------------------------------------------------------------------------- 1 | 15 0.0006955917705379588 0.0006530661611239682 0.0007320563429587813 2.000e-01 2 | 30 0.0011161668728790891 0.0011164256678167649 0.0011312400705573607 1.000e-01 3 | 60 0.0014578418845989057 0.0014599872337920058 0.0013336321148452773 5.000e-02 4 | 120 0.00011718309817937943 0.00015821680546030463 0.0007030808866656982 2.500e-02 5 | 240 2.719934051940714e-05 3.915289258572775e-05 0.0005980454518856774 1.250e-02 6 | 480 6.802330145590633e-06 1.1319742045604174e-05 0.00043260794072328426 6.250e-03 7 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/hex-plicRDFN: -------------------------------------------------------------------------------- 1 | 15 2 | 30 3 | 60 4 | 120 5 | 240 6 | 480 7 | 15 8 | 30 9 | 60 10 | 120 11 | 240 12 | 480 13 | 15 1.08 0.889 0.505 0.2 14 | 30 0.207 0.16 0.091 0.1 15 | 60 0.0618 0.0471 0.044 0.05 16 | 120 0.0146 0.0127 0.033 0.025 17 | 240 0.00395 0.00429 0.0163 0.0125 18 | 480 0.00127 0.0017 0.00785 0.00625 19 | 15 1.08 0.889 0.505 0.2 20 | 30 0.207 0.16 0.091 0.1 21 | 60 0.0618 0.0471 0.044 0.05 22 | 120 0.0146 0.0127 0.0326 0.025 23 | 240 0.00395 0.00429 0.0163 0.0125 24 | 480 0.00127 0.0017 0.00785 0.00625 25 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/hex-plicRDFNoInterpol: -------------------------------------------------------------------------------- 1 | 15 0.00223 0.00223 0.00223 0.003934 2 | 30 0.00223 0.00223 0.00223 0.003934 3 | 60 0.00223 0.00223 0.00223 0.003934 4 | 120 0.00223 0.00223 0.00223 0.003934 5 | 240 0.00223 0.00223 0.00223 0.003934 6 | 480 0.00223 0.00223 0.00223 0.003934 7 | 15 0.00223 0.00223 0.00223 0.003934 8 | 30 0.00223 0.00223 0.00223 0.003934 9 | 60 0.00223 0.00223 0.00223 0.003934 10 | 15 0.00223 0.00223 0.00223 11 | 30 0.00223 0.00223 0.00223 12 | 60 0.00223 0.00223 0.00223 13 | 120 0.00223 0.00223 0.00223 14 | 240 0.00223 0.00223 0.00223 15 | 480 0.00223 0.00223 0.00223 16 | 15 0.00223 0.00223 0.00223 17 | 30 0.00223 0.00223 0.00223 18 | 60 0.00223 0.00223 0.00223 19 | 120 0.00223 0.00223 0.00223 20 | 240 0.00223 0.00223 0.00223 21 | 480 0.00223 0.00223 0.00223 22 | 15 0.00223 0.00223 0.00223 23 | 30 0.00223 0.00223 0.00223 24 | 60 0.00223 0.00223 0.00223 25 | 120 0.00223 0.00223 0.00223 26 | 240 0.00223 0.00223 0.00223 27 | 480 0.00223 0.00223 0.00223 28 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/hex-plicRDFNoInterpol-initRes: -------------------------------------------------------------------------------- 1 | 15 0.0006955917705379588 0.0006530661611239682 0.0007320563429587813 2.000e-01 2 | 30 0.0011161668728790891 0.0011164256678167649 0.0011312400705573607 1.000e-01 3 | 60 0.0014675077742634431 0.0014715197111487765 0.0013858219184036864 5.000e-02 4 | 120 0.0019509710612199912 0.0019404377542517222 0.001911350075152248 2.500e-02 5 | 240 0.002099447220606007 0.0020730207898037745 0.0027861952091531974 1.250e-02 6 | 480 0.0021333383823370824 0.002114891321861751 0.002416893040821166 6.250e-03 7 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/poly-RDFCell: -------------------------------------------------------------------------------- 1 | 15 0.0621 0.0511 0.0354 0.06298 2 | 30 0.0194 0.0162 0.00935 0.03169 3 | 60 0.0052 0.00442 0.00276 0.01582 4 | 120 0.0013 0.00112 0.000941 0.007866 5 | 240 0.000315 0.000275 0.000338 0.003934 6 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/poly-RDFadvect: -------------------------------------------------------------------------------- 1 | 15 0.0622 0.051 0.0364 0.06298 2 | 30 0.0189 0.0156 0.00911 0.03169 3 | 60 0.00511 0.00432 0.00264 0.01582 4 | 120 0.00127 0.00109 0.000924 0.007866 5 | 240 0.000311 0.00027 0.000334 0.003934 6 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/poly-isoAlpha: -------------------------------------------------------------------------------- 1 | 15 2 | 30 3 | 60 4 | 120 5 | 240 6 | 15 7 | 30 8 | 60 9 | 120 10 | 240 11 | 15 0.0694 0.0588 0.0416 0.06298 12 | 30 0.0257 0.024 0.0194 0.03169 13 | 60 0.0111 0.0106 0.00929 0.01582 14 | 120 0.00545 0.00528 0.00449 0.007866 15 | 240 0.00262 0.00255 0.00223 0.003934 16 | 15 0.0694 0.0588 0.0416 0.06298 17 | 30 0.0257 0.024 0.0194 0.03169 18 | 60 0.0111 0.0106 0.00929 0.01582 19 | 120 0.00545 0.00528 0.00449 0.007866 20 | 240 0.00262 0.00255 0.00223 0.003934 21 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/poly-isoInverseDistance: -------------------------------------------------------------------------------- 1 | 15 0.0694 0.0588 0.0416 0.06298 2 | 30 0.0257 0.024 0.0194 0.03169 3 | 60 0.0111 0.0106 0.00929 0.01582 4 | 120 0.00545 0.00528 0.00449 0.007866 5 | 240 0.00262 0.00255 0.00223 0.003934 6 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/poly-plicRDF: -------------------------------------------------------------------------------- 1 | 15 0.0632 0.0522 0.036 0.06298 2 | 30 0.019 0.0159 0.00919 0.03169 3 | 60 0.00515 0.00437 0.00272 0.01582 4 | 120 0.00129 0.00111 0.000904 0.007866 5 | 240 0.000314 0.000273 0.000326 0.003934 6 | 15 0.00223 0.00223 0.00223 7 | 30 0.00223 0.00223 0.00223 8 | 60 0.00223 0.00223 0.00223 9 | 120 0.00223 0.00223 0.00223 10 | 240 0.00223 0.00223 0.00223 11 | 15 0.00223 0.00223 0.00223 12 | 30 0.00223 0.00223 0.00223 13 | 60 0.00223 0.00223 0.00223 14 | 120 0.00223 0.00223 0.00223 15 | 15 0.00223 0.00223 0.00223 16 | 30 0.00223 0.00223 0.00223 17 | 60 0.00223 0.00223 0.00223 18 | 120 0.00223 0.00223 0.00223 19 | 240 0.00223 0.00223 0.00223 20 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/poly-plicRDF-initRes: -------------------------------------------------------------------------------- 1 | 15 0.0008547024239295517 0.0008619745999616186 0.0008841620037136867 6.301e-02 2 | 30 9.076850162295937e-05 0.00012507054882076202 0.00035204230792721313 3.173e-02 3 | 60 1.9215549476034963e-05 2.6932506940426847e-05 7.917476245372084e-05 1.585e-02 4 | 120 4.6253330389389676e-06 6.411559770770264e-06 2.018066001264083e-05 7.891e-03 5 | 240 1.1532121646645555e-06 1.6800784763317966e-06 6.73237919344972e-06 3.951e-03 6 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/poly-plicRDFN: -------------------------------------------------------------------------------- 1 | 15 2 | 30 3 | 60 4 | 120 5 | 240 6 | 15 7 | 30 8 | 60 9 | 120 10 | 240 11 | 15 0.0624 0.0518 0.036 0.06298 12 | 30 0.019 0.0159 0.00969 0.03169 13 | 60 0.00511 0.00435 0.00295 0.01582 14 | 120 0.00129 0.00114 0.00107 0.007866 15 | 240 0.000368 0.000346 0.000428 0.003934 16 | 15 0.0624 0.0518 0.036 0.06298 17 | 30 0.019 0.0159 0.00969 0.03169 18 | 60 0.00511 0.00435 0.00295 0.01582 19 | 120 0.00129 0.00114 0.00107 0.007866 20 | 240 0.000368 0.000346 0.000428 0.003934 21 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/poly-plicRDFNoInterpol: -------------------------------------------------------------------------------- 1 | 15 0.00223 0.00223 0.00223 2 | 30 0.00223 0.00223 0.00223 3 | 60 0.00223 0.00223 0.00223 4 | 120 0.00223 0.00223 0.00223 5 | 240 0.00223 0.00223 0.00223 6 | 15 0.00223 0.00223 0.00223 7 | 30 0.00223 0.00223 0.00223 8 | 60 0.00223 0.00223 0.00223 9 | 120 0.00223 0.00223 0.00223 10 | 240 0.00223 0.00223 0.00223 11 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/poly-plicRDFNoInterpol-initRes: -------------------------------------------------------------------------------- 1 | 15 0.0008856807772597953 0.0008949065035028103 0.0009101727473549851 6.301e-02 2 | 30 0.0008332110259139368 0.0008353234437858724 0.0008456597269761281 3.173e-02 3 | 60 0.0008808209123796715 0.0008833595681358983 0.0008941264516053965 1.585e-02 4 | 120 0.0008795936911106236 0.0008813946119755392 0.0008880497547447224 7.891e-03 5 | 240 0.0008711507012834343 0.0008727754122975995 0.0008784466652678799 3.951e-03 6 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/tri-RDFCell: -------------------------------------------------------------------------------- 1 | 15 0.029 0.0264 0.0231 0.03634 2 | 30 0.0104 0.0091 0.00666 0.01814 3 | 60 0.00259 0.0023 0.00233 0.009023 4 | 120 0.000643 0.000574 0.00101 0.004479 5 | 240 0.000156 0.000141 0.000452 0.002238 6 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/tri-RDFadvect: -------------------------------------------------------------------------------- 1 | 15 0.0299 0.0261 0.024 0.03634 2 | 30 0.01 0.00865 0.00627 0.01814 3 | 60 0.00257 0.00224 0.00243 0.009023 4 | 120 0.000626 0.000554 0.00101 0.004479 5 | 240 0.000153 0.000137 0.000458 0.002238 6 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/tri-isoAlpha: -------------------------------------------------------------------------------- 1 | 15 2 | 30 3 | 60 4 | 120 5 | 240 6 | 15 7 | 30 8 | 60 9 | 120 10 | 240 11 | 15 0.041 0.0395 0.0384 0.03634 12 | 30 0.0149 0.0143 0.0134 0.01814 13 | 60 0.00592 0.00577 0.00618 0.009023 14 | 120 0.00286 0.00278 0.003 0.004479 15 | 240 0.0014 0.00136 0.00144 0.002238 16 | 15 0.041 0.0395 0.0384 0.03634 17 | 30 0.0149 0.0143 0.0134 0.01814 18 | 60 0.00592 0.00577 0.00618 0.009023 19 | 120 0.00286 0.00278 0.003 0.004479 20 | 240 0.0014 0.00136 0.00144 0.002238 21 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/tri-isoInverseDistance: -------------------------------------------------------------------------------- 1 | 15 0.041 0.0395 0.0384 0.03634 2 | 30 0.0149 0.0143 0.0134 0.01814 3 | 60 0.00592 0.00577 0.00618 0.009023 4 | 120 0.00286 0.00278 0.003 0.004479 5 | 240 0.0014 0.00136 0.00144 0.002238 6 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/tri-plicRDF: -------------------------------------------------------------------------------- 1 | 15 0.0303 0.0266 0.0225 0.03634 2 | 30 0.0101 0.00883 0.00613 0.01814 3 | 60 0.00257 0.00224 0.00236 0.009023 4 | 120 0.000626 0.000554 0.000988 0.004479 5 | 240 0.000153 0.000138 0.00045 0.002238 6 | 15 0.00223 0.00223 0.00223 7 | 30 0.00223 0.00223 0.00223 8 | 60 0.00223 0.00223 0.00223 9 | 120 0.00223 0.00223 0.00223 10 | 240 0.00223 0.00223 0.00223 11 | 15 0.00223 0.00223 0.00223 12 | 30 0.00223 0.00223 0.00223 13 | 60 0.00223 0.00223 0.00223 14 | 120 0.00223 0.00223 0.00223 15 | 240 0.00223 0.00223 0.00223 16 | 15 0.00223 0.00223 0.00223 17 | 30 0.00223 0.00223 0.00223 18 | 60 0.00223 0.00223 0.00223 19 | 120 0.00223 0.00223 0.00223 20 | 240 0.00223 0.00223 0.00223 21 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/tri-plicRDF-initRes: -------------------------------------------------------------------------------- 1 | 15 0.0024232706762322815 0.0024225054996356295 0.002429422019261336 3.634e-02 2 | 30 8.922097831392996e-05 0.00010371304470760645 0.00022179703306122352 1.814e-02 3 | 60 1.3717393388657405e-05 1.7306302867798186e-05 5.203322707773452e-05 9.023e-03 4 | 120 3.34096707123757e-06 4.532553780917807e-06 2.3040088128350872e-05 4.479e-03 5 | 240 8.50545033705484e-07 1.4502118295803371e-06 1.4641428754663162e-05 2.238e-03 6 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/tri-plicRDFN: -------------------------------------------------------------------------------- 1 | 15 2 | 30 3 | 60 4 | 120 5 | 240 6 | 15 7 | 30 8 | 60 9 | 120 10 | 240 11 | 15 0.0304 0.0266 0.0245 0.03634 12 | 30 0.00998 0.00869 0.00605 0.01814 13 | 60 0.00258 0.00228 0.00242 0.009023 14 | 120 0.000653 0.00059 0.00101 0.004479 15 | 240 0.000178 0.000168 0.000456 0.002238 16 | 15 0.0304 0.0266 0.0245 0.03634 17 | 30 0.00998 0.00869 0.00605 0.01814 18 | 60 0.00258 0.00228 0.00242 0.009023 19 | 120 0.000653 0.00059 0.000369 0.004479 20 | 240 0.000178 0.000168 0.000456 0.002238 21 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/tri-plicRDFNoInterpol: -------------------------------------------------------------------------------- 1 | 15 0.00223 0.00223 0.00223 2 | 30 0.00223 0.00223 0.00223 3 | 60 0.00223 0.00223 0.00223 4 | 120 0.00223 0.00223 0.00223 5 | 240 0.00223 0.00223 0.00223 6 | 15 0.00223 0.00223 0.00223 7 | 30 0.00223 0.00223 0.00223 8 | 60 0.00223 0.00223 0.00223 9 | 120 0.00223 0.00223 0.00223 10 | 240 0.00223 0.00223 0.00223 11 | 15 0.00223 0.00223 0.00223 12 | 30 0.00223 0.00223 0.00223 13 | 60 0.00223 0.00223 0.00223 14 | 120 0.00223 0.00223 0.00223 15 | 240 0.00223 0.00223 0.00223 16 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/results/tri-plicRDFNoInterpol-initRes: -------------------------------------------------------------------------------- 1 | 15 0.0024981058307985402 0.0024955334646329457 0.002518600956732316 3.634e-02 2 | 30 0.002171206680916225 0.0021611169962954136 0.0021531286099192655 1.814e-02 3 | 60 0.0022956261012007802 0.0022898300379058894 0.0022935157927315066 9.023e-03 4 | 120 0.002287924782853359 0.0022835545137974552 0.0022841908983235325 4.479e-03 5 | 240 0.0022745600101834497 0.0022710353604969424 0.0022710248223587813 2.238e-03 6 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/tmpPost: -------------------------------------------------------------------------------- 1 | 4 6.686e-05 5.496e-14 7.887e-20 7.952e-02 4.782e-02 3.951e-03 3.817e+05 1.310e-05 2 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowInterpolateNormals/tmpfile: -------------------------------------------------------------------------------- 1 | avgFinalRes 4.1858320828711015e-07 2 | avgIter 3.0 3 | avgInitRes 0.0008784466652678799 4 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowNewErrorNorm/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ./generateCases.sh 4 | ./runScanCases2.sh 5 | ./errors2FileTabSepE1 6 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowNewErrorNorm/E1: -------------------------------------------------------------------------------- 1 | 4.3864e-04 2 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowNewErrorNorm/baseCase/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Source tutorial clean functions 4 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 5 | 6 | cleanTimeDirectories 7 | rm -rf 0 constant/polyMesh/{points,owner,neighbour,faces,boundary} logs* 8 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowNewErrorNorm/baseCase/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | application=$(sed -E -n "s%^application[[:space:]]+([^[:space:]]+);%\1%p" system/controlDict) 4 | 5 | mkdir -p logs 6 | 7 | [ -d "0" ] || cp -r 0.org 0 8 | 9 | #[ -f "constant/polyMesh/owner" ] \ 10 | # || blockMesh > logs/blockMesh.log 2>&1 11 | 12 | isoSurf > logs/isoSurf.log 2>&1 13 | setAlphaField > logs/setAlphaField.log 2>&1 14 | 15 | if [ -n "$application" ] 16 | then 17 | $application > logs/${application}.log 2>&1 18 | else 19 | echo 20 | echo "Can not find application. Exiting." 21 | echo 22 | fi 23 | 24 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowNewErrorNorm/baseCase/case.foam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Advection/discUniFlowNewErrorNorm/baseCase/case.foam -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowNewErrorNorm/baseCase/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | value ( 0 -9.81 0 ); 20 | 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowNewErrorNorm/baseCase/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType laminar; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowNewErrorNorm/baseCase/triSquare.geo: -------------------------------------------------------------------------------- 1 | nx=replaceNx; 2 | nz=replaceNz; 3 | 4 | Point(1) = {-0, -0.5, 0, 1e+22}; 5 | Point(2) = {5, -0.5, 0, 1e+22}; 6 | Point(3) = {5, -0.5, 1, 1e+22}; 7 | Point(4) = {0, -0.5, 1, 1e+22}; 8 | Line(1) = {1, 2}; 9 | Line(2) = {2, 3}; 10 | Line(3) = {3, 4}; 11 | Line(4) = {4, 1}; 12 | Line Loop(6) = {4, 1, 2, 3}; 13 | 14 | Plane Surface(6) = {6}; 15 | Physical Volume("internal") = {1}; 16 | 17 | Transfinite Line{1} = nx; 18 | Transfinite Line{2} = nz; 19 | Transfinite Line{3} = nx; 20 | Transfinite Line{4} = nz; 21 | 22 | 23 | Extrude {0, 1, 0} { 24 | Surface{6}; 25 | Layers{1}; 26 | Recombine; 27 | } 28 | // Physical Surface("front") = {28}; 29 | // Physical Surface("back") = {6}; 30 | // Physical Surface("bottom") = {27}; 31 | // Physical Surface("left") = {15}; 32 | // Physical Surface("top") = {19}; 33 | // Physical Surface("right") = {23}; 34 | 35 | Physical Surface("back") = {6}; 36 | Physical Surface("rim") = {27, 15, 19, 23}; 37 | Physical Surface("front") = {28}; 38 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowNewErrorNorm/results/hex-isoAlpha: -------------------------------------------------------------------------------- 1 | 15 1.8779e-01 1.5949e-01 6.6259e-02 2.0000e-01 2 | 30 4.2415e-02 3.3102e-02 1.7595e-02 1.0000e-01 3 | 60 1.2943e-02 1.0497e-02 8.0540e-03 5.0000e-02 4 | 120 3.2704e-03 2.8167e-03 4.2091e-03 2.5000e-02 5 | 240 1.2518e-03 1.3156e-03 2.8582e-03 1.2500e-02 6 | 480 6.5557e-04 8.1555e-04 1.9919e-03 6.2500e-03 7 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowNewErrorNorm/results/hex-plicRDF: -------------------------------------------------------------------------------- 1 | 15 1.8416e-01 1.5626e-01 6.5609e-02 2.0000e-01 2 | 30 4.1055e-02 3.2446e-02 2.0726e-02 1.0000e-01 3 | 60 1.2220e-02 9.4773e-03 9.6380e-03 5.0000e-02 4 | 120 2.8462e-03 2.3914e-03 6.5992e-03 2.5000e-02 5 | 240 7.5379e-04 8.3896e-04 3.0500e-03 1.2500e-02 6 | 480 2.1800e-04 2.9526e-04 1.5982e-03 6.2500e-03 7 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowNewErrorNorm/results/poly-isoAlpha: -------------------------------------------------------------------------------- 1 | 15 1.3324e-02 1.1400e-02 8.0336e-03 6.3008e-02 2 | 30 4.7224e-03 4.3481e-03 3.5118e-03 3.1727e-02 3 | 60 2.1256e-03 2.0484e-03 1.7907e-03 1.5853e-02 4 | 120 1.0671e-03 1.0335e-03 8.7937e-04 7.8914e-03 5 | 240 5.1399e-04 4.9934e-04 4.3864e-04 3.9510e-03 6 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowNewErrorNorm/results/poly-plicRDF: -------------------------------------------------------------------------------- 1 | 15 1.2148e-02 1.0152e-02 7.2308e-03 6.3008e-02 2 | 30 3.7117e-03 3.0820e-03 1.7350e-03 3.1727e-02 3 | 60 1.0053e-03 8.5216e-04 5.1881e-04 1.5853e-02 4 | 120 2.5097e-04 2.1622e-04 1.7955e-04 7.8914e-03 5 | 240 6.1225e-05 5.3249e-05 6.4837e-05 3.9510e-03 6 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowNewErrorNorm/results/tri-isoAlpha: -------------------------------------------------------------------------------- 1 | 15 8.1948e-03 7.9350e-03 7.6747e-03 3.6341e-02 2 | 30 2.8910e-03 2.7682e-03 2.5976e-03 1.8140e-02 3 | 60 1.1631e-03 1.1336e-03 1.2195e-03 9.0232e-03 4 | 120 5.6183e-04 5.4642e-04 5.7958e-04 4.4787e-03 5 | 240 2.7549e-04 2.6811e-04 2.8429e-04 2.2385e-03 6 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowNewErrorNorm/results/tri-plicRDF: -------------------------------------------------------------------------------- 1 | 15 5.8985e-03 5.1633e-03 4.4131e-03 3.6341e-02 2 | 30 1.9727e-03 1.7126e-03 1.1782e-03 1.8140e-02 3 | 60 5.0537e-04 4.4252e-04 4.6043e-04 9.0232e-03 4 | 120 1.2319e-04 1.0937e-04 1.9688e-04 4.4787e-03 5 | 240 3.0128e-05 2.7148e-05 8.9735e-05 2.2385e-03 6 | -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowNewErrorNorm/tmpPost: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Advection/discUniFlowNewErrorNorm/tmpPost -------------------------------------------------------------------------------- /run/benchmark/Advection/discUniFlowNewErrorNorm/tmpfile: -------------------------------------------------------------------------------- 1 | 4 4.3864e-04 5.5483e-14 1.4856e-21 4.8706e-02 4.7515e-02 3.9510e-03 3.8167e+05 1.3100e-05 2 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/E1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Advection/rotationSphereInBox/E1 -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/baseCase/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Source tutorial clean functions 4 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 5 | 6 | cleanTimeDirectories 7 | rm -r isoFaces 8 | rm -rf 0 constant/polyMesh/{points,owner,neighbour,faces,boundary} logs* 9 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/baseCase/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #./Allclean 4 | 5 | #nProc=$(sed -ne "s/^numberOfSubdomains *\(.*\);/\1/p" system/decomposeParDict) 6 | application=$(sed -E -n "s%^application[[:space:]]+([^[:space:]]+);%\1%p" system/controlDict) 7 | jobStart=$(date +"%Y%m%d%H%M") 8 | 9 | #cd generateU 10 | #wmake 11 | #cd .. 12 | 13 | if [ ! -d "logs" ]; then 14 | mkdir logs 15 | cp -r 0.org 0 16 | # if [ ! -f "constant/polyMesh/points" ]; then 17 | # blockMesh > logs/blockMesh.log 2>&1 18 | # fi 19 | # generateU/generateU > logs/generateU.log 2>&1 20 | # setAlphaField > logs/setAlphaField.log 2>&1 21 | else 22 | mv logs logs_$jobStart 23 | mkdir logs 24 | fi 25 | 26 | if [ -n "$application" ] 27 | then 28 | # $application > logs/${application}.log 2>&1 29 | decomposePar > logs/${decomposePar}.log 2>&1 30 | mpirun -np 4 $application -parallel > logs/${application}.log 2>&1 31 | else 32 | echo 33 | echo "Can not get application name to run. Exiting." 34 | echo 35 | fi 36 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/baseCase/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | value ( 0 -9.81 0 ); 20 | 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/baseCase/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType laminar; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/baseCase/cube.fms: -------------------------------------------------------------------------------- 1 | 1 2 | ( 3 | wall wall 4 | ) 5 | 8 6 | ( 7 | ( 0 0 1 ) 8 | ( 0 0 0 ) 9 | ( 0 1 1 ) 10 | ( 0 1 0 ) 11 | ( 1 0 1 ) 12 | ( 1 0 0 ) 13 | ( 1 1 1 ) 14 | ( 1 1 0 ) 15 | ) 16 | 12 17 | ( 18 | ((1 0 2) 0) 19 | ((2 3 1) 0) 20 | ((4 5 7) 0) 21 | ((6 4 7) 0) 22 | ((1 5 4) 0) 23 | ((4 0 1) 0) 24 | ((7 3 2) 0) 25 | ((6 7 2) 0) 26 | ((1 3 7) 0) 27 | ((7 5 1) 0) 28 | ((2 0 4) 0) 29 | ((6 2 4) 0) 30 | ) 31 | 12 32 | ( 33 | (1 0) 34 | (0 2) 35 | (2 3) 36 | (3 1) 37 | (4 5) 38 | (6 4) 39 | (7 6) 40 | (5 7) 41 | (1 5) 42 | (4 0) 43 | (7 3) 44 | (2 6) 45 | ) 46 | 0 47 | ( 48 | ) 49 | 0 50 | ( 51 | ) 52 | 1 53 | ( 54 | edges 8 12 ( 0 1 2 3 4 5 6 7 8 9 10 11 ) 55 | ) 56 | 57 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/baseCase/error.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Advection/rotationSphereInBox/baseCase/error.dat -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/baseCase/generateURot/Make/files: -------------------------------------------------------------------------------- 1 | generateURot.C 2 | 3 | EXE = $(FOAM_USER_APPBIN)/generateURot 4 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/baseCase/generateURot/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 3 | -I$(LIB_SRC)/meshTools/lnInclude \ 4 | -I$(LIB_SRC)/sampling/lnInclude 5 | 6 | EXE_LIBS = \ 7 | -lfiniteVolume \ 8 | -lmeshTools \ 9 | -lsampling 10 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/baseCase/smearedSphere.foam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Advection/rotationSphereInBox/baseCase/smearedSphere.foam -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/baseCase/triBlock.geo: -------------------------------------------------------------------------------- 1 | nx=replaceNx; 2 | nz=replaceNz; 3 | 4 | 5 | // Gmsh project created on Mon Jun 12 15:29:01 2017 6 | SetFactory("OpenCASCADE"); 7 | //+ 8 | Block(1) = {0, 0, 0, 1, 1, 1}; 9 | //+ 10 | Transfinite Line {11, 9, 12, 10} = nx Using Progression 1; 11 | //+ 12 | Transfinite Line {7, 6, 5, 8, 3, 4, 1, 2} = nx Using Progression 1; 13 | //+ 14 | Physical Surface("wall") = {6, 2, 4, 3, 5, 1}; 15 | Physical Volume("internal") = {1}; 16 | 17 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/results/.ipynb_checkpoints/Untitled-checkpoint.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [], 3 | "metadata": {}, 4 | "nbformat": 4, 5 | "nbformat_minor": 2 6 | } 7 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/results/Untitled.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [], 3 | "metadata": {}, 4 | "nbformat": 4, 5 | "nbformat_minor": 2 6 | } 7 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/results/hex-plicRDF: -------------------------------------------------------------------------------- 1 | 32 6.283185307 7.471e-04 1.214e-17 4.884e-21 2.949e-02 7.176e-03 3.125e-02 8.192e+03 3.052e-05 0.003906 2 | 64 6.283185307 1.884e-04 2.064e-16 8.763e-22 1.010e-01 1.840e-02 1.562e-02 6.554e+04 3.815e-06 0.003906 3 | 128 6.283185307 4.825e-05 3.421e-15 1.170e-17 2.942e-01 1.291e-01 7.812e-03 5.243e+05 4.768e-07 0.003906 4 | 256 0.003906 5 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/results/hex-plicRDFN: -------------------------------------------------------------------------------- 1 | 32 6.283185307 7.705e-04 1.492e-16 4.483e-21 1.986e-02 3.194e-03 3.125e-02 3.277e+04 3.052e-05 0.003906 2 | 64 6.283185307 1.902e-04 1.280e-15 7.034e-14 1.028e-01 2.723e-02 1.562e-02 2.621e+05 3.815e-06 0.003906 3 | 128 6.283185307 4.887e-05 4.370e-15 1.960e-13 5.583e-01 2.723e-01 7.812e-03 2.097e+06 4.768e-07 0.003906 4 | 32 6.283185307 7.705e-04 1.492e-16 4.483e-21 1.986e-02 3.194e-03 3.125e-02 3.277e+04 3.052e-05 0.003906 5 | 64 6.283185307 1.902e-04 1.280e-15 7.034e-14 1.028e-01 2.723e-02 1.562e-02 2.621e+05 3.815e-06 0.003906 6 | 128 6.283185307 4.887e-05 4.370e-15 1.960e-13 5.583e-01 2.723e-01 7.812e-03 2.097e+06 4.768e-07 0.003906 7 | 256 6.283185307 1.410e-05 5.870e-15 8.882e-15 3.457e+00 2.348e+00 3.906e-03 1.678e+07 5.960e-08 0.003906 8 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/results/hexData.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{lllllrr} 2 | \toprule 3 | {} & Ev & Ebound & Emass & O & Te & Tr \\ 4 | \midrule 5 | 0 & 1.214e-17 & 4.884e-21 & 7.47e-04 & nan & 0.036666 & 0.02949 \\ 6 | 1 & 2.064e-16 & 8.763e-22 & 1.88e-04 & 1.99 & 0.119400 & 0.10100 \\ 7 | 2 & 3.421e-15 & 1.170e-17 & 4.83e-05 & 1.97 & 0.423300 & 0.29420 \\ 8 | 3 & nan & nan & nan & nan & NaN & NaN \\ 9 | \bottomrule 10 | \end{tabular} 11 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/results/latexTab.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{lllllll} 2 | \toprule 3 | {} & 2 & 3 & 4 & 5 & 6 & 7 \\ 4 | \midrule 5 | 0 & \num{6.871e-04} & \num{2.134e-16} & \num{4.58e-21} & 0.007454 & 0.004167 & 0.003287 \\ 6 | 1 & \num{1.855e-04} & \num{1.06e-15} & \num{1.104e-13} & 0.05949 & 0.02624 & 0.03325 \\ 7 | 2 & \num{5.026e-05} & \num{5.483e-15} & \num{1.573e-13} & 0.3654 & 0.1029 & 0.2625 \\ 8 | 3 & \num{1.536e-05} & \num{1.461e-14} & \num{4.241e-15} & 2.6844 & 0.6144 & 2.07 \\ 9 | \bottomrule 10 | \end{tabular} 11 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/results/poly-plicRDF: -------------------------------------------------------------------------------- 1 | 0.05 6.283185307 1.145e-03 4.367e-10 1.884e-12 6.631e-02 1.216e-02 3.650e-02 7.813e+03 3.185e-05 0.003906 2 | 0.021 6.283185307 2.094e-04 9.749e-11 1.106e-13 2.321e-01 5.506e-02 1.776e-02 6.903e+04 3.613e-06 0.003906 3 | 0.0105 6.283185307 5.510e-05 1.288e-09 7.563e-13 1.071e+00 3.857e-01 9.215e-03 5.007e+05 4.987e-07 0.003906 4 | 0.0051 6.283185307 1.566e-05 4.522e-09 2.208e-13 3.810e+00 2.283e+00 4.568e-03 4.137e+06 6.040e-08 0.003906 5 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/results/poly-plicRDFN: -------------------------------------------------------------------------------- 1 | 0.1 6.283185307 6.468e-03 4.281e-04 1.490e-06 4.707e-02 9.687e-03 6.389e-02 5.833e+03 1.714e-04 0.003906 2 | 0.05 6.283185307 1.739e-03 6.487e-06 1.961e-08 1.458e-01 3.585e-02 3.667e-02 3.140e+04 3.185e-05 0.003906 3 | 0.02 6.283185307 2.965e-04 7.870e-07 5.028e-10 3.493e-01 1.435e-01 1.655e-02 3.471e+05 2.881e-06 0.003906 4 | 0.01 6.283185307 7.625e-05 1.788e-07 9.028e-11 1.531e+00 9.615e-01 8.709e-03 2.389e+06 4.185e-07 0.003906 5 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/results/polyData.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{lllllrr} 2 | \toprule 3 | {} & Ev & Ebound & Emass & O & Te & Tr \\ 4 | \midrule 5 | 0 & 4.367e-10 & 1.884e-12 & 1.14e-03 & nan & 0.07847 & 0.06631 \\ 6 | 1 & 9.749e-11 & 1.106e-13 & 2.09e-04 & 2.45 & 0.28716 & 0.23210 \\ 7 | 2 & 1.288e-09 & 7.563e-13 & 5.51e-05 & 1.93 & 1.45670 & 1.07100 \\ 8 | 3 & nan & nan & nan & nan & NaN & NaN \\ 9 | \bottomrule 10 | \end{tabular} 11 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/results/tri-plicRDF: -------------------------------------------------------------------------------- 1 | 22 6.283185307 1.989e-03 8.327e-17 1.239e-19 3.816e-02 7.212e-03 2.515e-02 8.392e+03 3.005e-05 0.003906 2 | 44 6.283185307 4.447e-04 1.676e-15 4.425e-20 1.591e-01 1.822e-02 1.270e-02 6.577e+04 3.779e-06 0.003906 3 | 88 6.283185307 1.034e-04 1.002e-14 2.880e-21 4.729e-01 1.372e-01 6.256e-03 5.679e+05 4.442e-07 0.003906 4 | 174 0.003906 5 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/results/tri-plicRDFN: -------------------------------------------------------------------------------- 1 | 0.1 6.283185307 2.380e-03 1.561e-17 1.270e-09 1.468e-02 1.655e-03 3.193e-02 1.742e+04 5.739e-05 0.003906 2 | 0.05 6.283185307 7.375e-04 6.176e-16 3.668e-12 6.005e-02 9.263e-03 1.681e-02 1.164e+05 8.589e-06 0.003906 3 | 0.02 6.283185307 1.181e-04 1.647e-12 2.432e-11 4.679e-01 1.233e-01 6.932e-03 1.623e+06 6.161e-07 0.003906 4 | 0.1 6.283185307 2.380e-03 1.561e-17 1.270e-09 1.468e-02 1.655e-03 3.193e-02 1.742e+04 5.739e-05 0.003906 5 | 0.05 6.283185307 7.375e-04 6.176e-16 3.668e-12 6.005e-02 9.263e-03 1.681e-02 1.164e+05 8.589e-06 0.003906 6 | 0.02 6.283185307 1.181e-04 1.647e-12 2.432e-11 4.679e-01 1.233e-01 6.932e-03 1.623e+06 6.161e-07 0.003906 7 | 0.01 6.283185307 2.985e-05 3.109e-14 4.916e-12 2.500e+00 1.151e+00 3.501e-03 1.249e+07 8.009e-08 0.003906 8 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/results/triData.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{lllllrr} 2 | \toprule 3 | {} & Ev & Ebound & Emass & O & Te & Tr \\ 4 | \midrule 5 | 0 & 8.327e-17 & 1.239e-19 & 1.99e-03 & nan & 0.045372 & 0.03816 \\ 6 | 1 & 1.676e-15 & 4.425e-20 & 4.45e-04 & 2.16 & 0.177320 & 0.15910 \\ 7 | 2 & 1.002e-14 & 2.880e-21 & 1.03e-04 & 2.10 & 0.610100 & 0.47290 \\ 8 | 3 & nan & nan & nan & nan & NaN & NaN \\ 9 | \bottomrule 10 | \end{tabular} 11 | -------------------------------------------------------------------------------- /run/benchmark/Advection/rotationSphereInBox/tmpfile: -------------------------------------------------------------------------------- 1 | Initial water volume V0 = 0.014131434979977 2 | Velocity U0 = (1.1339199129936e-08 -5.6695995649679e-09 -5.6695995649679e-09) 3 | centre (0.5000000340176 0.4999999829912 0.2999999829912) 4 | set alpha1Exact 5 | alpha1Exact0.014131434980132 6 | diff alpha1Exact0.00038041751477302 7 | Time: 3 8 | length 0.00390625 9 | E1/V0 dVrel aMin 1-aMax avg deltaX E1 10 | 0.0269 1.02e-07 0 0 0.003906 0.0003804 11 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -r RDF RDFCell isoInverseDistance 4 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ./generateCases.sh 4 | ./runScanCases2.sh 5 | ./errors2FileTabSepE1 6 | 7 | cd results 8 | gnuplot "gnuHex" 9 | gnuplot "gnuTri" 10 | gnuplot "gnuPoly" 11 | gnuplot "gnuRDFCell_Hex_iter" 12 | gnuplot "gnuRDFCell_Tri_iter" 13 | gnuplot "gnuRDFCell_Poly_iter" 14 | gnuplot "gnuRDF_Hex_iter" 15 | gnuplot "gnuRDF_Tri_iter" 16 | gnuplot "gnuRDF_Poly_iter" 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/E1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Advection/vortexShearedDisc/E1 -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/as.csv: -------------------------------------------------------------------------------- 1 | ,Ev,Ebound,Emass,O,Te,Tr 2 | 0,1.665e-16,1.5139999999999998e-20,0.01261,,0.010118,0.008286 3 | 1,9.714e-17,4.689e-13,0.002614,2.270237229420149,0.023450000000000002,0.01853 4 | 2,1.207e-15,5.266e-12,0.0005707,2.195454673006345,0.053899999999999997,0.03929 5 | 3,9.59e-15,4.142e-14,0.0001047,2.446471120745642,0.12458,0.0803 6 | 4,7.924e-14,3.686e-13,3.507e-05,1.5779521065653581,0.35919999999999996,0.1905 7 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/as.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{lrrrrrr} 2 | \toprule 3 | {} & Ev & Ebound & Emass & O & Te & Tr \\ 4 | \midrule 5 | 0 & 1.665000e-16 & 1.514000e-20 & 0.012610 & NaN & 0.010118 & 0.008286 \\ 6 | 1 & 9.714000e-17 & 4.689000e-13 & 0.002614 & 2.270237 & 0.023450 & 0.018530 \\ 7 | 2 & 1.207000e-15 & 5.266000e-12 & 0.000571 & 2.195455 & 0.053900 & 0.039290 \\ 8 | 3 & 9.590000e-15 & 4.142000e-14 & 0.000105 & 2.446471 & 0.124580 & 0.080300 \\ 9 | 4 & 7.924000e-14 & 3.686000e-13 & 0.000035 & 1.577952 & 0.359200 & 0.190500 \\ 10 | \bottomrule 11 | \end{tabular} 12 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/baseCase/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Source tutorial clean functions 4 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 5 | 6 | cleanTimeDirectories 7 | rm -rf 0 constant/polyMesh/{points,owner,neighbour,faces,boundary} logs* 8 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/baseCase/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | application=$(sed -E -n "s%^application[[:space:]]+([^[:space:]]+);%\1%p" system/controlDict) 4 | jobStart=$(date +"%Y_%m_%d_%H_%M") 5 | 6 | if [ ! -d "logs" ]; 7 | then 8 | mkdir logs 9 | else 10 | mv logs logs_$jobStart 11 | mkdir logs 12 | fi 13 | 14 | if [ ! -d "0" ]; then 15 | cp -r 0.org 0 16 | fi 17 | 18 | #if [ ! -f "constant/polyMesh/points" ]; 19 | #then 20 | # blockMesh > logs/blockMesh.log 2>&1 21 | #fi 22 | 23 | 24 | generateUVortex2D > logs/generateUVortex2D.log 2>&1 25 | #isoSurf > logs/isoSurf.log 2>&1 26 | initAlphaField > logs/initAlphaField.log 2>&1 27 | 28 | 29 | if [ -n "$application" ] 30 | then 31 | $application > logs/${application}.log 2>&1 32 | else 33 | echo 34 | echo "Can not get application name to run. Exiting." 35 | echo 36 | fi 37 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/baseCase/case.foam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Advection/vortexShearedDisc/baseCase/case.foam -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/baseCase/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | value ( 0 -9.81 0 ); 20 | 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/baseCase/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType laminar; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/baseCase/generateUVortex2D/Make/files: -------------------------------------------------------------------------------- 1 | generateUVortex2D.C 2 | 3 | EXE = $(FOAM_USER_APPBIN)/generateUVortex2D 4 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/baseCase/generateUVortex2D/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 3 | -I$(LIB_SRC)/meshTools/lnInclude \ 4 | -I$(LIB_SRC)/sampling/lnInclude 5 | 6 | EXE_LIBS = \ 7 | -lfiniteVolume \ 8 | -lmeshTools \ 9 | -lsampling 10 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/baseCase/triSquare.geo: -------------------------------------------------------------------------------- 1 | nx=replaceNx; 2 | nz=replaceNz; 3 | 4 | Point(1) = {-0, -0.5, 0, 1e+22}; 5 | Point(2) = {1, -0.5, 0, 1e+22}; 6 | Point(3) = {1, -0.5, 1, 1e+22}; 7 | Point(4) = {0, -0.5, 1, 1e+22}; 8 | Line(1) = {1, 2}; 9 | Line(2) = {2, 3}; 10 | Line(3) = {3, 4}; 11 | Line(4) = {4, 1}; 12 | Line Loop(6) = {4, 1, 2, 3}; 13 | 14 | Plane Surface(6) = {6}; 15 | Physical Volume("internal") = {1}; 16 | 17 | Transfinite Line{1} = nx; 18 | Transfinite Line{2} = nz; 19 | Transfinite Line{3} = nx; 20 | Transfinite Line{4} = nz; 21 | 22 | 23 | Extrude {0, 1, 0} { 24 | Surface{6}; 25 | Layers{1}; 26 | Recombine; 27 | } 28 | // Physical Surface("front") = {28}; 29 | // Physical Surface("back") = {6}; 30 | // Physical Surface("bottom") = {27}; 31 | // Physical Surface("left") = {15}; 32 | // Physical Surface("top") = {19}; 33 | // Physical Surface("right") = {23}; 34 | 35 | Physical Surface("back") = {6}; 36 | Physical Surface("rim") = {27, 15, 19, 23}; 37 | Physical Surface("front") = {28}; 38 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/calcTimes2File: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | #applicationList=(isoAdvector interFoam passiveAdvectionFoam passiveAdvectionFoam) 4 | applicationList=(isoAdvector) 5 | #schemeList=(isoAdvector MULES HRIC CICSAM) 6 | schemeList=(isoAdvector) 7 | meshList=(hex tri poly) 8 | #meshList=(hex) 9 | CoList=(0.5) 10 | 11 | #Location of tri meshes 12 | triMeshDir=triMeshes 13 | 14 | calcTimeFile=calcTimes.log 15 | rm $calcTimeFile 16 | 17 | for nn in ${!meshList[*]} 18 | do 19 | meshType=${meshList[$nn]} 20 | 21 | for mm in ${!schemeList[*]} 22 | do 23 | scheme=${schemeList[$mm]} 24 | application=${applicationList[$mm]} 25 | echo $meshType >> $calcTimeFile 26 | echo $scheme >> $calcTimeFile 27 | 28 | #Case location 29 | series=$PWD/$scheme/$meshType 30 | 31 | printHeader=yes 32 | for n in $(ls "$series"); 33 | do 34 | caseDir=$series/$n 35 | echo $caseDir 36 | echo $n >> $calcTimeFile 37 | tail -8 $caseDir/logs/${application}.log > tmpfile 38 | grep "ExecutionTime = " tmpfile >> $calcTimeFile 39 | done 40 | done 41 | done 42 | rm tmpfile 43 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Advection/vortexShearedDisc/input.py -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/results/hex-isoAlpha: -------------------------------------------------------------------------------- 1 | 64 8 8.776e-03 1.388e-16 2.094e-20 1.868e-03 1.489e-03 1.562e-02 4.096e+03 2.441e-04 2 | 128 8 1.484e-03 2.220e-16 4.734e-13 3.268e-03 3.957e-03 7.812e-03 1.638e+04 6.104e-05 3 | 256 8 4.446e-04 1.388e-15 7.818e-14 8.468e-03 1.176e-02 3.906e-03 6.554e+04 1.526e-05 4 | 512 8 1.045e-04 1.019e-14 4.876e-12 2.181e-02 3.816e-02 1.953e-03 2.621e+05 3.815e-06 5 | 64 6 | 128 7 | 256 8 | 512 9 | 64 8 9.405e-04 4.337e-17 5.383e-22 1.773e-03 1.442e-03 1.562e-02 4.096e+03 2.441e-05 10 | 128 8 1.484e-04 1.284e-16 4.734e-14 3.298e-03 4.314e-03 7.812e-03 1.638e+04 6.104e-06 11 | 256 8 4.416e-05 6.765e-16 7.818e-15 8.988e-03 1.246e-02 3.906e-03 6.554e+04 1.526e-06 12 | 512 8 1.045e-05 1.425e-15 4.876e-13 2.252e-02 4.083e-02 1.953e-03 2.621e+05 3.815e-07 13 | 64 14 | 128 15 | 256 16 | 512 17 | 1024 18 | 64 19 | 128 20 | 256 21 | 512 22 | 1024 23 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/results/hex-plicRDF: -------------------------------------------------------------------------------- 1 | 64 8 1.261e-02 1.665e-16 1.514e-20 8.286e-03 1.832e-03 1.562e-02 4.096e+03 2.441e-04 2 | 128 8 2.614e-03 9.714e-17 4.689e-13 1.853e-02 4.920e-03 7.812e-03 1.638e+04 6.104e-05 3 | 256 8 5.707e-04 1.207e-15 5.266e-12 3.929e-02 1.461e-02 3.906e-03 6.554e+04 1.526e-05 4 | 512 8 1.047e-04 9.590e-15 4.142e-14 8.030e-02 4.428e-02 1.953e-03 2.621e+05 3.815e-06 5 | 1024 8 3.507e-05 7.924e-14 3.686e-13 1.905e-01 1.687e-01 9.766e-04 1.049e+06 9.537e-07 6 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/results/hexData.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{lllllrr} 2 | \toprule 3 | {} & Ev & Ebound & Emass & O & Te & Tr \\ 4 | \midrule 5 | 0 & 1.665e-16 & 1.514e-20 & 1.261e-02 & nan & 0.010118 & 0.008286 \\ 6 | 1 & 9.714e-17 & 4.689e-13 & 2.614e-03 & 2.27 & 0.023450 & 0.018530 \\ 7 | 2 & 1.207e-15 & 5.266e-12 & 5.707e-04 & 2.20 & 0.053900 & 0.039290 \\ 8 | 3 & 9.590e-15 & 4.142e-14 & 1.047e-04 & 2.45 & 0.124580 & 0.080300 \\ 9 | 4 & 7.924e-14 & 3.686e-13 & 3.507e-05 & 1.58 & 0.359200 & 0.190500 \\ 10 | \bottomrule 11 | \end{tabular} 12 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/results/poly-isoAlpha: -------------------------------------------------------------------------------- 1 | 40 8 3.508e-03 4.337e-18 2.001e-21 1.657e-03 1.414e-03 2.401e-02 2.092e+03 4.780e-05 2 | 80 8 7.221e-04 1.908e-17 7.835e-22 3.637e-03 3.548e-03 1.195e-02 8.340e+03 1.199e-05 3 | 158 8 1.179e-04 1.743e-16 4.662e-22 9.423e-03 1.299e-02 5.992e-03 3.301e+04 3.029e-06 4 | 317 8 3.195e-05 1.431e-15 1.206e-22 2.861e-02 4.852e-02 2.986e-03 1.326e+05 7.544e-07 5 | 56 6 | 112 7 | 224 8 | 448 9 | 56 8 1.504e-03 9.541e-18 2.109e-21 2.412e-03 2.210e-03 1.700e-02 4.133e+03 2.420e-05 10 | 112 8 2.876e-04 6.072e-17 4.562e-22 5.417e-03 6.075e-03 8.508e-03 1.642e+04 6.092e-06 11 | 224 8 4.488e-05 4.840e-16 2.856e-22 1.720e-02 2.677e-02 4.229e-03 6.616e+04 1.512e-06 12 | 448 8 2.019e-05 5.548e-15 7.241e-23 5.257e-02 1.056e-01 2.112e-03 2.650e+05 3.773e-07 13 | 56 14 | 112 15 | 224 16 | 448 17 | 896 18 | 56 19 | 112 20 | 224 21 | 448 22 | 896 23 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/results/poly-plicRDF: -------------------------------------------------------------------------------- 1 | 56 8 1.292e-02 2.498e-16 2.358e-20 1.105e-02 2.683e-03 1.707e-02 4.133e+03 2.420e-04 2 | 112 8 2.487e-03 6.800e-16 8.169e-21 2.100e-02 7.305e-03 8.544e-03 1.642e+04 6.092e-05 3 | 224 8 4.186e-04 4.399e-15 2.488e-21 4.036e-02 2.785e-02 4.263e-03 6.616e+04 1.512e-05 4 | 448 8 9.292e-05 5.168e-14 6.084e-22 9.110e-02 1.154e-01 2.134e-03 2.650e+05 3.773e-06 5 | 896 8 2.661e-05 1.884e-13 1.657e-22 2.338e-01 4.783e-01 1.069e-03 1.061e+06 9.426e-07 6 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/results/polyData.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{lllllrr} 2 | \toprule 3 | {} & Ev & Ebound & Emass & O & Te & Tr \\ 4 | \midrule 5 | 0 & 2.498e-16 & 2.358e-20 & 1.292e-02 & nan & 0.013733 & 0.01105 \\ 6 | 1 & 6.800e-16 & 8.169e-21 & 2.487e-03 & 2.38 & 0.028305 & 0.02100 \\ 7 | 2 & 4.399e-15 & 2.488e-21 & 4.186e-04 & 2.57 & 0.068210 & 0.04036 \\ 8 | 3 & 5.168e-14 & 6.084e-22 & 9.292e-05 & 2.17 & 0.206500 & 0.09110 \\ 9 | 4 & 1.884e-13 & 1.657e-22 & 2.661e-05 & 1.80 & 0.712100 & 0.23380 \\ 10 | \bottomrule 11 | \end{tabular} 12 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/results/tri-isoAlpha: -------------------------------------------------------------------------------- 1 | 40 8 2.458e-03 1.388e-17 1.498e-21 1.481e-03 1.545e-03 1.376e-02 4.026e+03 2.484e-05 2 | 80 8 3.350e-04 4.857e-17 4.424e-22 3.297e-03 3.780e-03 6.821e-03 1.636e+04 6.112e-06 3 | 158 8 7.052e-05 4.302e-16 3.024e-22 9.769e-03 1.312e-02 3.414e-03 6.539e+04 1.529e-06 4 | 317 8 2.183e-05 5.856e-15 6.755e-23 2.790e-02 4.851e-02 1.699e-03 2.639e+05 3.790e-07 5 | 40 6 | 80 7 | 158 8 | 317 9 | 40 8 2.458e-03 1.388e-17 1.498e-21 1.524e-03 1.396e-03 1.376e-02 4.026e+03 2.484e-05 10 | 80 8 3.350e-04 4.857e-17 4.424e-22 3.927e-03 4.239e-03 6.821e-03 1.636e+04 6.112e-06 11 | 158 8 7.052e-05 4.302e-16 3.024e-22 9.615e-03 1.274e-02 3.414e-03 6.539e+04 1.529e-06 12 | 317 8 2.183e-05 5.856e-15 6.755e-23 2.850e-02 5.214e-02 1.699e-03 2.639e+05 3.790e-07 13 | 40 14 | 80 15 | 158 16 | 317 17 | 634 18 | 40 19 | 80 20 | 158 21 | 317 22 | 634 23 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/results/tri-plicRDF: -------------------------------------------------------------------------------- 1 | 40 8 2.208e-02 9.714e-17 2.727e-20 1.006e-02 1.839e-03 1.376e-02 4.026e+03 2.484e-04 2 | 80 8 3.582e-03 3.469e-16 8.106e-21 1.935e-02 5.082e-03 6.821e-03 1.636e+04 6.112e-05 3 | 158 8 7.514e-04 3.594e-15 1.163e-21 4.302e-02 1.509e-02 3.414e-03 6.539e+04 1.529e-05 4 | 317 8 1.309e-04 5.854e-14 5.323e-22 9.855e-02 5.666e-02 1.699e-03 2.639e+05 3.790e-06 5 | 634 8 3.280e-05 1.132e-13 1.857e-18 2.151e-01 2.440e-01 8.480e-04 1.060e+06 9.438e-07 6 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/results/triData.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{lllllrr} 2 | \toprule 3 | {} & Ev & Ebound & Emass & O & Te & Tr \\ 4 | \midrule 5 | 0 & 9.714e-17 & 2.727e-20 & 2.208e-02 & nan & 0.011899 & 0.01006 \\ 6 | 1 & 3.469e-16 & 8.106e-21 & 3.582e-03 & 2.62 & 0.024432 & 0.01935 \\ 7 | 2 & 3.594e-15 & 1.163e-21 & 7.514e-04 & 2.25 & 0.058110 & 0.04302 \\ 8 | 3 & 5.854e-14 & 5.323e-22 & 1.309e-04 & 2.52 & 0.155210 & 0.09855 \\ 9 | 4 & 1.132e-13 & 1.857e-18 & 3.280e-05 & 2.00 & 0.459100 & 0.21510 \\ 10 | \bottomrule 11 | \end{tabular} 12 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedDisc/tmpfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Advection/vortexShearedDisc/tmpfile -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/E1: -------------------------------------------------------------------------------- 1 | 3 8.554e-05 1.581e-13 7.349e-22 2.586e+00 3.009e+00 4.568e-03 4.137e+06 6.040e-08 2 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/baseCase/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Source tutorial clean functions 4 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 5 | 6 | cleanTimeDirectories 7 | rm -r isoFaces 8 | rm -rf 0 constant/polyMesh/{points,owner,neighbour,faces,boundary} logs* 9 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/baseCase/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #./Allclean 4 | 5 | #nProc=$(sed -ne "s/^numberOfSubdomains *\(.*\);/\1/p" system/decomposeParDict) 6 | application=$(sed -E -n "s%^application[[:space:]]+([^[:space:]]+);%\1%p" system/controlDict) 7 | jobStart=$(date +"%Y%m%d%H%M") 8 | 9 | #cd generateU 10 | #wmake 11 | #cd .. 12 | 13 | if [ ! -d "logs" ]; then 14 | mkdir logs 15 | cp -r 0.org 0 16 | # if [ ! -f "constant/polyMesh/points" ]; then 17 | # blockMesh > logs/blockMesh.log 2>&1 18 | # fi 19 | # generateU/generateU > logs/generateU.log 2>&1 20 | # setAlphaField > logs/setAlphaField.log 2>&1 21 | else 22 | mv logs logs_$jobStart 23 | mkdir logs 24 | fi 25 | 26 | if [ -n "$application" ] 27 | then 28 | decomposePar > logs/${decomposePar}.log 2>&1 29 | mpirun -np 4 $application -parallel > logs/${application}.log 2>&1 30 | else 31 | echo 32 | echo "Can not get application name to run. Exiting." 33 | echo 34 | fi 35 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/baseCase/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | value ( 0 -9.81 0 ); 20 | 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/baseCase/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType laminar; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/baseCase/cube.fms: -------------------------------------------------------------------------------- 1 | 1 2 | ( 3 | wall wall 4 | ) 5 | 8 6 | ( 7 | ( 0 0 1 ) 8 | ( 0 0 0 ) 9 | ( 0 1 1 ) 10 | ( 0 1 0 ) 11 | ( 1 0 1 ) 12 | ( 1 0 0 ) 13 | ( 1 1 1 ) 14 | ( 1 1 0 ) 15 | ) 16 | 12 17 | ( 18 | ((1 0 2) 0) 19 | ((2 3 1) 0) 20 | ((4 5 7) 0) 21 | ((6 4 7) 0) 22 | ((1 5 4) 0) 23 | ((4 0 1) 0) 24 | ((7 3 2) 0) 25 | ((6 7 2) 0) 26 | ((1 3 7) 0) 27 | ((7 5 1) 0) 28 | ((2 0 4) 0) 29 | ((6 2 4) 0) 30 | ) 31 | 12 32 | ( 33 | (1 0) 34 | (0 2) 35 | (2 3) 36 | (3 1) 37 | (4 5) 38 | (6 4) 39 | (7 6) 40 | (5 7) 41 | (1 5) 42 | (4 0) 43 | (7 3) 44 | (2 6) 45 | ) 46 | 0 47 | ( 48 | ) 49 | 0 50 | ( 51 | ) 52 | 1 53 | ( 54 | edges 8 12 ( 0 1 2 3 4 5 6 7 8 9 10 11 ) 55 | ) 56 | 57 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/baseCase/error.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Advection/vortexShearedSphere/baseCase/error.dat -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/baseCase/generateU/Make/files: -------------------------------------------------------------------------------- 1 | generateU.C 2 | 3 | EXE = $(FOAM_USER_APPBIN)/generateU 4 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/baseCase/generateU/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 3 | -I$(LIB_SRC)/meshTools/lnInclude \ 4 | -I$(LIB_SRC)/sampling/lnInclude 5 | 6 | EXE_LIBS = \ 7 | -lfiniteVolume \ 8 | -lmeshTools \ 9 | -lsampling 10 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/baseCase/generateU/generateU: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Advection/vortexShearedSphere/baseCase/generateU/generateU -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/baseCase/smearedSphere.foam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Advection/vortexShearedSphere/baseCase/smearedSphere.foam -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/baseCase/triBlock.geo: -------------------------------------------------------------------------------- 1 | nx=replaceNx; 2 | nz=replaceNz; 3 | 4 | 5 | // Gmsh project created on Mon Jun 12 15:29:01 2017 6 | SetFactory("OpenCASCADE"); 7 | //+ 8 | Block(1) = {0, 0, 0, 1, 1, 1}; 9 | //+ 10 | Transfinite Line {11, 9, 12, 10} = nx Using Progression 1; 11 | //+ 12 | Transfinite Line {7, 6, 5, 8, 3, 4, 1, 2} = nx Using Progression 1; 13 | //+ 14 | Physical Surface("wall") = {6, 2, 4, 3, 5, 1}; 15 | Physical Volume("internal") = {1}; 16 | 17 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/results/hex-isoAlpha: -------------------------------------------------------------------------------- 1 | 32 3 8.030e-03 2.030e-16 3.930e-19 6.542e-03 9.559e-03 3.125e-02 8.192e+03 3.052e-05 2 | 64 3 3.294e-03 1.372e-15 3.858e-18 1.887e-02 2.939e-02 1.562e-02 6.554e+04 3.815e-06 3 | 128 3 5.440e-04 1.143e-15 3.095e-16 7.100e-02 1.599e-01 7.812e-03 5.243e+05 4.768e-07 4 | 256 3 1.222e-04 9.324e-15 2.016e-16 3.393e-01 1.095e+00 3.906e-03 4.194e+06 5.960e-08 5 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/results/hex-plicRDF: -------------------------------------------------------------------------------- 1 | 32 3 8.367e-03 1.076e-16 2.115e-14 4.956e-02 8.983e-03 3.125e-02 8.192e+03 3.052e-05 2 | 64 3 3.257e-03 9.749e-16 6.406e-20 1.340e-01 2.093e-02 1.562e-02 6.554e+04 3.815e-06 3 | 128 3 6.574e-04 3.705e-15 1.109e-15 3.970e-01 1.263e-01 7.812e-03 5.243e+05 4.768e-07 4 | 256 3 9.542e-05 2.030e-14 2.366e-16 1.671e+00 9.611e-01 3.906e-03 4.194e+06 5.960e-08 5 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/results/hex-plicRDFN: -------------------------------------------------------------------------------- 1 | 64 3 3.657e-03 1.544e-16 6.359e-20 5.381e-02 2.324e-02 1.562e-02 3.277e+04 3.815e-06 2 | 128 3 6.393e-04 1.143e-15 1.514e-14 1.924e-01 1.718e-01 7.812e-03 2.621e+05 4.768e-07 3 | 256 3 8.428e-05 1.929e-15 6.652e-17 7.249e-01 8.112e-01 3.906e-03 2.097e+06 5.960e-08 4 | 64 5 | 128 6 | 256 7 | 64 8 | 128 9 | 256 10 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/results/hexData.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{lllllrr} 2 | \toprule 3 | {} & Ev & Ebound & Emass & O & Te & Tr \\ 4 | \midrule 5 | 0 & 1.076e-16 & 2.115e-14 & 8.367e-03 & nan & 0.058543 & 0.04956 \\ 6 | 1 & 9.749e-16 & 6.406e-20 & 3.257e-03 & 1.36 & 0.154930 & 0.13400 \\ 7 | 2 & 3.705e-15 & 1.109e-15 & 6.574e-04 & 2.31 & 0.523300 & 0.39700 \\ 8 | 3 & 2.030e-14 & 2.366e-16 & 9.542e-05 & 2.78 & 2.632100 & 1.67100 \\ 9 | \bottomrule 10 | \end{tabular} 11 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/results/poly-plicRDF: -------------------------------------------------------------------------------- 1 | 0.05 3 1.219e-02 1.023e-16 2.768e-18 6.198e-02 1.008e-02 3.650e-02 7.813e+03 3.185e-05 2 | 0.021 3 3.320e-03 9.524e-16 2.893e-15 2.159e-01 4.391e-02 1.776e-02 6.903e+04 3.613e-06 3 | 0.0105 3 5.501e-04 5.933e-16 2.323e-15 6.127e-01 2.775e-01 9.215e-03 5.007e+05 4.987e-07 4 | 0.0051 3 8.554e-05 1.581e-13 7.349e-22 2.586e+00 3.009e+00 4.568e-03 4.137e+06 6.040e-08 5 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/results/poly-plicRDFN: -------------------------------------------------------------------------------- 1 | 0.05 3 1.195e-02 2.949e-17 2.992e-18 3.277e-02 1.083e-02 3.641e-02 3.957e+03 3.185e-05 2 | 0.025 3 4.660e-03 8.500e-17 1.437e-16 9.130e-02 3.479e-02 2.017e-02 2.387e+04 5.261e-06 3 | 0.0125 3 8.789e-04 1.612e-15 9.980e-16 2.629e-01 2.157e-01 1.074e-02 1.597e+05 7.855e-07 4 | 0.05 5 | 0.025 6 | 0.0125 7 | 0.05 8 | 0.025 9 | 0.0125 10 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/results/polyData.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{lllllrr} 2 | \toprule 3 | {} & Ev & Ebound & Emass & O & Te & Tr \\ 4 | \midrule 5 | 0 & 1.023e-16 & 2.768e-18 & 1.219e-02 & nan & 0.07206 & 0.06198 \\ 6 | 1 & 9.524e-16 & 2.893e-15 & 3.320e-03 & 1.88 & 0.25981 & 0.21590 \\ 7 | 2 & 5.933e-16 & 2.323e-15 & 5.501e-04 & 2.59 & 0.89020 & 0.61270 \\ 8 | 3 & 1.581e-13 & 7.349e-22 & 8.554e-05 & 2.69 & 5.59500 & 2.58600 \\ 9 | \bottomrule 10 | \end{tabular} 11 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/results/tri-isoAlpha: -------------------------------------------------------------------------------- 1 | 0.05 3 6.543e-03 2.914e-16 5.026e-19 7.916e-03 1.184e-02 1.680e-02 1.466e+04 8.589e-06 2 | 0.025 3 2.277e-03 9.489e-16 2.223e-17 2.297e-02 5.750e-02 8.620e-03 1.063e+05 1.180e-06 3 | 0.0125 3 3.649e-04 2.852e-14 1.827e-16 1.039e-01 3.394e-01 4.365e-03 8.087e+05 1.549e-07 4 | 0.05 5 | 0.025 6 | 0.0125 7 | 0.05 8 | 0.025 9 | 0.0125 10 | 22 11 | 44 12 | 88 13 | 174 14 | 22 15 | 44 16 | 88 17 | 174 18 | 22 19 | 44 20 | 88 21 | 174 22 | 22 23 | 44 24 | 88 25 | 174 26 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/results/tri-plicRDF: -------------------------------------------------------------------------------- 1 | 22 3 1.318e-02 1.648e-16 4.501e-18 9.026e-02 7.889e-03 2.515e-02 8.392e+03 3.005e-05 2 | 44 3 6.340e-03 9.558e-16 4.143e-19 3.004e-01 2.150e-02 1.277e-02 6.384e+04 3.856e-06 3 | 88 3 1.313e-03 7.752e-15 7.656e-21 1.250e+00 2.047e-01 6.261e-03 5.663e+05 4.453e-07 4 | 174 3 1.931e-04 7.206e-14 2.516e-20 4.129e+00 1.460e+00 3.236e-03 4.119e+06 6.124e-08 5 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/results/tri-plicRDFN: -------------------------------------------------------------------------------- 1 | 0.05 3 8.056e-03 2.776e-16 2.153e-19 3.937e-02 9.837e-03 1.680e-02 1.466e+04 8.589e-06 2 | 0.025 3 2.569e-03 8.916e-16 1.581e-20 1.150e-01 2.995e-02 8.620e-03 1.063e+05 1.180e-06 3 | 0.0125 3 3.513e-04 2.640e-14 5.452e-20 3.964e-01 2.045e-01 4.365e-03 8.087e+05 1.549e-07 4 | 0.05 5 | 0.025 6 | 0.0125 7 | 0.05 8 | 0.025 9 | 0.0125 10 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/results/triData.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{lllllrr} 2 | \toprule 3 | {} & Ev & Ebound & Emass & O & Te & Tr \\ 4 | \midrule 5 | 0 & 1.648e-16 & 4.501e-18 & 1.318e-02 & nan & 0.098149 & 0.09026 \\ 6 | 1 & 9.558e-16 & 4.143e-19 & 6.340e-03 & 1.06 & 0.321900 & 0.30040 \\ 7 | 2 & 7.752e-15 & 7.656e-21 & 1.313e-03 & 2.27 & 1.454700 & 1.25000 \\ 8 | 3 & 7.206e-14 & 2.516e-20 & 1.931e-04 & 2.77 & 5.589000 & 4.12900 \\ 9 | \bottomrule 10 | \end{tabular} 11 | -------------------------------------------------------------------------------- /run/benchmark/Advection/vortexShearedSphere/tmpfile: -------------------------------------------------------------------------------- 1 | Initial water volume V0 = 0.014131434979977 2 | Velocity U0 = (1.1339199129936e-08 -5.6695995649679e-09 -5.6695995649679e-09) 3 | centre (0.5000000340176 0.4999999829912 0.2999999829912) 4 | set alpha1Exact 5 | alpha1Exact0.014131434980132 6 | diff alpha1Exact0.00038041751477302 7 | Time: 3 8 | length 0.00390625 9 | E1/V0 dVrel aMin 1-aMax avg deltaX E1 10 | 0.0269 1.02e-07 0 0 0.003906 0.0003804 11 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -r RDF RDFCell isoInverseDistance 4 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ./generateScanCases.sh 4 | ./generateIterCases.sh 5 | ./runScanCases2.sh 6 | ./errors2FileTabSepE1 7 | 8 | cd results 9 | gnuplot "gnuHex" 10 | gnuplot "gnuTri_iter" 11 | gnuplot "gnuTriPos" 12 | gnuplot "gnuPoly" 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/E1: -------------------------------------------------------------------------------- 1 | 0.001 6.53987266765466e-05 6.67136848552770e-07 4.31938297510981e-05 1.22460273087304e-05 6.22999999999999e-02 0.00000000000000e+00 7.90299489002967e-03 7.57540000000000e+04 2.64012461388178e-06 2 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/baseCase/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -rf [1-9] *.[0-9]* [0-9][0-9] [0-9][0-9].[0-9]* logs/* logs_* -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/baseCase/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 4 | application=$(sed -ne "s/^application\s*\(.*\);/\1/p" system/controlDict) 5 | 6 | runApplication $(getApplication) 7 | 8 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/baseCase/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | value ( 0 -9.81 0 ); 20 | 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/baseCase/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType laminar; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/baseCase/system/initAlphaFieldDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | field "alpha1"; 19 | function functionDisc; 20 | radius 0.5; 21 | direction (0 1 0); 22 | centre (1.0 0 1.0); 23 | 24 | 25 | // ************************************************************************* // 26 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/baseCase/system/setAlphaFieldDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | field "alpha1"; 19 | type cylinder; 20 | radius 0.49999999; 21 | direction (0 1 0); 22 | centre (1.01 0 1.01); 23 | 24 | 25 | // ************************************************************************* // 26 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/baseCase/test.foam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/Recon2D/baseCase/test.foam -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/baseCase/touch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/Recon2D/baseCase/touch -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/baseCase/triSquare.geo: -------------------------------------------------------------------------------- 1 | nx=replaceNx; 2 | nz=replaceNz; 3 | 4 | Point(1) = {-0, -0.05, 0, 1e+22}; 5 | Point(2) = {2, -0.05, 0, 1e+22}; 6 | Point(3) = {2, -0.05, 2, 1e+22}; 7 | Point(4) = {0, -0.05, 2, 1e+22}; 8 | Line(1) = {1, 2}; 9 | Line(2) = {2, 3}; 10 | Line(3) = {3, 4}; 11 | Line(4) = {4, 1}; 12 | Line Loop(6) = {4, 1, 2, 3}; 13 | 14 | Plane Surface(6) = {6}; 15 | Physical Volume("internal") = {1}; 16 | 17 | Transfinite Line{1} = nx; 18 | Transfinite Line{2} = nz; 19 | Transfinite Line{3} = nx; 20 | Transfinite Line{4} = nz; 21 | 22 | Extrude {0, 0.1, 0} { 23 | Surface{6}; 24 | Layers{1}; 25 | Recombine; 26 | } 27 | // Physical Surface("front") = {28}; 28 | // Physical Surface("back") = {6}; 29 | // Physical Surface("bottom") = {27}; 30 | // Physical Surface("left") = {15}; 31 | // Physical Surface("top") = {19}; 32 | // Physical Surface("right") = {23}; 33 | 34 | Physical Surface("back") = {6}; 35 | Physical Surface("rim") = {27, 15, 19, 23}; 36 | Physical Surface("front") = {28}; 37 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/generateIterCases.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | #appList=(reconstructError) 4 | #reconSchemeList=(isoInverseDistance isoAdvection RDFCell RDFPoints gradAlphaSmoothed gradAlpha RDF perfectRDFPoints) 5 | reconSchemeList=(plicRDFN isoRDFN) 6 | #appList=(isoAdvector isoAdvectorRDF isoAdvectorPerfectRDF isoAdvectorRDFITER) 7 | 8 | #schemeList=(isoAdvector isoAdvectorRDF isoAdvectorPerfectRDF isoAdvectorRDFITER) 9 | IterCount=(2 3 5) # tri poly) 10 | #CoList=(0) 11 | 12 | #RDF 13 | 14 | 15 | 16 | for mm in ${!reconSchemeList[*]} 17 | do 18 | reconScheme=${reconSchemeList[$mm]} 19 | for nn in ${!IterCount[*]} 20 | do 21 | 22 | iterNum=${IterCount[$nn]} 23 | newRecon=$reconScheme$iterNum 24 | 25 | cp -r $reconScheme $newRecon 26 | find $newRecon -name "fvSolution" -exec sed -i -e "s/ITERCOUNT/$iterNum/g" {} \; 27 | 28 | 29 | 30 | done 31 | rm -r $reconScheme 32 | done 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/ofset: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sed -i "s/${1}\s.*;/${1}\t${2};/" ${3} 4 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/ofset2: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sed -i "s/${1}/${2}/" ${3} 4 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/results/Recon-Circle-hex-pos.eps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/Recon2D/results/Recon-Circle-hex-pos.eps -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/results/Recon-Circle-hex.eps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/Recon2D/results/Recon-Circle-hex.eps -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/results/Recon-Circle-poly-pos.eps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/Recon2D/results/Recon-Circle-poly-pos.eps -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/results/Recon-Circle-poly.eps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/Recon2D/results/Recon-Circle-poly.eps -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/results/Recon-Circle-tri-pos.eps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/Recon2D/results/Recon-Circle-tri-pos.eps -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon2D/results/Recon-Circle-tri_iter.eps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/Recon2D/results/Recon-Circle-tri_iter.eps -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -r RDF RDFCell isoInverseDistance 4 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ./generateScanCases.sh 4 | ./runScanCases2.sh 5 | ./errors2FileTabSepE1 6 | 7 | cd results 8 | gnuplot "gnuHex" 9 | gnuplot "gnuTri" 10 | gnuplot "gnuTriPos" 11 | gnuplot "gnuPoly" 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/E1: -------------------------------------------------------------------------------- 1 | # Time reconstructionError 2 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/baseCase/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -rf [1-9] *.[0-9]* [0-9][0-9] [0-9][0-9].[0-9]* logs/* logs_* -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/baseCase/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 4 | application=$(sed -ne "s/^application\s*\(.*\);/\1/p" system/controlDict) 5 | 6 | #isoSurf > logs/isoSurf.log 2>&1 7 | 8 | runApplication $(getApplication) 9 | 10 | 11 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/baseCase/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | value ( 0 -9.81 0 ); 20 | 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/baseCase/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType laminar; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/baseCase/cube.fms: -------------------------------------------------------------------------------- 1 | 1 2 | ( 3 | wall wall 4 | ) 5 | 8 6 | ( 7 | ( 0 0 1 ) 8 | ( 0 0 0 ) 9 | ( 0 1 1 ) 10 | ( 0 1 0 ) 11 | ( 1 0 1 ) 12 | ( 1 0 0 ) 13 | ( 1 1 1 ) 14 | ( 1 1 0 ) 15 | ) 16 | 12 17 | ( 18 | ((1 0 2) 0) 19 | ((2 3 1) 0) 20 | ((4 5 7) 0) 21 | ((6 4 7) 0) 22 | ((1 5 4) 0) 23 | ((4 0 1) 0) 24 | ((7 3 2) 0) 25 | ((6 7 2) 0) 26 | ((1 3 7) 0) 27 | ((7 5 1) 0) 28 | ((2 0 4) 0) 29 | ((6 2 4) 0) 30 | ) 31 | 12 32 | ( 33 | (1 0) 34 | (0 2) 35 | (2 3) 36 | (3 1) 37 | (4 5) 38 | (6 4) 39 | (7 6) 40 | (5 7) 41 | (1 5) 42 | (4 0) 43 | (7 3) 44 | (2 6) 45 | ) 46 | 0 47 | ( 48 | ) 49 | 0 50 | ( 51 | ) 52 | 1 53 | ( 54 | edges 8 12 ( 0 1 2 3 4 5 6 7 8 9 10 11 ) 55 | ) 56 | 57 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/baseCase/hexBlock.geo: -------------------------------------------------------------------------------- 1 | nx=replaceNx; 2 | nz=replaceNx; 3 | 4 | 5 | // Gmsh project created on Mon Jun 12 15:29:01 2017 6 | SetFactory("OpenCASCADE"); 7 | //+ 8 | Block(1) = {0, 0, 0, 1, 1, 1}; 9 | //+ 10 | Transfinite Line {11, 9, 12, 10} = nx Using Progression 1; 11 | //+ 12 | Transfinite Line {7, 6, 5, 8, 3, 4, 1, 2} = nx Using Progression 1; 13 | //+ 14 | Physical Surface("wall") = {6, 2, 4, 3, 5, 1}; 15 | Physical Volume("internal") = {1}; 16 | 17 | //+ 18 | Transfinite Surface {6}; 19 | //+ 20 | Transfinite Surface {4}; 21 | //+ 22 | Transfinite Surface {1}; 23 | //+ 24 | Transfinite Surface {5}; 25 | //+ 26 | Transfinite Surface {2}; 27 | //+ 28 | Transfinite Surface {3}; 29 | 30 | Recombine Surface "*"; 31 | Transfinite Volume "*"; 32 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/baseCase/system/cube.fms: -------------------------------------------------------------------------------- 1 | 1 2 | ( 3 | wall wall 4 | ) 5 | 8 6 | ( 7 | ( 0 0 1 ) 8 | ( 0 0 0 ) 9 | ( 0 1 1 ) 10 | ( 0 1 0 ) 11 | ( 1 0 1 ) 12 | ( 1 0 0 ) 13 | ( 1 1 1 ) 14 | ( 1 1 0 ) 15 | ) 16 | 12 17 | ( 18 | ((1 0 2) 0) 19 | ((2 3 1) 0) 20 | ((4 5 7) 0) 21 | ((6 4 7) 0) 22 | ((1 5 4) 0) 23 | ((4 0 1) 0) 24 | ((7 3 2) 0) 25 | ((6 7 2) 0) 26 | ((1 3 7) 0) 27 | ((7 5 1) 0) 28 | ((2 0 4) 0) 29 | ((6 2 4) 0) 30 | ) 31 | 12 32 | ( 33 | (1 0) 34 | (0 2) 35 | (2 3) 36 | (3 1) 37 | (4 5) 38 | (6 4) 39 | (7 6) 40 | (5 7) 41 | (1 5) 42 | (4 0) 43 | (7 3) 44 | (2 6) 45 | ) 46 | 0 47 | ( 48 | ) 49 | 0 50 | ( 51 | ) 52 | 1 53 | ( 54 | edges 8 12 ( 0 1 2 3 4 5 6 7 8 9 10 11 ) 55 | ) 56 | 57 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/baseCase/system/initAlphaFieldDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | field "alpha1"; 19 | function functionSphere; 20 | centre (0.50 0.50 0.50); 21 | radius 0.25; 22 | 23 | 24 | // ************************************************************************* // 25 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/baseCase/system/isoSurfDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | field "alpha1"; 19 | centre (0.51 0.51 0.51); 20 | type sphere; 21 | radius 0.25; 22 | 23 | 24 | 25 | 26 | // ************************************************************************* // 27 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/baseCase/system/setAlphaFieldDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | field "alpha1"; 19 | centre (0.51 0.51 0.51); 20 | type sphere; 21 | radius 0.25; 22 | 23 | 24 | // ************************************************************************* // 25 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/baseCase/test.foam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/Recon3D/baseCase/test.foam -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/baseCase/touch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/Recon3D/baseCase/touch -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/baseCase/triBlock.geo: -------------------------------------------------------------------------------- 1 | nx=replaceNx; 2 | nz=replaceNz; 3 | 4 | 5 | // Gmsh project created on Mon Jun 12 15:29:01 2017 6 | SetFactory("OpenCASCADE"); 7 | //+ 8 | Block(1) = {0, 0, 0, 1, 1, 1}; 9 | //+ 10 | Transfinite Line {11, 9, 12, 10} = nx Using Progression 1; 11 | //+ 12 | Transfinite Line {7, 6, 5, 8, 3, 4, 1, 2} = nx Using Progression 1; 13 | //+ 14 | Physical Surface("wall") = {6, 2, 4, 3, 5, 1}; 15 | Physical Volume("internal") = {1}; 16 | 17 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/ofset: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sed -i "s/${1}\s.*;/${1}\t${2};/" ${3} 4 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/ofset2: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sed -i "s/${1}/${2}/" ${3} 4 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/results/Recon3D-Circle-hex-pos.eps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/Recon3D/results/Recon3D-Circle-hex-pos.eps -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/results/Recon3D-Circle-hex.eps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/Recon3D/results/Recon3D-Circle-hex.eps -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/results/Recon3D-Circle-poly-pos.eps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/Recon3D/results/Recon3D-Circle-poly-pos.eps -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/results/Recon3D-Circle-poly.eps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/Recon3D/results/Recon3D-Circle-poly.eps -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/results/Recon3D-Circle-tri-pos.eps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/Recon3D/results/Recon3D-Circle-tri-pos.eps -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/results/Recon3D-Circle-tri.eps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/Recon3D/results/Recon3D-Circle-tri.eps -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/results/hex-isoRDF: -------------------------------------------------------------------------------- 1 | 15 0.001 2.59607069196540e-02 1.55201438774918e-03 7.69457965681827e-03 4.65002332051783e-03 1.81000000000000e-02 0.00000000000000e+00 7.14285714285653e-02 2.74400000000000e+03 3.64431486880471e-04 2 | 30 0.001 6.49574533574837e-03 3.42169664427083e-04 1.78052417612728e-03 1.08371450331541e-03 6.08999999999999e-02 0.00000000000000e+00 3.44827586206607e-02 2.43890000000000e+04 4.10020911066638e-05 3 | 60 0.001 1.30981174186873e-03 8.08587520284469e-05 4.29877154732833e-04 2.62078349920898e-04 2.46700000000000e-01 0.00000000000000e+00 1.69491525424328e-02 2.05379000000000e+05 4.86904698141755e-06 4 | 120 0.001 3.16518183855807e-04 1.96789796073418e-05 1.05574188905583e-04 6.44281078522568e-05 1.25490000000000e+00 0.00000000000000e+00 8.40336134513560e-03 1.68515900000000e+06 5.93415814160491e-07 5 | 240 0.001 7.91176450013475e-05 4.86089941966955e-06 2.62240169695838e-05 1.59745037894223e-05 6.37630000000000e+00 0.00000000000000e+00 4.18410041875576e-03 1.36519190000000e+07 7.32497753567384e-08 6 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/results/tri-gradAlpha: -------------------------------------------------------------------------------- 1 | 15 0.001 1.65503518707674e-01 1.55781862358094e-02 1.28247254690728e-02 4.38861336136707e-03 4.10000000000000e-03 0.00000000000000e+00 3.58937252740011e-02 1.13480000000000e+04 8.81212548466691e-05 2 | 30 0.001 1.35884910825465e-01 7.64208325121439e-03 3.72687751357709e-03 9.01368814260375e-04 2.14000000000000e-02 0.00000000000000e+00 1.83627929324817e-02 8.73560000000000e+04 1.14474105957232e-05 3 | 60 0.001 1.41572559489620e-01 5.79866482000074e-03 2.62807404897319e-03 2.50436048350762e-04 1.24700000000000e-01 0.00000000000000e+00 9.43632461886620e-03 6.50395000000000e+05 1.53752719501228e-06 4 | 120 0.001 1.39393677442344e-01 5.33070767012039e-03 1.12102361292432e-03 5.78030778825965e-05 7.52900000000000e-01 0.00000000000000e+00 4.74034814372471e-03 5.18230000000000e+06 1.92964513825913e-07 5 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/results/tri-isoAlpha: -------------------------------------------------------------------------------- 1 | 15 0.001 8.48719741343181e-01 4.54943209738950e-02 1.16670230781075e-02 4.28875872721476e-03 7.00000000000000e-04 0.00000000000000e+00 3.58937252740011e-02 1.13480000000000e+04 8.81212548466691e-05 2 | 30 0.001 7.90831791968837e-01 2.64306460475557e-02 3.60706192734439e-03 8.84348133095667e-04 1.29000000000000e-02 0.00000000000000e+00 1.83627929324817e-02 8.73560000000000e+04 1.14474105957232e-05 3 | 60 0.001 7.82712703491557e-01 2.20818226661797e-02 1.69435085826966e-03 2.46028120520557e-04 6.45999999999999e-02 0.00000000000000e+00 9.43632461886620e-03 6.50395000000000e+05 1.53752719501228e-06 4 | 120 0.001 9.16601125669709e-01 2.11277071846485e-02 9.19566456770549e-04 5.75441005381512e-05 4.85700000000000e-01 0.00000000000000e+00 4.74034814372471e-03 5.18230000000000e+06 1.92964513825913e-07 5 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/results/tri-isoRDF: -------------------------------------------------------------------------------- 1 | 15 0.001 1.06538941057002e-01 8.22047541201082e-03 1.13923276639959e-02 4.45759538016838e-03 4.79999999999999e-02 0.00000000000000e+00 3.58937252740011e-02 1.13480000000000e+04 8.81212548466691e-05 2 | 30 0.001 2.45700024586494e-02 1.78961346381855e-03 3.11020349210614e-03 9.19965762315497e-04 2.51100000000000e-01 0.00000000000000e+00 1.83627929324817e-02 8.73560000000000e+04 1.14474105957232e-05 3 | 60 0.001 6.55564816230436e-03 5.03502406510944e-04 8.27498140340999e-04 2.55569671817057e-04 1.16190000000000e+00 0.00000000000000e+00 9.43632461886620e-03 6.50395000000000e+05 1.53752719501228e-06 4 | 120 0.001 1.80270799956694e-03 1.17059596952110e-04 2.12160923412558e-04 5.88619536512797e-05 7.45670000000000e+00 0.00000000000000e+00 4.74051304875127e-03 5.18176800000000e+06 1.92984325041179e-07 5 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/results/tri-isoRDF2: -------------------------------------------------------------------------------- 1 | 15 0.001 1.06538300109004e-01 8.22016588951467e-03 1.13924194855436e-02 4.45766315320360e-03 4.70999999999999e-02 0.00000000000000e+00 3.58937252740011e-02 1.13480000000000e+04 8.81212548466691e-05 2 | 30 0.001 2.45710595750617e-02 1.78959738144193e-03 3.11019470611787e-03 9.19965351738559e-04 2.48700000000000e-01 0.00000000000000e+00 1.83627929324817e-02 8.73560000000000e+04 1.14474105957232e-05 3 | 60 0.001 6.55625524305670e-03 5.03501218718144e-04 8.27497537432248e-04 2.55569663887825e-04 1.12120000000000e+00 0.00000000000000e+00 9.43632461886620e-03 6.50395000000000e+05 1.53752719501228e-06 4 | 120 0.001 1.80184191910515e-03 1.17059349509284e-04 2.12160749779478e-04 5.88619525344147e-05 7.30250000000000e+00 0.00000000000000e+00 4.74051304875127e-03 5.18176800000000e+06 1.92984325041179e-07 5 | 6 | 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/Recon3D/results/tri-plicRDF: -------------------------------------------------------------------------------- 1 | 15 0.001 6.47268796476382e-02 5.29823079796972e-03 1.13594746151415e-02 4.46156493003082e-03 2.23000000000000e-02 0.00000000000000e+00 3.58937252740011e-02 1.13480000000000e+04 8.81212548466691e-05 2 | 30 0.001 1.50146872932382e-02 1.05502742441688e-03 3.07530567377062e-03 9.20107009856453e-04 1.57100000000000e-01 0.00000000000000e+00 1.83627929324817e-02 8.73560000000000e+04 1.14474105957232e-05 3 | 60 0.001 4.17908015862789e-03 2.99275561873287e-04 8.26937216801327e-04 2.55552992984190e-04 6.76399999999999e-01 0.00000000000000e+00 9.43632461886620e-03 6.50395000000000e+05 1.53752719501228e-06 4 | 120 0.001 1.09997207440005e-03 6.84591831791417e-05 2.12137767532872e-04 5.88623835260202e-05 5.83210000000000e+00 0.00000000000000e+00 4.74051304875127e-03 5.18176800000000e+06 1.92984325041179e-07 5 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -r RDF RDFCell isoInverseDistance 4 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ./generateScanCases.sh 4 | ./runScanCases2.sh 5 | ./errors2FileTabSepE1 6 | 7 | cd results 8 | gnuplot "gnuHex" 9 | gnuplot "gnuTri" 10 | gnuplot "gnuPoly" 11 | gnuplot "gnuRDFCell_Hex_iter" 12 | gnuplot "gnuRDFCell_Tri_iter" 13 | gnuplot "gnuRDFCell_Poly_iter" 14 | gnuplot "gnuRDF_Hex_iter" 15 | gnuplot "gnuRDF_Tri_iter" 16 | gnuplot "gnuRDF_Poly_iter" 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/E1: -------------------------------------------------------------------------------- 1 | 0.001 3.93668413626007e-01 8.74376867584053e-03 1.07766133277110e-03 1.08527184502830e-05 3.63000000000000e-02 0.00000000000000e+00 4.49921913370220e-03 1.50550000000000e+05 2.65692460976423e-06 2 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/baseCase/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -rf [1-9] *.[0-9]* [0-9][0-9] [0-9][0-9].[0-9]* logs/* logs_* -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/baseCase/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 4 | application=$(sed -ne "s/^application\s*\(.*\);/\1/p" system/controlDict) 5 | 6 | runApplication $(getApplication) 7 | 8 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/baseCase/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | value ( 0 -9.81 0 ); 20 | 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/baseCase/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType laminar; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/baseCase/test.foam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/ReconCompare2D/baseCase/test.foam -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/baseCase/touch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/ReconCompare2D/baseCase/touch -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/baseCase/triSquare.geo: -------------------------------------------------------------------------------- 1 | nx=replaceNx; 2 | nz=replaceNz; 3 | 4 | Point(1) = {-0, -0.05, 0, 1e+22}; 5 | Point(2) = {2, -0.05, 0, 1e+22}; 6 | Point(3) = {2, -0.05, 2, 1e+22}; 7 | Point(4) = {0, -0.05, 2, 1e+22}; 8 | Line(1) = {1, 2}; 9 | Line(2) = {2, 3}; 10 | Line(3) = {3, 4}; 11 | Line(4) = {4, 1}; 12 | Line Loop(6) = {4, 1, 2, 3}; 13 | 14 | Plane Surface(6) = {6}; 15 | Physical Volume("internal") = {1}; 16 | 17 | Transfinite Line{1} = nx; 18 | Transfinite Line{2} = nz; 19 | Transfinite Line{3} = nx; 20 | Transfinite Line{4} = nz; 21 | 22 | Extrude {0, 0.1, 0} { 23 | Surface{6}; 24 | Layers{1}; 25 | Recombine; 26 | } 27 | // Physical Surface("front") = {28}; 28 | // Physical Surface("back") = {6}; 29 | // Physical Surface("bottom") = {27}; 30 | // Physical Surface("left") = {15}; 31 | // Physical Surface("top") = {19}; 32 | // Physical Surface("right") = {23}; 33 | 34 | Physical Surface("back") = {6}; 35 | Physical Surface("rim") = {27, 15, 19, 23}; 36 | Physical Surface("front") = {28}; 37 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/ofset: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sed -i "s/${1}\s.*;/${1}\t${2};/" ${3} 4 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/ofset2: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sed -i "s/${1}/${2}/" ${3} 4 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIto/GLS.dat: -------------------------------------------------------------------------------- 1 | 5.044907840027555, 0.003442247595686089 2 | 9.9744010762639, 0.0009760536373079001 3 | 19.889110910845492, 0.0002701338121133005 4 | 40.68008917768089, 0.00006464371632490065 5 | 81.10214134406846, 0.00001584893192461114 6 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIto/HF.dat: -------------------------------------------------------------------------------- 1 | 5.038016029539893, 0.001370383450663168 2 | 9.95217884901354, 0.0002171911402017426 3 | 19.84265784657222, 0.00005589441576403378 4 | 40.24848486267991, 0.00001546940765246202 5 | 79.56187497707091, 0.000003885739518570984 6 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIto/L1TriIto.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/ReconCompare2D/results/DataIto/L1TriIto.PNG -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIto/PY.dat: -------------------------------------------------------------------------------- 1 | 5.096072776901024, 0.009760536373078992 2 | 9.989123669386675, 0.0026366508987303583 3 | 20.477559452265503, 0.002905078650510858 4 | 40.54786313197406, 0.002279789435643565 5 | 80.31531361587227, 0.0022251967709560265 6 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/hexCyl/EHF.dat: -------------------------------------------------------------------------------- 1 | 5.992189380268889 0.008745294484853847 2 | 10.93301659005683 0.0043996856580394515 3 | 20.955243517932402 0.0006514585713643827 4 | 40.82540674999583 0.00008228820260779344 5 | 80.49485558394092 0.000016735898800409477 6 | 160.64467857605138 0.000003989236123433079 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/hexCyl/EHFHexCyl.csv: -------------------------------------------------------------------------------- 1 | "L1(No), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:08:05" 3 | 4 | 5 | 6 6 | No,L1 7 | 5.99544,0.00987152, 8 | 11.0560,0.00914719, 9 | 20.9817,0.00706360, 10 | 40.9251,0.00481559, 11 | 81.0134,0.00310941, 12 | 160.917,0.00155803, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/hexCyl/HexaHedraCyl.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/hexCyl/HexaHedraCyl.PNG -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/hexCyl/LVIRA.dat: -------------------------------------------------------------------------------- 1 | 5.99164398034302 0.01075053019486589 2 | 10.977505943356132 0.004399562437951242 3 | 20.86593325151636 0.0010490498999303338 4 | 40.63746627163606 0.00028852203220484734 5 | 80.11644235233376 0.00007328961917076373 6 | 160.5356107733682 0.00001861475370911311 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/hexCyl/LVIRAHexCyl.csv: -------------------------------------------------------------------------------- 1 | "L1(No), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:06:58" 3 | 4 | 5 | 6 6 | No,L1 7 | 6.01586,0.0100892, 8 | 11.0182,0.00914718, 9 | 21.1246,0.00759573, 10 | 40.9653,0.00618459, 11 | 81.0907,0.00471544, 12 | 161.069,0.00324146, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/hexCyl/PY.dat: -------------------------------------------------------------------------------- 1 | 5.971331801768113 0.0023783055018122418 2 | 10.935619604488403 0.0025641190021237197 3 | 20.944242169832037 0.002143530930835755 4 | 40.768276986433854 0.0019708433910357406 5 | 80.32595183295011 0.001961646960438798 6 | 159.55732678651603 0.0019523840788623057 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/hexCyl/PyHexCyl.csv: -------------------------------------------------------------------------------- 1 | "L1(No), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:07:24" 3 | 4 | 5 | 6 6 | No,L1 7 | 6.02385,0.00849770, 8 | 11.0065,0.00851831, 9 | 21.0987,0.00833586, 10 | 41.0489,0.00826953, 11 | 80.9641,0.00830482, 12 | 160.607,0.00827240, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/hexSphere/EHF.dat: -------------------------------------------------------------------------------- 1 | 5.923292468497173 0.010278484347098464 2 | 10.866785210921977 0.005319645962233586 3 | 20.95557775277596 0.001051104978082055 4 | 41.08832256930621 0.00011227181876452005 5 | 81.57411044672016 0.00002308767016981151 6 | 161.9519873061115 0.0000055739989192029215 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/hexSphere/EHFHexSphere.csv: -------------------------------------------------------------------------------- 1 | "L1(No), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:09:32" 3 | 4 | 5 | 6 6 | No,L1 7 | 5.96698,0.0102208, 8 | 10.9304,0.00527333, 9 | 20.9658,0.00105712, 10 | 40.9660,0.000109535, 11 | 80.9490,2.28741e-05, 12 | 160.865,5.54060e-06, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/hexSphere/HexaHedraSphere.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/hexSphere/HexaHedraSphere.PNG -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/hexSphere/LVIRA.dat: -------------------------------------------------------------------------------- 1 | 5.923292468497173 0.022620891881501376 2 | 10.866785210921977 0.008960543295814919 3 | 20.868661028850713 0.0022522900374764903 4 | 40.917901957121714 0.0006215943317591697 5 | 81.23576833462033 0.00015831410960010758 6 | 161.9519873061115 0.00003925625044322418 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/hexSphere/LVIRAHexSphere.csv: -------------------------------------------------------------------------------- 1 | "L1(No), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:10:39" 3 | 4 | 5 | 6 6 | No,L1 7 | 5.97231,0.0231933, 8 | 10.9285,0.00926513, 9 | 20.9369,0.00226905, 10 | 40.8506,0.000625737, 11 | 81.0858,0.000161428, 12 | 160.583,4.10318e-05, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/hexSphere/PY.dat: -------------------------------------------------------------------------------- 1 | 5.923292468497173 0.005267523698826117 2 | 11.048957413047098 0.003561617343504767 3 | 20.95557775277596 0.002644181450415904 4 | 41.08832256930621 0.0024967067322222754 5 | 81.23576833462033 0.0024538171831236864 6 | 161.9519873061115 0.002444006541819141 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/hexSphere/PYHexSphere.csv: -------------------------------------------------------------------------------- 1 | "L1(No), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:10:02" 3 | 4 | 5 | 6 6 | No,L1 7 | 5.95456,0.00524355, 8 | 10.9441,0.00366671, 9 | 20.9356,0.00278234, 10 | 40.8330,0.00256040, 11 | 80.9249,0.00251891, 12 | 160.013,0.00257169, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/tetSphere/EHF.dat: -------------------------------------------------------------------------------- 1 | 3.345604505933725 0.3113857776701102 2 | 6.371457258867081 0.044202038788014396 3 | 11.559963656537084 0.012168099124616074 4 | 22.181125734379325 0.00296436787599107 5 | 41.57142848146599 0.0004442399335342521 6 | 80.09979780223001 0.00008837495204148074 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/tetSphere/EHFTetSphere.csv: -------------------------------------------------------------------------------- 1 | "Y(X), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:12:39" 3 | 4 | 5 | 6 6 | X,Y 7 | 3.35741,0.318817, 8 | 6.40225,0.0461333, 9 | 11.5787,0.0129931, 10 | 22.3545,0.00307192, 11 | 41.8529,0.000473059, 12 | 80.5342,8.95693e-05, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/tetSphere/LVIRA.dat: -------------------------------------------------------------------------------- 1 | 3.320290493276283 0.1994293518491581 2 | 6.396485197585172 0.04793060877020814 3 | 11.559151981138612 0.01319513119060637 4 | 22.26643203896525 0.003533123982987277 5 | 41.70738444399496 0.0010262125596405033 6 | 80.3420104624424 0.00027109239140537736 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/tetSphere/LVIRATetSphere.csv: -------------------------------------------------------------------------------- 1 | "Y(X), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:13:59" 3 | 4 | 5 | 6 6 | X,Y 7 | 3.35036,0.208499, 8 | 6.39468,0.0504579, 9 | 11.6315,0.0139373, 10 | 22.5584,0.00370381, 11 | 41.7903,0.00105144, 12 | 80.0330,0.000291633, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/tetSphere/PY.dat: -------------------------------------------------------------------------------- 1 | 3.3619318454344267 0.11308142520315617 2 | 6.378022263016504 0.013468152419492504 3 | 11.523494628217383 0.0046646229909760835 4 | 22.358868585379987 0.00296409035766537 5 | 41.50968858687645 0.0024688414610637556 6 | 79.87140035565953 0.0023846727115734473 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/tetSphere/PYTetSphere.csv: -------------------------------------------------------------------------------- 1 | "Y(X), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:13:16" 3 | 4 | 5 | 6 6 | X,Y 7 | 3.36271,0.119440, 8 | 6.39827,0.0140038, 9 | 11.6236,0.00486769, 10 | 22.4058,0.00304811, 11 | 41.9650,0.00267846, 12 | 80.3241,0.00254464, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/tetSphere/TetsSphere.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/tetSphere/TetsSphere.PNG -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/wedgeCyl/EHF.dat: -------------------------------------------------------------------------------- 1 | 5.365866654090816 0.10755480992158463 2 | 9.343363439330805 0.012464561493397775 3 | 16.470930666347748 0.002557195894690949 4 | 32.25527847467631 0.000271300112366065 5 | 64.22150159234272 0.0000451353115869541 6 | 129.46612708300165 0.00001061396650011415 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/wedgeCyl/EHFWedgeCyl.csv: -------------------------------------------------------------------------------- 1 | "L1(no), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:03:12" 3 | 4 | 5 | 6 6 | no,L1 7 | 5.36781,0.110666, 8 | 9.34864,0.0124800, 9 | 16.5629,0.00258516, 10 | 31.9676,0.000283404, 11 | 64.2148,4.81617e-05, 12 | 129.139,1.14378e-05, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/wedgeCyl/LVIRA.csv: -------------------------------------------------------------------------------- 1 | 5.348002149419257 0.01629681531510293 2 | 9.305651630534516 0.008971111913362143 3 | 16.469891873103684 0.0029370733075613346 4 | 31.837407205714317 0.0007406710305230122 5 | 63.911883294670766 0.00018347232430335848 6 | 130.46924180247584 0.000046230123240816637 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/wedgeCyl/LVIRA.dat: -------------------------------------------------------------------------------- 1 | 5.348002149419257 0.01629681531510293 2 | 9.305651630534516 0.008971111913362143 3 | 16.469891873103684 0.0029370733075613346 4 | 31.837407205714317 0.0007406710305230122 5 | 63.911883294670766 0.00018347232430335848 6 | 130.46924180247584 0.000046230123240816637 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/wedgeCyl/LVIRAWedgeCyl.csv: -------------------------------------------------------------------------------- 1 | "L1(no), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:02:17" 3 | 4 | 5 | 6 6 | no,L1 7 | 5.36781,0.0168743, 8 | 9.32732,0.00922996, 9 | 16.4875,0.00306325, 10 | 32.0407,0.000780779, 11 | 64.1415,0.000199950, 12 | 129.730,4.86179e-05, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/wedgeCyl/PY.dat: -------------------------------------------------------------------------------- 1 | 5.30784632349999 0.0025125915232550684 2 | 9.312844055383364 0.001644368404467422 3 | 16.34068613103657 0.0009533325407779278 4 | 31.83715620748015 0.0007536057563748392 5 | 64.14357741067799 0.0006492606926637051 6 | 128.6856254633788 0.0006206324746099749 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/wedgeCyl/PYHexCyl.csv: -------------------------------------------------------------------------------- 1 | "no13(L1), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 14:52:01" 3 | 4 | 5 | 6 6 | L1,no13 7 | 20.9562,0.00244851, 8 | 51.8338,0.00257518, 9 | 84.9270,0.00215759, 10 | 118.951,0.00205741, 11 | 153.616,0.00204230, 12 | 188.748,0.00201832, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/wedgeCyl/WedgeCyl.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/ReconCompare2D/results/DataIveyMoin/wedgeCyl/WedgeCyl.PNG -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/IveyMoin/EHF.dat: -------------------------------------------------------------------------------- 1 | 59.972503938036375 0.08770732731199392 2 | 110.62467296738062 0.045521363526310935 3 | 210.3605178973709 0.0067553242713888585 4 | 409.24725291017074 0.0008382986953990377 5 | 805.3079183302276 0.00018883357322508734 6 | 1596.765972956746 0.000041906986901283116 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/IveyMoin/EHFHexCyl.dat: -------------------------------------------------------------------------------- 1 | 5.99544 0.00987152 2 | 11.0560 0.00914719 3 | 20.9817 0.00706360 4 | 40.9251 0.00481559 5 | 81.0134 0.00310941 6 | 160.917 0.00155803 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/IveyMoin/LVIRAHexCyl.dat: -------------------------------------------------------------------------------- 1 | 6.01586 0.0100892 2 | 11.0182 0.00914718 3 | 21.1246 0.00759573 4 | 40.9653 0.00618459 5 | 81.0907 0.00471544 6 | 161.069 0.00324146 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/IveyMoin/Lvira.dat: -------------------------------------------------------------------------------- 1 | 60.43037440154363 0.10646023544700971 2 | 110.2047841207694 0.044184390718667046 3 | 210.3605178973709 0.010883998326177237 4 | 409.24725291017074 0.0030206028533323738 5 | 808.3762044821608 0.0007552424975388015 6 | 1602.8497761967042 0.00018883357322508734 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/IveyMoin/PY.dat: -------------------------------------------------------------------------------- 1 | 60.891740556369214 0.02434114699370924 2 | 111.46925618403687 0.02434114699370924 3 | 209.56207002075223 0.021605059798955644 4 | 412.3717219097092 0.019756786101715683 5 | 808.3762044821608 0.020354605497995643 6 | 1602.8497761967042 0.020354605497995643 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare2D/results/IveyMoin/PyHexCyl.dat: -------------------------------------------------------------------------------- 1 | 6.02385 0.00849770 2 | 11.0065 0.00851831 3 | 21.0987 0.00833586 4 | 41.0489 0.00826953 5 | 80.9641 0.00830482 6 | 160.607 0.00827240 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -r RDF RDFCell isoInverseDistance 4 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ./generateScanCases.sh 4 | ./runScanCases2.sh 5 | ./errors2FileTabSepE1 6 | 7 | cd results 8 | gnuplot "gnuHex" 9 | gnuplot "gnuTri" 10 | gnuplot "gnuPoly" 11 | gnuplot "gnuRDFCell_Hex_iter" 12 | gnuplot "gnuRDFCell_Tri_iter" 13 | gnuplot "gnuRDFCell_Poly_iter" 14 | gnuplot "gnuRDF_Hex_iter" 15 | gnuplot "gnuRDF_Tri_iter" 16 | gnuplot "gnuRDF_Poly_iter" 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/E1: -------------------------------------------------------------------------------- 1 | 0.001 3.03614570440480e-03 2.18016219358325e-04 2.09813146113236e-04 1.27359030887932e-04 1.79150000000000e+00 0.00000000000000e+00 3.34728033500461e-02 1.36519190000000e+07 3.75038849826496e-05 2 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/baseCase/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -rf [1-9] *.[0-9]* [0-9][0-9] [0-9][0-9].[0-9]* logs/* logs_* -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/baseCase/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 4 | application=$(sed -ne "s/^application\s*\(.*\);/\1/p" system/controlDict) 5 | 6 | #isoSurf > logs/isoSurf.log 2>&1 7 | 8 | runApplication $(getApplication) 9 | 10 | 11 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/baseCase/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | value ( 0 -9.81 0 ); 20 | 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/baseCase/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType laminar; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/baseCase/hexBlock.geo: -------------------------------------------------------------------------------- 1 | nx=replaceNx; 2 | nz=replaceNx; 3 | 4 | 5 | // Gmsh project created on Mon Jun 12 15:29:01 2017 6 | SetFactory("OpenCASCADE"); 7 | //+ 8 | Block(1) = {0, 0, 0, 8, 8, 8}; 9 | //+ 10 | Transfinite Line {11, 9, 12, 10} = nx Using Progression 1; 11 | //+ 12 | Transfinite Line {7, 6, 5, 8, 3, 4, 1, 2} = nx Using Progression 1; 13 | //+ 14 | Physical Surface("wall") = {6, 2, 4, 3, 5, 1}; 15 | Physical Volume("internal") = {1}; 16 | 17 | //+ 18 | Transfinite Surface {6}; 19 | //+ 20 | Transfinite Surface {4}; 21 | //+ 22 | Transfinite Surface {1}; 23 | //+ 24 | Transfinite Surface {5}; 25 | //+ 26 | Transfinite Surface {2}; 27 | //+ 28 | Transfinite Surface {3}; 29 | 30 | Recombine Surface "*"; 31 | Transfinite Volume "*"; 32 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/baseCase/system/initAlphaFieldDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | field "alpha1"; 19 | function functionSphere; 20 | centre (4.0 4.0 4.0); 21 | radius 2; 22 | 23 | 24 | // ************************************************************************* // 25 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/baseCase/system/isoSurfDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | field "alpha1"; 19 | centre (0.51 0.51 0.51); 20 | type sphere; 21 | radius 0.25; 22 | 23 | 24 | 25 | 26 | // ************************************************************************* // 27 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/baseCase/system/setAlphaFieldDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | field "alpha1"; 19 | centre (4.01 4.01 4.01); 20 | type sphere; 21 | radius 2; 22 | 23 | 24 | // ************************************************************************* // 25 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/baseCase/test.foam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/ReconCompare3D/baseCase/test.foam -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/baseCase/touch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/ReconCompare3D/baseCase/touch -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/baseCase/triBlock.geo: -------------------------------------------------------------------------------- 1 | nx=replaceNx; 2 | nz=replaceNz; 3 | 4 | 5 | // Gmsh project created on Mon Jun 12 15:29:01 2017 6 | SetFactory("OpenCASCADE"); 7 | //+ 8 | Block(1) = {0, 0, 0, 8, 8, 8}; 9 | //+ 10 | Transfinite Line {11, 9, 12, 10} = nx Using Progression 1; 11 | //+ 12 | Transfinite Line {7, 6, 5, 8, 3, 4, 1, 2} = nx Using Progression 1; 13 | //+ 14 | Physical Surface("wall") = {6, 2, 4, 3, 5, 1}; 15 | Physical Volume("internal") = {1}; 16 | 17 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/ofset: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sed -i "s/${1}\s.*;/${1}\t${2};/" ${3} 4 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/ofset2: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sed -i "s/${1}/${2}/" ${3} 4 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/hexCyl/EHF.dat: -------------------------------------------------------------------------------- 1 | 5.992189380268889 0.008745294484853847 2 | 10.93301659005683 0.0043996856580394515 3 | 20.955243517932402 0.0006514585713643827 4 | 40.82540674999583 0.00008228820260779344 5 | 80.49485558394092 0.000016735898800409477 6 | 160.64467857605138 0.000003989236123433079 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/hexCyl/EHFHexCyl.csv: -------------------------------------------------------------------------------- 1 | "L1(No), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:08:05" 3 | 4 | 5 | 6 6 | No,L1 7 | 5.99544,0.00987152, 8 | 11.0560,0.00914719, 9 | 20.9817,0.00706360, 10 | 40.9251,0.00481559, 11 | 81.0134,0.00310941, 12 | 160.917,0.00155803, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/hexCyl/HexaHedraCyl.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/hexCyl/HexaHedraCyl.PNG -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/hexCyl/LVIRA.dat: -------------------------------------------------------------------------------- 1 | 5.99164398034302 0.01075053019486589 2 | 10.977505943356132 0.004399562437951242 3 | 20.86593325151636 0.0010490498999303338 4 | 40.63746627163606 0.00028852203220484734 5 | 80.11644235233376 0.00007328961917076373 6 | 160.5356107733682 0.00001861475370911311 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/hexCyl/LVIRAHexCyl.csv: -------------------------------------------------------------------------------- 1 | "L1(No), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:06:58" 3 | 4 | 5 | 6 6 | No,L1 7 | 6.01586,0.0100892, 8 | 11.0182,0.00914718, 9 | 21.1246,0.00759573, 10 | 40.9653,0.00618459, 11 | 81.0907,0.00471544, 12 | 161.069,0.00324146, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/hexCyl/PY.dat: -------------------------------------------------------------------------------- 1 | 5.971331801768113 0.0023783055018122418 2 | 10.935619604488403 0.0025641190021237197 3 | 20.944242169832037 0.002143530930835755 4 | 40.768276986433854 0.0019708433910357406 5 | 80.32595183295011 0.001961646960438798 6 | 159.55732678651603 0.0019523840788623057 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/hexCyl/PyHexCyl.csv: -------------------------------------------------------------------------------- 1 | "L1(No), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:07:24" 3 | 4 | 5 | 6 6 | No,L1 7 | 6.02385,0.00849770, 8 | 11.0065,0.00851831, 9 | 21.0987,0.00833586, 10 | 41.0489,0.00826953, 11 | 80.9641,0.00830482, 12 | 160.607,0.00827240, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/hexSphere/EHF.dat: -------------------------------------------------------------------------------- 1 | 5.923292468497173 0.010278484347098464 2 | 10.866785210921977 0.005319645962233586 3 | 20.95557775277596 0.001051104978082055 4 | 41.08832256930621 0.00011227181876452005 5 | 81.57411044672016 0.00002308767016981151 6 | 161.9519873061115 0.0000055739989192029215 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/hexSphere/EHFHexSphere.csv: -------------------------------------------------------------------------------- 1 | "L1(No), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:09:32" 3 | 4 | 5 | 6 6 | No,L1 7 | 5.96698,0.0102208, 8 | 10.9304,0.00527333, 9 | 20.9658,0.00105712, 10 | 40.9660,0.000109535, 11 | 80.9490,2.28741e-05, 12 | 160.865,5.54060e-06, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/hexSphere/HexaHedraSphere.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/hexSphere/HexaHedraSphere.PNG -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/hexSphere/LVIRA.dat: -------------------------------------------------------------------------------- 1 | 5.923292468497173 0.022620891881501376 2 | 10.866785210921977 0.008960543295814919 3 | 20.868661028850713 0.0022522900374764903 4 | 40.917901957121714 0.0006215943317591697 5 | 81.23576833462033 0.00015831410960010758 6 | 161.9519873061115 0.00003925625044322418 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/hexSphere/LVIRAHexSphere.csv: -------------------------------------------------------------------------------- 1 | "L1(No), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:10:39" 3 | 4 | 5 | 6 6 | No,L1 7 | 5.97231,0.0231933, 8 | 10.9285,0.00926513, 9 | 20.9369,0.00226905, 10 | 40.8506,0.000625737, 11 | 81.0858,0.000161428, 12 | 160.583,4.10318e-05, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/hexSphere/PY.dat: -------------------------------------------------------------------------------- 1 | 5.923292468497173 0.005267523698826117 2 | 11.048957413047098 0.003561617343504767 3 | 20.95557775277596 0.002644181450415904 4 | 41.08832256930621 0.0024967067322222754 5 | 81.23576833462033 0.0024538171831236864 6 | 161.9519873061115 0.002444006541819141 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/hexSphere/PYHexSphere.csv: -------------------------------------------------------------------------------- 1 | "L1(No), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:10:02" 3 | 4 | 5 | 6 6 | No,L1 7 | 5.95456,0.00524355, 8 | 10.9441,0.00366671, 9 | 20.9356,0.00278234, 10 | 40.8330,0.00256040, 11 | 80.9249,0.00251891, 12 | 160.013,0.00257169, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/tetSphere/EHF.dat: -------------------------------------------------------------------------------- 1 | 3.345604505933725 0.3113857776701102 2 | 6.371457258867081 0.044202038788014396 3 | 11.559963656537084 0.012168099124616074 4 | 22.181125734379325 0.00296436787599107 5 | 41.57142848146599 0.0004442399335342521 6 | 80.09979780223001 0.00008837495204148074 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/tetSphere/EHFTetSphere.csv: -------------------------------------------------------------------------------- 1 | "Y(X), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:12:39" 3 | 4 | 5 | 6 6 | X,Y 7 | 3.35741,0.318817, 8 | 6.40225,0.0461333, 9 | 11.5787,0.0129931, 10 | 22.3545,0.00307192, 11 | 41.8529,0.000473059, 12 | 80.5342,8.95693e-05, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/tetSphere/LVIRA.dat: -------------------------------------------------------------------------------- 1 | 3.320290493276283 0.1994293518491581 2 | 6.396485197585172 0.04793060877020814 3 | 11.559151981138612 0.01319513119060637 4 | 22.26643203896525 0.003533123982987277 5 | 41.70738444399496 0.0010262125596405033 6 | 80.3420104624424 0.00027109239140537736 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/tetSphere/LVIRATetSphere.csv: -------------------------------------------------------------------------------- 1 | "Y(X), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:13:59" 3 | 4 | 5 | 6 6 | X,Y 7 | 3.35036,0.208499, 8 | 6.39468,0.0504579, 9 | 11.6315,0.0139373, 10 | 22.5584,0.00370381, 11 | 41.7903,0.00105144, 12 | 80.0330,0.000291633, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/tetSphere/PY.dat: -------------------------------------------------------------------------------- 1 | 3.3619318454344267 0.11308142520315617 2 | 6.378022263016504 0.013468152419492504 3 | 11.523494628217383 0.0046646229909760835 4 | 22.358868585379987 0.00296409035766537 5 | 41.50968858687645 0.0024688414610637556 6 | 79.87140035565953 0.0023846727115734473 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/tetSphere/PYTetSphere.csv: -------------------------------------------------------------------------------- 1 | "Y(X), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:13:16" 3 | 4 | 5 | 6 6 | X,Y 7 | 3.36271,0.119440, 8 | 6.39827,0.0140038, 9 | 11.6236,0.00486769, 10 | 22.4058,0.00304811, 11 | 41.9650,0.00267846, 12 | 80.3241,0.00254464, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/tetSphere/TetsSphere.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/tetSphere/TetsSphere.PNG -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/wedgeCyl/EHF.dat: -------------------------------------------------------------------------------- 1 | 5.365866654090816 0.10755480992158463 2 | 9.343363439330805 0.012464561493397775 3 | 16.470930666347748 0.002557195894690949 4 | 32.25527847467631 0.000271300112366065 5 | 64.22150159234272 0.0000451353115869541 6 | 129.46612708300165 0.00001061396650011415 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/wedgeCyl/EHFWedgeCyl.csv: -------------------------------------------------------------------------------- 1 | "L1(no), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:03:12" 3 | 4 | 5 | 6 6 | no,L1 7 | 5.36781,0.110666, 8 | 9.34864,0.0124800, 9 | 16.5629,0.00258516, 10 | 31.9676,0.000283404, 11 | 64.2148,4.81617e-05, 12 | 129.139,1.14378e-05, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/wedgeCyl/LVIRA.csv: -------------------------------------------------------------------------------- 1 | 5.348002149419257 0.01629681531510293 2 | 9.305651630534516 0.008971111913362143 3 | 16.469891873103684 0.0029370733075613346 4 | 31.837407205714317 0.0007406710305230122 5 | 63.911883294670766 0.00018347232430335848 6 | 130.46924180247584 0.000046230123240816637 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/wedgeCyl/LVIRA.dat: -------------------------------------------------------------------------------- 1 | 5.348002149419257 0.01629681531510293 2 | 9.305651630534516 0.008971111913362143 3 | 16.469891873103684 0.0029370733075613346 4 | 31.837407205714317 0.0007406710305230122 5 | 63.911883294670766 0.00018347232430335848 6 | 130.46924180247584 0.000046230123240816637 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/wedgeCyl/LVIRAWedgeCyl.csv: -------------------------------------------------------------------------------- 1 | "L1(no), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 15:02:17" 3 | 4 | 5 | 6 6 | no,L1 7 | 5.36781,0.0168743, 8 | 9.32732,0.00922996, 9 | 16.4875,0.00306325, 10 | 32.0407,0.000780779, 11 | 64.1415,0.000199950, 12 | 129.730,4.86179e-05, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/wedgeCyl/PY.dat: -------------------------------------------------------------------------------- 1 | 5.30784632349999 0.0025125915232550684 2 | 9.312844055383364 0.001644368404467422 3 | 16.34068613103657 0.0009533325407779278 4 | 31.83715620748015 0.0007536057563748392 5 | 64.14357741067799 0.0006492606926637051 6 | 128.6856254633788 0.0006206324746099749 7 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/wedgeCyl/PYHexCyl.csv: -------------------------------------------------------------------------------- 1 | "no13(L1), created by Plot Digitizer, 2.6.8" 2 | "Date: 17.10.17, 14:52:01" 3 | 4 | 5 | 6 6 | L1,no13 7 | 20.9562,0.00244851, 8 | 51.8338,0.00257518, 9 | 84.9270,0.00215759, 10 | 118.951,0.00205741, 11 | 153.616,0.00204230, 12 | 188.748,0.00201832, 13 | -------------------------------------------------------------------------------- /run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/wedgeCyl/WedgeCyl.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/benchmark/Recon/ReconCompare3D/results/DataIveyMoin/wedgeCyl/WedgeCyl.PNG -------------------------------------------------------------------------------- /run/damBreak/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # Run from this directory 3 | 4 | # Source tutorial clean functions 5 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 6 | 7 | cleanCase 8 | 9 | \rm -rf 0 isoFaces 10 | -------------------------------------------------------------------------------- /run/damBreak/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # Run from this directory 3 | 4 | # Source tutorial run functions 5 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 6 | 7 | restore0Dir 8 | 9 | runApplication blockMesh 10 | runApplication setFields 11 | 12 | runApplication $(getApplication) 13 | -------------------------------------------------------------------------------- /run/damBreak/Allrun-parallel: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # Run from this directory 3 | 4 | # Source tutorial run functions 5 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 6 | 7 | restore0Dir 8 | 9 | runApplication blockMesh 10 | runApplication decomposePar 11 | runParallel setFields 12 | 13 | runParallel $(getApplication) 14 | -------------------------------------------------------------------------------- /run/damBreak/constant/dynamicMeshDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: plus | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object dynamicMeshDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dynamicFvMesh staticFvMesh; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /run/damBreak/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: plus | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | value ( 0 -9.81 0 ); 20 | 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /run/damBreak/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: plus | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType laminar; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /run/depthCharge2D/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # Run from this directory 3 | 4 | # Source tutorial clean functions 5 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 6 | 7 | cleanCase 8 | rm -rf 0 9 | 10 | #------------------------------------------------------------------------------ 11 | -------------------------------------------------------------------------------- /run/depthCharge2D/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # Run from this directory 3 | 4 | # Source tutorial run functions 5 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 6 | 7 | runApplication blockMesh 8 | restore0Dir 9 | runApplication setFields 10 | runApplication $(getApplication) 11 | 12 | #------------------------------------------------------------------------------ 13 | -------------------------------------------------------------------------------- /run/depthCharge2D/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: plus | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | value (0 -9.81 0); 20 | 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /run/depthCharge2D/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: plus | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType laminar; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /run/discInConstantFlow/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # run from this directory 3 | 4 | # Source tutorial clean functions 5 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 6 | 7 | cleanCase 8 | \rm -rf 0 9 | -------------------------------------------------------------------------------- /run/discInConstantFlow/Allrun: -------------------------------------------------------------------------------- 1 | cd ${0%/*} || exit 1 # Run from this directory 2 | 3 | # Source tutorial run functions 4 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 5 | 6 | restore0Dir 7 | 8 | runApplication blockMesh 9 | runApplication setAlphaField 10 | 11 | runApplication $(getApplication) 12 | -------------------------------------------------------------------------------- /run/discInConstantFlow/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: plus | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | value ( 0 -9.81 0 ); 20 | 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /run/discInConstantFlow/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: plus | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType laminar; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /run/discInConstantFlow/discInConstantFlow.foam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/discInConstantFlow/discInConstantFlow.foam -------------------------------------------------------------------------------- /run/discInReversedVortexFlow/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Source tutorial clean functions 4 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 5 | 6 | cleanCase 7 | \rm -rf 0 8 | -------------------------------------------------------------------------------- /run/discInReversedVortexFlow/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # Run from this directory 3 | 4 | # Source tutorial run functions 5 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 6 | 7 | restore0Dir 8 | 9 | runApplication blockMesh 10 | runApplication -s 1 topoSet 11 | runApplication -s 1 refineMesh -overwrite 12 | runApplication -s 2 topoSet -dict system/topoSetDict2 13 | runApplication -s 2 refineMesh -overwrite 14 | 15 | runApplication setAlphaField 16 | 17 | runApplication $(getApplication) 18 | -------------------------------------------------------------------------------- /run/discInReversedVortexFlow/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: plus | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | value ( 0 -9.81 0 ); 20 | 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /run/discInReversedVortexFlow/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: plus | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType laminar; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /run/discInReversedVortexFlow/discInReversedVortexFlow.foam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/discInReversedVortexFlow/discInReversedVortexFlow.foam -------------------------------------------------------------------------------- /run/standingWave/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # Run from this directory 3 | 4 | # Source tutorial clean functions 5 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 6 | 7 | cleanCase 8 | 9 | \rm -rf 0 10 | -------------------------------------------------------------------------------- /run/standingWave/Allrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ${0%/*} || exit 1 # Run from this directory 3 | 4 | # Source tutorial run functions 5 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 6 | 7 | restore0Dir 8 | 9 | runApplication blockMesh 10 | runApplication -s 1 topoSet -dict system/topoSetDict1 11 | runApplication -s 1 refineMesh -dict system/refineMeshDict1 -overwrite 12 | runApplication -s 2 topoSet -dict system/topoSetDict2 13 | runApplication -s 2 refineMesh -dict system/refineMeshDict2 -overwrite 14 | 15 | runApplication setAlphaField 16 | 17 | runApplication $(getApplication) 18 | -------------------------------------------------------------------------------- /run/standingWave/constant/dynamicMeshDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: plus | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object dynamicMeshDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dynamicFvMesh staticFvMesh; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /run/standingWave/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: plus | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | value ( 0 0 -9.81 ); 20 | 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /run/standingWave/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: plus | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType laminar; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /run/standingWave/standingWave.foam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DLR-RY/VoFLibrary/ac67995ec93ff7b9e66abab9a6617c467d57352c/run/standingWave/standingWave.foam -------------------------------------------------------------------------------- /solver/compressibleInterFlow/Make/files: -------------------------------------------------------------------------------- 1 | compressibleInterFlow.C 2 | 3 | EXE = $(FOAM_USER_APPBIN)/compressibleInterFlow 4 | -------------------------------------------------------------------------------- /solver/compressibleInterFlow/TEqn.H: -------------------------------------------------------------------------------- 1 | { 2 | fvScalarMatrix TEqn 3 | ( 4 | fvm::ddt(rho, T) + fvm::div(rhoPhi, T) - fvm::Sp(contErr, T) 5 | - fvm::laplacian(turbulence.alphaEff(), T) 6 | + ( 7 | fvc::div(fvc::absolute(phi, U), p)()() // - contErr/rho*p 8 | + (fvc::ddt(rho, K) + fvc::div(rhoPhi, K))()() - contErr*K 9 | ) 10 | *( 11 | alpha1()/mixture.thermo1().Cv()() 12 | + alpha2()/mixture.thermo2().Cv()() 13 | ) 14 | == 15 | fvOptions(rho, T) 16 | ); 17 | 18 | TEqn.relax(); 19 | 20 | fvOptions.constrain(TEqn); 21 | 22 | TEqn.solve(); 23 | 24 | fvOptions.correct(T); 25 | 26 | mixture.correctThermo(); 27 | mixture.correct(); 28 | } 29 | -------------------------------------------------------------------------------- /solver/compressibleInterFlow/UEqn.H: -------------------------------------------------------------------------------- 1 | fvVectorMatrix UEqn 2 | ( 3 | fvm::ddt(rho, U) + fvm::div(rhoPhi, U) 4 | - fvm::Sp(contErr, U) 5 | + MRF.DDt(rho, U) 6 | + turbulence.divDevRhoReff(U) 7 | == 8 | fvOptions(rho, U) 9 | ); 10 | 11 | UEqn.relax(); 12 | 13 | fvOptions.constrain(UEqn); 14 | 15 | if (pimple.momentumPredictor()) 16 | { 17 | solve 18 | ( 19 | UEqn 20 | == 21 | fvc::reconstruct 22 | ( 23 | ( 24 | mixture.surfaceTensionForce() 25 | - ghf*fvc::snGrad(rho) 26 | - fvc::snGrad(p_rgh) 27 | ) * mesh.magSf() 28 | ) 29 | ); 30 | 31 | fvOptions.correct(U); 32 | 33 | K = 0.5*magSqr(U); 34 | } 35 | -------------------------------------------------------------------------------- /solver/compressibleInterFlow/alphaControls.H: -------------------------------------------------------------------------------- 1 | const dictionary& alphaControls = mesh.solverDict(alpha1.name()); 2 | 3 | label nAlphaSubCycles(readLabel(alphaControls.lookup("nAlphaSubCycles"))); 4 | -------------------------------------------------------------------------------- /solver/compressibleInterFlow/alphaEqn.H: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Update alpha1 4 | #include "alphaSuSp.H" 5 | advector->advect(Sp,(Su + divU*min(alpha1(), scalar(1)))()); 6 | 7 | // Update rhoPhi 8 | rhoPhi = advector->getRhoPhi(rho1, rho2); 9 | alphaPhi10 = advector->alphaPhi(); 10 | 11 | alpha2 = 1.0 - alpha1; 12 | 13 | Info<< "Phase-1 volume fraction = " 14 | << alpha1.weightedAverage(mesh.Vsc()).value() 15 | << " Min(" << alpha1.name() << ") = " << min(alpha1).value() 16 | << " Max(" << alpha1.name() << ") - 1 = " << max(alpha1).value() - 1 17 | << endl; 18 | -------------------------------------------------------------------------------- /solver/compressibleInterFlow/alphaSuSp.H: -------------------------------------------------------------------------------- 1 | volScalarField::Internal Sp 2 | ( 3 | IOobject 4 | ( 5 | "Sp", 6 | runTime.timeName(), 7 | mesh 8 | ), 9 | mesh, 10 | dimensionedScalar(dgdt.dimensions(), Zero) 11 | ); 12 | 13 | volScalarField::Internal Su 14 | ( 15 | IOobject 16 | ( 17 | "Su", 18 | runTime.timeName(), 19 | mesh 20 | ), 21 | mesh, 22 | dimensionedScalar(dgdt.dimensions(), Zero) 23 | ); 24 | 25 | forAll(dgdt, celli) 26 | { 27 | if (dgdt[celli] > 0.0 && alpha1[celli] > 0.0) 28 | { 29 | Sp[celli] -= dgdt[celli]*alpha1[celli]; 30 | Su[celli] += dgdt[celli]*alpha1[celli]; 31 | } 32 | else if (dgdt[celli] < 0.0 && alpha1[celli] < 1.0) 33 | { 34 | Sp[celli] += dgdt[celli]*(1.0 - alpha1[celli]); 35 | } 36 | } 37 | 38 | volScalarField::Internal divU 39 | ( 40 | mesh.moving() 41 | ? fvc::div(phi + mesh.phi()) 42 | : fvc::div(phi) 43 | ); 44 | -------------------------------------------------------------------------------- /solver/compressibleInterFlow/correctPhi.H: -------------------------------------------------------------------------------- 1 | CorrectPhi 2 | ( 3 | U, 4 | phi, 5 | p, 6 | dimensionedScalar("rAUf", dimTime/rho.dimensions(), 1), 7 | divU, 8 | pimple 9 | ); 10 | 11 | //***HGW phi.oldTime() = phi; 12 | 13 | #include "continuityErrs.H" 14 | -------------------------------------------------------------------------------- /solver/compressibleInterFlow/createAlphaFluxes.H: -------------------------------------------------------------------------------- 1 | IOobject alphaPhi10Header 2 | ( 3 | IOobject::groupName("alphaPhi0", alpha1.group()), 4 | runTime.timeName(), 5 | mesh, 6 | IOobject::READ_IF_PRESENT, 7 | IOobject::AUTO_WRITE 8 | ); 9 | 10 | const bool alphaRestart = 11 | alphaPhi10Header.typeHeaderOk(true); 12 | 13 | if (alphaRestart) 14 | { 15 | Info << "Restarting alpha" << endl; 16 | } 17 | 18 | // MULES flux from previous time-step 19 | surfaceScalarField alphaPhi10 20 | ( 21 | alphaPhi10Header, 22 | phi*fvc::interpolate(alpha1) 23 | ); 24 | 25 | // MULES Correction 26 | tmp talphaPhi1Corr0; 27 | -------------------------------------------------------------------------------- /solver/compressibleInterFlow/rhofs.H: -------------------------------------------------------------------------------- 1 | surfaceScalarField rho1f(fvc::interpolate(rho1)); 2 | surfaceScalarField rho2f(fvc::interpolate(rho2)); 3 | -------------------------------------------------------------------------------- /solver/interFlow/Make/files: -------------------------------------------------------------------------------- 1 | interFlow.C 2 | 3 | EXE = $(FOAM_USER_APPBIN)/interFlow 4 | -------------------------------------------------------------------------------- /solver/interFlow/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/transportModels/twoPhaseMixture/lnInclude \ 3 | -I$(LIB_SRC)/transportModels \ 4 | -I$(LIB_SRC)/transportModels/incompressible/lnInclude \ 5 | -I$(LIB_SRC)/transportModels/interfaceProperties/lnInclude \ 6 | -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \ 7 | -I$(LIB_SRC)/TurbulenceModels/incompressible/lnInclude \ 8 | -I$(LIB_SRC)/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude \ 9 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 10 | -I$(LIB_SRC)/dynamicFvMesh/lnInclude \ 11 | -I$(LIB_SRC)/meshTools/lnInclude \ 12 | -I$(LIB_SRC)/sampling/lnInclude \ 13 | -I../../src/VoF/lnInclude 14 | 15 | EXE_LIBS = \ 16 | -limmiscibleIncompressibleTwoPhaseMixture \ 17 | -lturbulenceModels \ 18 | -lincompressibleTurbulenceModels \ 19 | -lfiniteVolume \ 20 | -ldynamicFvMesh \ 21 | -lfvOptions \ 22 | -lmeshTools \ 23 | -lsampling \ 24 | -lwaveModels \ 25 | -L$(FOAM_USER_LIBBIN) \ 26 | -lVoF 27 | -------------------------------------------------------------------------------- /solver/interFlow/UEqn.H: -------------------------------------------------------------------------------- 1 | MRF.correctBoundaryVelocity(U); 2 | 3 | fvVectorMatrix UEqn 4 | ( 5 | fvm::ddt(rho, U) + fvm::div(rhoPhi, U) 6 | + MRF.DDt(rho, U) 7 | + turbulence->divDevRhoReff(rho, U) 8 | == 9 | fvOptions(rho, U) 10 | ); 11 | 12 | UEqn.relax(); 13 | 14 | fvOptions.constrain(UEqn); 15 | 16 | if (pimple.momentumPredictor()) 17 | { 18 | solve 19 | ( 20 | UEqn 21 | == 22 | fvc::reconstruct 23 | ( 24 | ( 25 | mixture.surfaceTensionForce() 26 | - ghf*fvc::snGrad(rho) 27 | - fvc::snGrad(p_rgh) 28 | ) * mesh.magSf() 29 | ) 30 | ); 31 | 32 | fvOptions.correct(U); 33 | } 34 | -------------------------------------------------------------------------------- /solver/interFlow/alphaControls.H: -------------------------------------------------------------------------------- 1 | const dictionary& alphaControls = mesh.solverDict(alpha1.name()); 2 | 3 | label nAlphaSubCycles(alphaControls.get