diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/Allclean b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/Allclean new file mode 100755 index 000000000..5616a4c06 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/Allclean @@ -0,0 +1,8 @@ +#!/bin/bash + +(cd explicitOverset ; ./Allclean) +(cd implicitConservativeOverset ; ./Allclean) +(cd implicitNonConservativeOverset ; ./Allclean) +(cd noOverset; ./Allclean) + +\rm -rf validationResults diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/Allrun b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/Allrun new file mode 100755 index 000000000..440af8377 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/Allrun @@ -0,0 +1,32 @@ +#!/bin/bash + +# Run cases +(cd explicitOverset ; ./Allrun) +(cd implicitConservativeOverset ; ./Allrun) +(cd implicitNonConservativeOverset ; ./Allrun) +(cd noOverset; ./Allrun) + +# Plot pressure distribution +gnuplot -persist << 'EOF' + +set term pngcairo dashed size 1024,768 font "Arial,12" +set output "Cp.png" +set yrange [* : *] reverse; +plot \ +'./validationData/cp.dat' \ +using ($1/0.901):2 title 'Experimetal results', \ +'./explicitOverset/p_solidWall.raw' \ +using ($1/0.901):($4/368.018) title 'Explicit overset', \ +'./implicitNonConservativeOverset/p_solidWall.raw' \ +using ($1/0.901):($4/368.018) title 'Implicit non-conservative overset', \ +'./implicitConservativeOverset/p_solidWall.raw' \ +using ($1/0.901):($4/368.018) title 'Implicit conservative overset', \ +'./noOverset/p_solidWall.raw' \ +using ($1/0.901):($4/368.018) title 'Single mesh' ; + +EOF + +# Move the file +mkdir -v validationResults +mv -v *.png validationResults/ +gnome-open validationResults/Cp.png diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/NOTES b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/NOTES new file mode 100644 index 000000000..56d733fc6 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/NOTES @@ -0,0 +1,10 @@ +Reference experimental data: +https://turbmodels.larc.nasa.gov/naca4412sep_val.html + +Overset: + - Low Reynolds mesh with y+ << 1 + +Single mesh: + - High Reynolds with y+ approximately 16 + +Work in progress: comparing velocity profiles at certain chord lengths. diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/0/U b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/0/U new file mode 100644 index 000000000..a7cb574ca --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/0/U @@ -0,0 +1,82 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (26.3389 0 6.5036); + +boundaryField +{ + OversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + setHoleCellValue yes; + holeCellValue (0 0 0); + } + + Inflow + { + type fixedValue; + value uniform (26.3389 0 6.5036); + } + Outflow + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (0 0 0); + } + + Lower + { + type fixedValue; + value uniform (26.3389 0 6.5036); + } + Upper + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (0 0 0); + } + + airfoil + { + type fixedValue; + value uniform (0 0 0); + } + + frontAndBack + { + type empty; + } + + OversetMiddle + { + type emptyOverset; + value uniform (0 0 0); + } + + OversetFront + { + type emptyOverset; + value uniform (0 0 0); + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/0/k b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/0/k new file mode 100644 index 000000000..408455c9f --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/0/k @@ -0,0 +1,84 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object k; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0.0005723; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0.0005723; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0.0005723; + } + + Inflow + { + type fixedValue; + value uniform 0.0005723; + } + Outflow + { + type inletOutlet; + inletValue uniform 0.0005723; + value uniform 0.0005723; + } + + Lower + { + type fixedValue; + value uniform 0.0005723; + } + Upper + { + type inletOutlet; + inletValue uniform 0.0005723; + value uniform 0.0005723; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type kqRWallFunction; + value uniform 0.0005723; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0.0005723; + } + OversetFront + { + type emptyOverset; + value uniform 0.0005723; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/0/nut b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/0/nut new file mode 100644 index 000000000..3e82586b6 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/0/nut @@ -0,0 +1,85 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object nut; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0; + } + + Inflow + { + type calculated; + value uniform 0; + } + Outflow + { + type calculated; + value uniform 0; + } + + Lower + { + type calculated; + value uniform 0; + } + Upper + { + type calculated; + value uniform 0; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type nutWallFunction; + Cmu 0.09; + kappa 0.41; + E 9.8; + value uniform 0; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0; + } + OversetFront + { + type emptyOverset; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/0/omega b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/0/omega new file mode 100644 index 000000000..170d28faf --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/0/omega @@ -0,0 +1,90 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object omega; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 0 -1 0 0 0 0]; + +internalField uniform 0.42797; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0.42797; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0.42797; + } + + Inflow + { + type fixedValue; + value uniform 0.42797; + } + Outflow + { + type inletOutlet; + inletValue uniform 0.42797; + value uniform 0.42797; + } + + Lower + { + type fixedValue; + value uniform 0.42797; + } + Upper + { + type inletOutlet; + inletValue uniform 0.42797; + value uniform 0.42797; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type omegaWallFunction; + refValue uniform 0; + value uniform 0.42797; + + Cmu 0.09; + kappa 0.41; + E 9.8; + beta1 0.075; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0.42797; + } + OversetFront + { + type emptyOverset; + value uniform 0.42797; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/0/p b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/0/p new file mode 100644 index 000000000..fa5439954 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/0/p @@ -0,0 +1,79 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0; + + coupledFringe no; + conservativeCorrection no; + + setHoleCellValue yes; + holeCellValue 0; + } + + Inflow + { + type zeroGradient; + } + Outflow + { + type fixedValue; + value uniform 0; + } + + Lower + { + type zeroGradient; + } + Upper + { + type zeroGradient; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type zeroGradient; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0; + } + OversetFront + { + type emptyOverset; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/Allclean b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/Allclean new file mode 100755 index 000000000..05c9ee28d --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/Allclean @@ -0,0 +1,17 @@ +#!/bin/sh + +# Source tutorial clean functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +cleanCase +\rm -f .setSet +\rm -rf 0/cellDist 0/cellDist.gz constant/cellDecomposition +\rm -rf *.vtk VTK +\rm -rf constant/polyMesh/ +\rm -rf 0 holeTri* +\rm -rf surfaces +\rm -f *raw +\rm -rf logs nohup.out + +mkdir constant/polyMesh +cp -r save 0 diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/Allrun b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/Allrun new file mode 100755 index 000000000..4c3bcb919 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/Allrun @@ -0,0 +1,49 @@ +#!/bin/sh +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +# Get application name +application1="potentialOversetFoam" +application2="simpleOversetFoam" + +# Copy background grid +\cp -r ../oversetMeshes/backgroundMesh/constant/polyMesh constant/. + +# Merge meshes and clean up +runApplication mergeMeshes .. explicitOverset . ../oversetMeshes/middleMesh +\rm -rf constant/polyMesh +\mv 1/polyMesh constant +rm -rf 1 +\rm -f constant/polyMesh/pointZones constant/polyMesh/pointZones.gz constant/polyMesh/faceZones constant/polyMesh/faceZones.gz constant/polyMesh/cellZones constant/polyMesh/cellZones.gz +\mv log.mergeMeshes log.mergeMeshes-backgroundMiddle + +runApplication mergeMeshes .. explicitOverset . ../oversetMeshes/frontMesh +\rm -rf constant/polyMesh +\mv 1/polyMesh constant +rm -rf 1 +\rm -f constant/polyMesh/pointZones constant/polyMesh/pointZones.gz constant/polyMesh/faceZones constant/polyMesh/faceZones.gz constant/polyMesh/cellZones constant/polyMesh/cellZones.gz +\mv log.mergeMeshes log.mergeMeshes-backgroundMiddleFront + +# Make cell zones for all regions and clean up +runApplication regionCellSets +runApplication setSet -batch setBatch.batch +\rm -f log.setSet +\rm -f constant/polyMesh/sets/*_old constant/polyMesh/sets/*_old.gz +\rm -f constant/polyMesh/sets/cellRegion0 constant/polyMesh/sets/cellRegion0.gz constant/polyMesh/sets/cellRegion1 constant/polyMesh/sets/cellRegion1.gz +runApplication setsToZones + +# Scale x and y directions to have the same setup as the case from +# foam-extend-4.0 validationSuite +transformPoints -scale "(0.901 1 0.905512)" > log.transformPoints + +# Set up boundary patches +\cp -f boundary constant/polyMesh/boundary + +# Run serial +runApplication $application1 +runApplication $application2 + +# Perform sampling +runApplication sample -latestTime +timeStep=$(grep "^endTime" system/controlDict | awk '{ print $2 }' | sed 's/;//g') +cp -v surfaces/$timeStep/p_solidWall.raw . diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/boundary b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/boundary new file mode 100644 index 000000000..4a2e40fc6 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/boundary @@ -0,0 +1,77 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 4.0 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class polyBoundaryMesh; + location "1/polyMesh"; + object boundary; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +9 +( + OversetFaces + { + type overset; + nFaces 0; + startFace 51368; + } + Inflow + { + type patch; + nFaces 112; + startFace 51368; + } + Lower + { + type patch; + nFaces 48; + startFace 51480; + } + frontAndBack + { + type empty; + nFaces 51968; + startFace 51528; + } + Outflow + { + type patch; + nFaces 112; + startFace 103496; + } + Upper + { + type patch; + nFaces 48; + startFace 103608; + } + OversetMiddle + { + type patch; + nFaces 368; + startFace 103656; + } + OversetFront + { + type patch; + nFaces 336; + startFace 104024; + } + airfoil + { + type wall; + nFaces 176; + startFace 104360; + } +) + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/constant/RASProperties b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/constant/RASProperties new file mode 100644 index 000000000..cd4d3b7bc --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/constant/RASProperties @@ -0,0 +1,27 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 2.3.x | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +|*---------------------------------------------------------------------------*| +| File created by CFD support s.r.o., Mon Aug 17 06:22:27 2015 | +| http://www.cdfsupport.com | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.3; + format ascii; + class dictionary; + location "constant"; + object RASProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +RASModel kOmegaSST; + +turbulence on; + +printCoeffs on; + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/constant/oversetMeshDict b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/constant/oversetMeshDict new file mode 100644 index 000000000..f8b0f300e --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/constant/oversetMeshDict @@ -0,0 +1,123 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object oversetMeshDict; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +interpolation +{ + interpolationSchemes (inverseDistance); + + default inverseDistance; +} + +// Names or patches that determine hole cells +holePatches ( airfoil ); + +regions +( + backgroundMesh + { + // Donor regions + donorRegions ( middleMesh ); + + fringe + { + type overlap; + + // Optional list of patches to start the fringe minimisation from + initPatchNames (); + + // Fraction of minimum allowable suitable pairs respecting the + // chosen donor suitability criteria + suitablePairFraction 0.8; + + // Whether to start fringe assembly from the previous set of + // acceptors (for moving mesh cases) + cacheFringe no; + + donorSuitability + { + // Donor/acceptor pair must have cell volumes that differ not + // more than 60% of the larger cell + type cellVolumes; + threshold 0.6; + } + } + } + + middleMesh + { + // Donor regions + donorRegions ( frontMesh backgroundMesh ); + + fringe + { + type overlap; + + // Optional list of patches to start the fringe minimisation from + initPatchNames (OversetMiddle); + + // Fraction of minimum allowable suitable pairs respecting the + // chosen donor suitability criteria + suitablePairFraction 0.9; + + // Whether to start fringe assembly from the previous set of + // acceptors (for moving mesh cases) + cacheFringe no; + + donorSuitability + { + // Donor/acceptor pair must have cell volumes that differ not + // more than 60% of the larger cell + type cellVolumes; + threshold 0.6; + } + } + } + + frontMesh + { + // Donor regions + donorRegions ( middleMesh ); + + fringe + { + type overlap; + + // Optional list of patches to start the fringe minimisation from + initPatchNames (OversetFront); + + // Fraction of minimum allowable suitable pairs respecting the + // chosen donor suitability criteria + suitablePairFraction 0.8; + + // Whether to start fringe assembly from the previous set of + // acceptors (for moving mesh cases) + cacheFringe no; + + donorSuitability + { + // Donor/acceptor pair must have cell volumes that differ not + // more than 40% of the larger cell + type cellVolumes; + threshold 0.4; + } + } + } +); + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/constant/transportProperties b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/constant/transportProperties new file mode 100644 index 000000000..efb50c1b7 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/constant/transportProperties @@ -0,0 +1,26 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 2.3.x | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +|*---------------------------------------------------------------------------*| +| File created by CFD support s.r.o., Mon Aug 17 06:22:42 2015 | +| http://www.cdfsupport.com | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.3; + format ascii; + class dictionary; + location "constant"; + object transportProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +transportModel Newtonian; + +nu nu [ 0 2 -1 0 0 0 0 ] 1.605e-05; + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/constant/turbulenceProperties b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/constant/turbulenceProperties new file mode 100644 index 000000000..6a2ea973c --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/constant/turbulenceProperties @@ -0,0 +1,21 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 4.0 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "constant"; + object turbulenceProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +simulationType RASModel; + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/save/U b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/save/U new file mode 100644 index 000000000..a7cb574ca --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/save/U @@ -0,0 +1,82 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (26.3389 0 6.5036); + +boundaryField +{ + OversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + setHoleCellValue yes; + holeCellValue (0 0 0); + } + + Inflow + { + type fixedValue; + value uniform (26.3389 0 6.5036); + } + Outflow + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (0 0 0); + } + + Lower + { + type fixedValue; + value uniform (26.3389 0 6.5036); + } + Upper + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (0 0 0); + } + + airfoil + { + type fixedValue; + value uniform (0 0 0); + } + + frontAndBack + { + type empty; + } + + OversetMiddle + { + type emptyOverset; + value uniform (0 0 0); + } + + OversetFront + { + type emptyOverset; + value uniform (0 0 0); + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/save/k b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/save/k new file mode 100644 index 000000000..408455c9f --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/save/k @@ -0,0 +1,84 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object k; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0.0005723; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0.0005723; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0.0005723; + } + + Inflow + { + type fixedValue; + value uniform 0.0005723; + } + Outflow + { + type inletOutlet; + inletValue uniform 0.0005723; + value uniform 0.0005723; + } + + Lower + { + type fixedValue; + value uniform 0.0005723; + } + Upper + { + type inletOutlet; + inletValue uniform 0.0005723; + value uniform 0.0005723; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type kqRWallFunction; + value uniform 0.0005723; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0.0005723; + } + OversetFront + { + type emptyOverset; + value uniform 0.0005723; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/save/nut b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/save/nut new file mode 100644 index 000000000..3e82586b6 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/save/nut @@ -0,0 +1,85 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object nut; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0; + } + + Inflow + { + type calculated; + value uniform 0; + } + Outflow + { + type calculated; + value uniform 0; + } + + Lower + { + type calculated; + value uniform 0; + } + Upper + { + type calculated; + value uniform 0; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type nutWallFunction; + Cmu 0.09; + kappa 0.41; + E 9.8; + value uniform 0; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0; + } + OversetFront + { + type emptyOverset; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/save/omega b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/save/omega new file mode 100644 index 000000000..170d28faf --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/save/omega @@ -0,0 +1,90 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object omega; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 0 -1 0 0 0 0]; + +internalField uniform 0.42797; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0.42797; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0.42797; + } + + Inflow + { + type fixedValue; + value uniform 0.42797; + } + Outflow + { + type inletOutlet; + inletValue uniform 0.42797; + value uniform 0.42797; + } + + Lower + { + type fixedValue; + value uniform 0.42797; + } + Upper + { + type inletOutlet; + inletValue uniform 0.42797; + value uniform 0.42797; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type omegaWallFunction; + refValue uniform 0; + value uniform 0.42797; + + Cmu 0.09; + kappa 0.41; + E 9.8; + beta1 0.075; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0.42797; + } + OversetFront + { + type emptyOverset; + value uniform 0.42797; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/save/p b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/save/p new file mode 100644 index 000000000..fa5439954 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/save/p @@ -0,0 +1,79 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0; + + coupledFringe no; + conservativeCorrection no; + + setHoleCellValue yes; + holeCellValue 0; + } + + Inflow + { + type zeroGradient; + } + Outflow + { + type fixedValue; + value uniform 0; + } + + Lower + { + type zeroGradient; + } + Upper + { + type zeroGradient; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type zeroGradient; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0; + } + OversetFront + { + type emptyOverset; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/setBatch.batch b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/setBatch.batch new file mode 100644 index 000000000..31328cf5f --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/setBatch.batch @@ -0,0 +1,8 @@ +cellSet backgroundMesh new cellToCell cellRegion0 +cellSet middleMesh new cellToCell cellRegion1 +cellSet frontMesh new cellToCell cellRegion2 + +cellSet cellRegion0 delete +cellSet cellRegion1 delete +cellSet cellRegion2 delete +quit diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/system/controlDict b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/system/controlDict new file mode 100644 index 000000000..c817f34f2 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/system/controlDict @@ -0,0 +1,47 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object controlDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +application simpleOversetFoam; + +startFrom latestTime; + +startTime 0; + +stopAt endTime; + +endTime 5000; + +deltaT 1; + +writeControl runTime; + +writeInterval 1000; + +purgeWrite 0; + +writeFormat ascii; + +writePrecision 10; + +writeCompression uncompressed; + +timeFormat general; + +timePrecision 6; + +runTimeModifiable yes; + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/system/decomposeParDict b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/system/decomposeParDict new file mode 100644 index 000000000..b71718eae --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/system/decomposeParDict @@ -0,0 +1,33 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object decomposeParDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +numberOfSubdomains 50; + +method metis; + +simpleCoeffs +{ + n (1 3 1); + delta 0.001; +} + +distributed no; + +roots +( +); + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/system/fvSchemes b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/system/fvSchemes new file mode 100644 index 000000000..3d37ca084 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/system/fvSchemes @@ -0,0 +1,54 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSchemes; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +ddtSchemes +{ + default steadyState; +} + +gradSchemes +{ + default Gauss linear; +} + +divSchemes +{ + default none; + + div(phi,U) Gauss linearUpwindV default; + div(phi,k) Gauss upwind; + div(phi,omega) Gauss upwind; + + div((nuEff*dev(T(grad(U))))) Gauss linear; +} + +laplacianSchemes +{ + default Gauss linear limited 0.5; +} + +interpolationSchemes +{ + default linear; +} + +snGradSchemes +{ + default limited 0.5; +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/system/fvSolution b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/system/fvSolution new file mode 100644 index 000000000..233227d50 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/system/fvSolution @@ -0,0 +1,84 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSolution; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +solvers +{ + p + { + solver BiCGStab; + preconditioner Cholesky; + + minIter 1; + maxIter 200; + tolerance 1e-7; + relTol 0.001; + } + + U + { + solver BiCGStab; + preconditioner DILU; + + tolerance 1e-08; + relTol 0.01; + minIter 1; + maxIter 10; + } + + k + { + solver smoothSolver; + smoother GaussSeidel; + + tolerance 1e-08; + relTol 0.1; + minIter 1; + maxIter 10; + } + + omega + { + solver smoothSolver; + smoother GaussSeidel; + + tolerance 1e-08; + relTol 0.1; + minIter 1; + maxIter 10; + } +} + +SIMPLE +{ + // Non orthogonal corrector for explicit overset correction + nNonOrthogonalCorrectors 1; +} + +relaxationFactors +{ + equations + { + U 0.7; + k 0.5; + epsilon 0.5; + } + fields + { + p 0.3; + } +} + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/system/sampleDict b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/system/sampleDict new file mode 100644 index 000000000..dff382873 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/explicitOverset/system/sampleDict @@ -0,0 +1,42 @@ + /*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 1.6 | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "system"; + object sampleDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +interpolationScheme cellPoint; +surfaceFormat raw; + +setFormat gnuplot; + +sets (); + +fields (p); + +surfaces +( + solidWall + { + type patch; + patchName airfoil; + rhoName rhoInf; + rhoInf 1.0; //Reference density for fluid + outputInterval: 1.0 + interpolate true; + triangulate false; + } +); + + +// *********************************************************************** // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/0/U b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/0/U new file mode 100644 index 000000000..a7cb574ca --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/0/U @@ -0,0 +1,82 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (26.3389 0 6.5036); + +boundaryField +{ + OversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + setHoleCellValue yes; + holeCellValue (0 0 0); + } + + Inflow + { + type fixedValue; + value uniform (26.3389 0 6.5036); + } + Outflow + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (0 0 0); + } + + Lower + { + type fixedValue; + value uniform (26.3389 0 6.5036); + } + Upper + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (0 0 0); + } + + airfoil + { + type fixedValue; + value uniform (0 0 0); + } + + frontAndBack + { + type empty; + } + + OversetMiddle + { + type emptyOverset; + value uniform (0 0 0); + } + + OversetFront + { + type emptyOverset; + value uniform (0 0 0); + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/0/k b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/0/k new file mode 100644 index 000000000..408455c9f --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/0/k @@ -0,0 +1,84 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object k; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0.0005723; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0.0005723; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0.0005723; + } + + Inflow + { + type fixedValue; + value uniform 0.0005723; + } + Outflow + { + type inletOutlet; + inletValue uniform 0.0005723; + value uniform 0.0005723; + } + + Lower + { + type fixedValue; + value uniform 0.0005723; + } + Upper + { + type inletOutlet; + inletValue uniform 0.0005723; + value uniform 0.0005723; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type kqRWallFunction; + value uniform 0.0005723; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0.0005723; + } + OversetFront + { + type emptyOverset; + value uniform 0.0005723; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/0/nut b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/0/nut new file mode 100644 index 000000000..3e82586b6 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/0/nut @@ -0,0 +1,85 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object nut; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0; + } + + Inflow + { + type calculated; + value uniform 0; + } + Outflow + { + type calculated; + value uniform 0; + } + + Lower + { + type calculated; + value uniform 0; + } + Upper + { + type calculated; + value uniform 0; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type nutWallFunction; + Cmu 0.09; + kappa 0.41; + E 9.8; + value uniform 0; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0; + } + OversetFront + { + type emptyOverset; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/0/omega b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/0/omega new file mode 100644 index 000000000..170d28faf --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/0/omega @@ -0,0 +1,90 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object omega; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 0 -1 0 0 0 0]; + +internalField uniform 0.42797; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0.42797; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0.42797; + } + + Inflow + { + type fixedValue; + value uniform 0.42797; + } + Outflow + { + type inletOutlet; + inletValue uniform 0.42797; + value uniform 0.42797; + } + + Lower + { + type fixedValue; + value uniform 0.42797; + } + Upper + { + type inletOutlet; + inletValue uniform 0.42797; + value uniform 0.42797; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type omegaWallFunction; + refValue uniform 0; + value uniform 0.42797; + + Cmu 0.09; + kappa 0.41; + E 9.8; + beta1 0.075; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0.42797; + } + OversetFront + { + type emptyOverset; + value uniform 0.42797; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/0/p b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/0/p new file mode 100644 index 000000000..87b94eca1 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/0/p @@ -0,0 +1,79 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0; + + coupledFringe yes; + conservativeCorrection yes; + + setHoleCellValue yes; + holeCellValue 0; + } + + Inflow + { + type zeroGradient; + } + Outflow + { + type fixedValue; + value uniform 0; + } + + Lower + { + type zeroGradient; + } + Upper + { + type zeroGradient; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type zeroGradient; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0; + } + OversetFront + { + type emptyOverset; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/Allclean b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/Allclean new file mode 100755 index 000000000..05c9ee28d --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/Allclean @@ -0,0 +1,17 @@ +#!/bin/sh + +# Source tutorial clean functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +cleanCase +\rm -f .setSet +\rm -rf 0/cellDist 0/cellDist.gz constant/cellDecomposition +\rm -rf *.vtk VTK +\rm -rf constant/polyMesh/ +\rm -rf 0 holeTri* +\rm -rf surfaces +\rm -f *raw +\rm -rf logs nohup.out + +mkdir constant/polyMesh +cp -r save 0 diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/Allrun b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/Allrun new file mode 100755 index 000000000..4c3bcb919 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/Allrun @@ -0,0 +1,49 @@ +#!/bin/sh +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +# Get application name +application1="potentialOversetFoam" +application2="simpleOversetFoam" + +# Copy background grid +\cp -r ../oversetMeshes/backgroundMesh/constant/polyMesh constant/. + +# Merge meshes and clean up +runApplication mergeMeshes .. explicitOverset . ../oversetMeshes/middleMesh +\rm -rf constant/polyMesh +\mv 1/polyMesh constant +rm -rf 1 +\rm -f constant/polyMesh/pointZones constant/polyMesh/pointZones.gz constant/polyMesh/faceZones constant/polyMesh/faceZones.gz constant/polyMesh/cellZones constant/polyMesh/cellZones.gz +\mv log.mergeMeshes log.mergeMeshes-backgroundMiddle + +runApplication mergeMeshes .. explicitOverset . ../oversetMeshes/frontMesh +\rm -rf constant/polyMesh +\mv 1/polyMesh constant +rm -rf 1 +\rm -f constant/polyMesh/pointZones constant/polyMesh/pointZones.gz constant/polyMesh/faceZones constant/polyMesh/faceZones.gz constant/polyMesh/cellZones constant/polyMesh/cellZones.gz +\mv log.mergeMeshes log.mergeMeshes-backgroundMiddleFront + +# Make cell zones for all regions and clean up +runApplication regionCellSets +runApplication setSet -batch setBatch.batch +\rm -f log.setSet +\rm -f constant/polyMesh/sets/*_old constant/polyMesh/sets/*_old.gz +\rm -f constant/polyMesh/sets/cellRegion0 constant/polyMesh/sets/cellRegion0.gz constant/polyMesh/sets/cellRegion1 constant/polyMesh/sets/cellRegion1.gz +runApplication setsToZones + +# Scale x and y directions to have the same setup as the case from +# foam-extend-4.0 validationSuite +transformPoints -scale "(0.901 1 0.905512)" > log.transformPoints + +# Set up boundary patches +\cp -f boundary constant/polyMesh/boundary + +# Run serial +runApplication $application1 +runApplication $application2 + +# Perform sampling +runApplication sample -latestTime +timeStep=$(grep "^endTime" system/controlDict | awk '{ print $2 }' | sed 's/;//g') +cp -v surfaces/$timeStep/p_solidWall.raw . diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/boundary b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/boundary new file mode 100644 index 000000000..4a2e40fc6 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/boundary @@ -0,0 +1,77 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 4.0 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class polyBoundaryMesh; + location "1/polyMesh"; + object boundary; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +9 +( + OversetFaces + { + type overset; + nFaces 0; + startFace 51368; + } + Inflow + { + type patch; + nFaces 112; + startFace 51368; + } + Lower + { + type patch; + nFaces 48; + startFace 51480; + } + frontAndBack + { + type empty; + nFaces 51968; + startFace 51528; + } + Outflow + { + type patch; + nFaces 112; + startFace 103496; + } + Upper + { + type patch; + nFaces 48; + startFace 103608; + } + OversetMiddle + { + type patch; + nFaces 368; + startFace 103656; + } + OversetFront + { + type patch; + nFaces 336; + startFace 104024; + } + airfoil + { + type wall; + nFaces 176; + startFace 104360; + } +) + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/constant/RASProperties b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/constant/RASProperties new file mode 100644 index 000000000..cd4d3b7bc --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/constant/RASProperties @@ -0,0 +1,27 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 2.3.x | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +|*---------------------------------------------------------------------------*| +| File created by CFD support s.r.o., Mon Aug 17 06:22:27 2015 | +| http://www.cdfsupport.com | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.3; + format ascii; + class dictionary; + location "constant"; + object RASProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +RASModel kOmegaSST; + +turbulence on; + +printCoeffs on; + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/constant/oversetMeshDict b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/constant/oversetMeshDict new file mode 100644 index 000000000..f8b0f300e --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/constant/oversetMeshDict @@ -0,0 +1,123 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object oversetMeshDict; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +interpolation +{ + interpolationSchemes (inverseDistance); + + default inverseDistance; +} + +// Names or patches that determine hole cells +holePatches ( airfoil ); + +regions +( + backgroundMesh + { + // Donor regions + donorRegions ( middleMesh ); + + fringe + { + type overlap; + + // Optional list of patches to start the fringe minimisation from + initPatchNames (); + + // Fraction of minimum allowable suitable pairs respecting the + // chosen donor suitability criteria + suitablePairFraction 0.8; + + // Whether to start fringe assembly from the previous set of + // acceptors (for moving mesh cases) + cacheFringe no; + + donorSuitability + { + // Donor/acceptor pair must have cell volumes that differ not + // more than 60% of the larger cell + type cellVolumes; + threshold 0.6; + } + } + } + + middleMesh + { + // Donor regions + donorRegions ( frontMesh backgroundMesh ); + + fringe + { + type overlap; + + // Optional list of patches to start the fringe minimisation from + initPatchNames (OversetMiddle); + + // Fraction of minimum allowable suitable pairs respecting the + // chosen donor suitability criteria + suitablePairFraction 0.9; + + // Whether to start fringe assembly from the previous set of + // acceptors (for moving mesh cases) + cacheFringe no; + + donorSuitability + { + // Donor/acceptor pair must have cell volumes that differ not + // more than 60% of the larger cell + type cellVolumes; + threshold 0.6; + } + } + } + + frontMesh + { + // Donor regions + donorRegions ( middleMesh ); + + fringe + { + type overlap; + + // Optional list of patches to start the fringe minimisation from + initPatchNames (OversetFront); + + // Fraction of minimum allowable suitable pairs respecting the + // chosen donor suitability criteria + suitablePairFraction 0.8; + + // Whether to start fringe assembly from the previous set of + // acceptors (for moving mesh cases) + cacheFringe no; + + donorSuitability + { + // Donor/acceptor pair must have cell volumes that differ not + // more than 40% of the larger cell + type cellVolumes; + threshold 0.4; + } + } + } +); + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/constant/transportProperties b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/constant/transportProperties new file mode 100644 index 000000000..efb50c1b7 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/constant/transportProperties @@ -0,0 +1,26 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 2.3.x | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +|*---------------------------------------------------------------------------*| +| File created by CFD support s.r.o., Mon Aug 17 06:22:42 2015 | +| http://www.cdfsupport.com | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.3; + format ascii; + class dictionary; + location "constant"; + object transportProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +transportModel Newtonian; + +nu nu [ 0 2 -1 0 0 0 0 ] 1.605e-05; + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/constant/turbulenceProperties b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/constant/turbulenceProperties new file mode 100644 index 000000000..6a2ea973c --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/constant/turbulenceProperties @@ -0,0 +1,21 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 4.0 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "constant"; + object turbulenceProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +simulationType RASModel; + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/save/U b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/save/U new file mode 100644 index 000000000..a7cb574ca --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/save/U @@ -0,0 +1,82 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (26.3389 0 6.5036); + +boundaryField +{ + OversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + setHoleCellValue yes; + holeCellValue (0 0 0); + } + + Inflow + { + type fixedValue; + value uniform (26.3389 0 6.5036); + } + Outflow + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (0 0 0); + } + + Lower + { + type fixedValue; + value uniform (26.3389 0 6.5036); + } + Upper + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (0 0 0); + } + + airfoil + { + type fixedValue; + value uniform (0 0 0); + } + + frontAndBack + { + type empty; + } + + OversetMiddle + { + type emptyOverset; + value uniform (0 0 0); + } + + OversetFront + { + type emptyOverset; + value uniform (0 0 0); + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/save/k b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/save/k new file mode 100644 index 000000000..408455c9f --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/save/k @@ -0,0 +1,84 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object k; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0.0005723; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0.0005723; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0.0005723; + } + + Inflow + { + type fixedValue; + value uniform 0.0005723; + } + Outflow + { + type inletOutlet; + inletValue uniform 0.0005723; + value uniform 0.0005723; + } + + Lower + { + type fixedValue; + value uniform 0.0005723; + } + Upper + { + type inletOutlet; + inletValue uniform 0.0005723; + value uniform 0.0005723; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type kqRWallFunction; + value uniform 0.0005723; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0.0005723; + } + OversetFront + { + type emptyOverset; + value uniform 0.0005723; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/save/nut b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/save/nut new file mode 100644 index 000000000..3e82586b6 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/save/nut @@ -0,0 +1,85 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object nut; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0; + } + + Inflow + { + type calculated; + value uniform 0; + } + Outflow + { + type calculated; + value uniform 0; + } + + Lower + { + type calculated; + value uniform 0; + } + Upper + { + type calculated; + value uniform 0; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type nutWallFunction; + Cmu 0.09; + kappa 0.41; + E 9.8; + value uniform 0; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0; + } + OversetFront + { + type emptyOverset; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/save/omega b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/save/omega new file mode 100644 index 000000000..170d28faf --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/save/omega @@ -0,0 +1,90 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object omega; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 0 -1 0 0 0 0]; + +internalField uniform 0.42797; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0.42797; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0.42797; + } + + Inflow + { + type fixedValue; + value uniform 0.42797; + } + Outflow + { + type inletOutlet; + inletValue uniform 0.42797; + value uniform 0.42797; + } + + Lower + { + type fixedValue; + value uniform 0.42797; + } + Upper + { + type inletOutlet; + inletValue uniform 0.42797; + value uniform 0.42797; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type omegaWallFunction; + refValue uniform 0; + value uniform 0.42797; + + Cmu 0.09; + kappa 0.41; + E 9.8; + beta1 0.075; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0.42797; + } + OversetFront + { + type emptyOverset; + value uniform 0.42797; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/save/p b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/save/p new file mode 100644 index 000000000..87b94eca1 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/save/p @@ -0,0 +1,79 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0; + + coupledFringe yes; + conservativeCorrection yes; + + setHoleCellValue yes; + holeCellValue 0; + } + + Inflow + { + type zeroGradient; + } + Outflow + { + type fixedValue; + value uniform 0; + } + + Lower + { + type zeroGradient; + } + Upper + { + type zeroGradient; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type zeroGradient; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0; + } + OversetFront + { + type emptyOverset; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/setBatch.batch b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/setBatch.batch new file mode 100644 index 000000000..31328cf5f --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/setBatch.batch @@ -0,0 +1,8 @@ +cellSet backgroundMesh new cellToCell cellRegion0 +cellSet middleMesh new cellToCell cellRegion1 +cellSet frontMesh new cellToCell cellRegion2 + +cellSet cellRegion0 delete +cellSet cellRegion1 delete +cellSet cellRegion2 delete +quit diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/system/controlDict b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/system/controlDict new file mode 100644 index 000000000..c817f34f2 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/system/controlDict @@ -0,0 +1,47 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object controlDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +application simpleOversetFoam; + +startFrom latestTime; + +startTime 0; + +stopAt endTime; + +endTime 5000; + +deltaT 1; + +writeControl runTime; + +writeInterval 1000; + +purgeWrite 0; + +writeFormat ascii; + +writePrecision 10; + +writeCompression uncompressed; + +timeFormat general; + +timePrecision 6; + +runTimeModifiable yes; + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/system/decomposeParDict b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/system/decomposeParDict new file mode 100644 index 000000000..b71718eae --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/system/decomposeParDict @@ -0,0 +1,33 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object decomposeParDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +numberOfSubdomains 50; + +method metis; + +simpleCoeffs +{ + n (1 3 1); + delta 0.001; +} + +distributed no; + +roots +( +); + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/system/fvSchemes b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/system/fvSchemes new file mode 100644 index 000000000..3d37ca084 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/system/fvSchemes @@ -0,0 +1,54 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSchemes; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +ddtSchemes +{ + default steadyState; +} + +gradSchemes +{ + default Gauss linear; +} + +divSchemes +{ + default none; + + div(phi,U) Gauss linearUpwindV default; + div(phi,k) Gauss upwind; + div(phi,omega) Gauss upwind; + + div((nuEff*dev(T(grad(U))))) Gauss linear; +} + +laplacianSchemes +{ + default Gauss linear limited 0.5; +} + +interpolationSchemes +{ + default linear; +} + +snGradSchemes +{ + default limited 0.5; +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/system/fvSolution b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/system/fvSolution new file mode 100644 index 000000000..bc55c25f7 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/system/fvSolution @@ -0,0 +1,83 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSolution; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +solvers +{ + p + { + solver BiCGStab; + preconditioner Cholesky; + + minIter 1; + maxIter 1000; + tolerance 1e-7; + relTol 0.0; // Tighter tolerance for conservative overset + } + + U + { + solver BiCGStab; + preconditioner DILU; + + tolerance 1e-08; + relTol 0.01; + minIter 1; + maxIter 10; + } + + k + { + solver smoothSolver; + smoother GaussSeidel; + + tolerance 1e-08; + relTol 0.1; + minIter 1; + maxIter 10; + } + + omega + { + solver smoothSolver; + smoother GaussSeidel; + + tolerance 1e-08; + relTol 0.1; + minIter 1; + maxIter 10; + } +} + +SIMPLE +{ + nNonOrthogonalCorrectors 0; +} + +relaxationFactors +{ + equations + { + U 0.7; + k 0.5; + epsilon 0.5; + } + fields + { + p 0.3; + } +} + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/system/sampleDict b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/system/sampleDict new file mode 100644 index 000000000..dff382873 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitConservativeOverset/system/sampleDict @@ -0,0 +1,42 @@ + /*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 1.6 | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "system"; + object sampleDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +interpolationScheme cellPoint; +surfaceFormat raw; + +setFormat gnuplot; + +sets (); + +fields (p); + +surfaces +( + solidWall + { + type patch; + patchName airfoil; + rhoName rhoInf; + rhoInf 1.0; //Reference density for fluid + outputInterval: 1.0 + interpolate true; + triangulate false; + } +); + + +// *********************************************************************** // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/0/U b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/0/U new file mode 100644 index 000000000..a7cb574ca --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/0/U @@ -0,0 +1,82 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (26.3389 0 6.5036); + +boundaryField +{ + OversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + setHoleCellValue yes; + holeCellValue (0 0 0); + } + + Inflow + { + type fixedValue; + value uniform (26.3389 0 6.5036); + } + Outflow + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (0 0 0); + } + + Lower + { + type fixedValue; + value uniform (26.3389 0 6.5036); + } + Upper + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (0 0 0); + } + + airfoil + { + type fixedValue; + value uniform (0 0 0); + } + + frontAndBack + { + type empty; + } + + OversetMiddle + { + type emptyOverset; + value uniform (0 0 0); + } + + OversetFront + { + type emptyOverset; + value uniform (0 0 0); + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/0/k b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/0/k new file mode 100644 index 000000000..408455c9f --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/0/k @@ -0,0 +1,84 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object k; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0.0005723; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0.0005723; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0.0005723; + } + + Inflow + { + type fixedValue; + value uniform 0.0005723; + } + Outflow + { + type inletOutlet; + inletValue uniform 0.0005723; + value uniform 0.0005723; + } + + Lower + { + type fixedValue; + value uniform 0.0005723; + } + Upper + { + type inletOutlet; + inletValue uniform 0.0005723; + value uniform 0.0005723; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type kqRWallFunction; + value uniform 0.0005723; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0.0005723; + } + OversetFront + { + type emptyOverset; + value uniform 0.0005723; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/0/nut b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/0/nut new file mode 100644 index 000000000..3e82586b6 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/0/nut @@ -0,0 +1,85 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object nut; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0; + } + + Inflow + { + type calculated; + value uniform 0; + } + Outflow + { + type calculated; + value uniform 0; + } + + Lower + { + type calculated; + value uniform 0; + } + Upper + { + type calculated; + value uniform 0; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type nutWallFunction; + Cmu 0.09; + kappa 0.41; + E 9.8; + value uniform 0; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0; + } + OversetFront + { + type emptyOverset; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/0/omega b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/0/omega new file mode 100644 index 000000000..170d28faf --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/0/omega @@ -0,0 +1,90 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object omega; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 0 -1 0 0 0 0]; + +internalField uniform 0.42797; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0.42797; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0.42797; + } + + Inflow + { + type fixedValue; + value uniform 0.42797; + } + Outflow + { + type inletOutlet; + inletValue uniform 0.42797; + value uniform 0.42797; + } + + Lower + { + type fixedValue; + value uniform 0.42797; + } + Upper + { + type inletOutlet; + inletValue uniform 0.42797; + value uniform 0.42797; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type omegaWallFunction; + refValue uniform 0; + value uniform 0.42797; + + Cmu 0.09; + kappa 0.41; + E 9.8; + beta1 0.075; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0.42797; + } + OversetFront + { + type emptyOverset; + value uniform 0.42797; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/0/p b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/0/p new file mode 100644 index 000000000..cd70631e0 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/0/p @@ -0,0 +1,79 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0; + + coupledFringe yes; + conservativeCorrection no; + + setHoleCellValue yes; + holeCellValue 0; + } + + Inflow + { + type zeroGradient; + } + Outflow + { + type fixedValue; + value uniform 0; + } + + Lower + { + type zeroGradient; + } + Upper + { + type zeroGradient; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type zeroGradient; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0; + } + OversetFront + { + type emptyOverset; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/Allclean b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/Allclean new file mode 100755 index 000000000..05c9ee28d --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/Allclean @@ -0,0 +1,17 @@ +#!/bin/sh + +# Source tutorial clean functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +cleanCase +\rm -f .setSet +\rm -rf 0/cellDist 0/cellDist.gz constant/cellDecomposition +\rm -rf *.vtk VTK +\rm -rf constant/polyMesh/ +\rm -rf 0 holeTri* +\rm -rf surfaces +\rm -f *raw +\rm -rf logs nohup.out + +mkdir constant/polyMesh +cp -r save 0 diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/Allrun b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/Allrun new file mode 100755 index 000000000..4c3bcb919 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/Allrun @@ -0,0 +1,49 @@ +#!/bin/sh +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +# Get application name +application1="potentialOversetFoam" +application2="simpleOversetFoam" + +# Copy background grid +\cp -r ../oversetMeshes/backgroundMesh/constant/polyMesh constant/. + +# Merge meshes and clean up +runApplication mergeMeshes .. explicitOverset . ../oversetMeshes/middleMesh +\rm -rf constant/polyMesh +\mv 1/polyMesh constant +rm -rf 1 +\rm -f constant/polyMesh/pointZones constant/polyMesh/pointZones.gz constant/polyMesh/faceZones constant/polyMesh/faceZones.gz constant/polyMesh/cellZones constant/polyMesh/cellZones.gz +\mv log.mergeMeshes log.mergeMeshes-backgroundMiddle + +runApplication mergeMeshes .. explicitOverset . ../oversetMeshes/frontMesh +\rm -rf constant/polyMesh +\mv 1/polyMesh constant +rm -rf 1 +\rm -f constant/polyMesh/pointZones constant/polyMesh/pointZones.gz constant/polyMesh/faceZones constant/polyMesh/faceZones.gz constant/polyMesh/cellZones constant/polyMesh/cellZones.gz +\mv log.mergeMeshes log.mergeMeshes-backgroundMiddleFront + +# Make cell zones for all regions and clean up +runApplication regionCellSets +runApplication setSet -batch setBatch.batch +\rm -f log.setSet +\rm -f constant/polyMesh/sets/*_old constant/polyMesh/sets/*_old.gz +\rm -f constant/polyMesh/sets/cellRegion0 constant/polyMesh/sets/cellRegion0.gz constant/polyMesh/sets/cellRegion1 constant/polyMesh/sets/cellRegion1.gz +runApplication setsToZones + +# Scale x and y directions to have the same setup as the case from +# foam-extend-4.0 validationSuite +transformPoints -scale "(0.901 1 0.905512)" > log.transformPoints + +# Set up boundary patches +\cp -f boundary constant/polyMesh/boundary + +# Run serial +runApplication $application1 +runApplication $application2 + +# Perform sampling +runApplication sample -latestTime +timeStep=$(grep "^endTime" system/controlDict | awk '{ print $2 }' | sed 's/;//g') +cp -v surfaces/$timeStep/p_solidWall.raw . diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/boundary b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/boundary new file mode 100644 index 000000000..4a2e40fc6 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/boundary @@ -0,0 +1,77 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 4.0 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class polyBoundaryMesh; + location "1/polyMesh"; + object boundary; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +9 +( + OversetFaces + { + type overset; + nFaces 0; + startFace 51368; + } + Inflow + { + type patch; + nFaces 112; + startFace 51368; + } + Lower + { + type patch; + nFaces 48; + startFace 51480; + } + frontAndBack + { + type empty; + nFaces 51968; + startFace 51528; + } + Outflow + { + type patch; + nFaces 112; + startFace 103496; + } + Upper + { + type patch; + nFaces 48; + startFace 103608; + } + OversetMiddle + { + type patch; + nFaces 368; + startFace 103656; + } + OversetFront + { + type patch; + nFaces 336; + startFace 104024; + } + airfoil + { + type wall; + nFaces 176; + startFace 104360; + } +) + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/constant/RASProperties b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/constant/RASProperties new file mode 100644 index 000000000..cd4d3b7bc --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/constant/RASProperties @@ -0,0 +1,27 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 2.3.x | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +|*---------------------------------------------------------------------------*| +| File created by CFD support s.r.o., Mon Aug 17 06:22:27 2015 | +| http://www.cdfsupport.com | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.3; + format ascii; + class dictionary; + location "constant"; + object RASProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +RASModel kOmegaSST; + +turbulence on; + +printCoeffs on; + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/constant/oversetMeshDict b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/constant/oversetMeshDict new file mode 100644 index 000000000..f8b0f300e --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/constant/oversetMeshDict @@ -0,0 +1,123 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object oversetMeshDict; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +interpolation +{ + interpolationSchemes (inverseDistance); + + default inverseDistance; +} + +// Names or patches that determine hole cells +holePatches ( airfoil ); + +regions +( + backgroundMesh + { + // Donor regions + donorRegions ( middleMesh ); + + fringe + { + type overlap; + + // Optional list of patches to start the fringe minimisation from + initPatchNames (); + + // Fraction of minimum allowable suitable pairs respecting the + // chosen donor suitability criteria + suitablePairFraction 0.8; + + // Whether to start fringe assembly from the previous set of + // acceptors (for moving mesh cases) + cacheFringe no; + + donorSuitability + { + // Donor/acceptor pair must have cell volumes that differ not + // more than 60% of the larger cell + type cellVolumes; + threshold 0.6; + } + } + } + + middleMesh + { + // Donor regions + donorRegions ( frontMesh backgroundMesh ); + + fringe + { + type overlap; + + // Optional list of patches to start the fringe minimisation from + initPatchNames (OversetMiddle); + + // Fraction of minimum allowable suitable pairs respecting the + // chosen donor suitability criteria + suitablePairFraction 0.9; + + // Whether to start fringe assembly from the previous set of + // acceptors (for moving mesh cases) + cacheFringe no; + + donorSuitability + { + // Donor/acceptor pair must have cell volumes that differ not + // more than 60% of the larger cell + type cellVolumes; + threshold 0.6; + } + } + } + + frontMesh + { + // Donor regions + donorRegions ( middleMesh ); + + fringe + { + type overlap; + + // Optional list of patches to start the fringe minimisation from + initPatchNames (OversetFront); + + // Fraction of minimum allowable suitable pairs respecting the + // chosen donor suitability criteria + suitablePairFraction 0.8; + + // Whether to start fringe assembly from the previous set of + // acceptors (for moving mesh cases) + cacheFringe no; + + donorSuitability + { + // Donor/acceptor pair must have cell volumes that differ not + // more than 40% of the larger cell + type cellVolumes; + threshold 0.4; + } + } + } +); + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/constant/transportProperties b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/constant/transportProperties new file mode 100644 index 000000000..efb50c1b7 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/constant/transportProperties @@ -0,0 +1,26 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 2.3.x | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +|*---------------------------------------------------------------------------*| +| File created by CFD support s.r.o., Mon Aug 17 06:22:42 2015 | +| http://www.cdfsupport.com | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.3; + format ascii; + class dictionary; + location "constant"; + object transportProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +transportModel Newtonian; + +nu nu [ 0 2 -1 0 0 0 0 ] 1.605e-05; + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/constant/turbulenceProperties b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/constant/turbulenceProperties new file mode 100644 index 000000000..6a2ea973c --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/constant/turbulenceProperties @@ -0,0 +1,21 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 4.0 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "constant"; + object turbulenceProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +simulationType RASModel; + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/save/U b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/save/U new file mode 100644 index 000000000..a7cb574ca --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/save/U @@ -0,0 +1,82 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (26.3389 0 6.5036); + +boundaryField +{ + OversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + setHoleCellValue yes; + holeCellValue (0 0 0); + } + + Inflow + { + type fixedValue; + value uniform (26.3389 0 6.5036); + } + Outflow + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (0 0 0); + } + + Lower + { + type fixedValue; + value uniform (26.3389 0 6.5036); + } + Upper + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (0 0 0); + } + + airfoil + { + type fixedValue; + value uniform (0 0 0); + } + + frontAndBack + { + type empty; + } + + OversetMiddle + { + type emptyOverset; + value uniform (0 0 0); + } + + OversetFront + { + type emptyOverset; + value uniform (0 0 0); + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/save/k b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/save/k new file mode 100644 index 000000000..408455c9f --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/save/k @@ -0,0 +1,84 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object k; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0.0005723; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0.0005723; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0.0005723; + } + + Inflow + { + type fixedValue; + value uniform 0.0005723; + } + Outflow + { + type inletOutlet; + inletValue uniform 0.0005723; + value uniform 0.0005723; + } + + Lower + { + type fixedValue; + value uniform 0.0005723; + } + Upper + { + type inletOutlet; + inletValue uniform 0.0005723; + value uniform 0.0005723; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type kqRWallFunction; + value uniform 0.0005723; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0.0005723; + } + OversetFront + { + type emptyOverset; + value uniform 0.0005723; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/save/nut b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/save/nut new file mode 100644 index 000000000..3e82586b6 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/save/nut @@ -0,0 +1,85 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object nut; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0; + } + + Inflow + { + type calculated; + value uniform 0; + } + Outflow + { + type calculated; + value uniform 0; + } + + Lower + { + type calculated; + value uniform 0; + } + Upper + { + type calculated; + value uniform 0; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type nutWallFunction; + Cmu 0.09; + kappa 0.41; + E 9.8; + value uniform 0; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0; + } + OversetFront + { + type emptyOverset; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/save/omega b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/save/omega new file mode 100644 index 000000000..170d28faf --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/save/omega @@ -0,0 +1,90 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object omega; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 0 -1 0 0 0 0]; + +internalField uniform 0.42797; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0.42797; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0.42797; + } + + Inflow + { + type fixedValue; + value uniform 0.42797; + } + Outflow + { + type inletOutlet; + inletValue uniform 0.42797; + value uniform 0.42797; + } + + Lower + { + type fixedValue; + value uniform 0.42797; + } + Upper + { + type inletOutlet; + inletValue uniform 0.42797; + value uniform 0.42797; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type omegaWallFunction; + refValue uniform 0; + value uniform 0.42797; + + Cmu 0.09; + kappa 0.41; + E 9.8; + beta1 0.075; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0.42797; + } + OversetFront + { + type emptyOverset; + value uniform 0.42797; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/save/p b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/save/p new file mode 100644 index 000000000..cd70631e0 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/save/p @@ -0,0 +1,79 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0; + + coupledFringe yes; + conservativeCorrection no; + + setHoleCellValue yes; + holeCellValue 0; + } + + Inflow + { + type zeroGradient; + } + Outflow + { + type fixedValue; + value uniform 0; + } + + Lower + { + type zeroGradient; + } + Upper + { + type zeroGradient; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type zeroGradient; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0; + } + OversetFront + { + type emptyOverset; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/setBatch.batch b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/setBatch.batch new file mode 100644 index 000000000..31328cf5f --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/setBatch.batch @@ -0,0 +1,8 @@ +cellSet backgroundMesh new cellToCell cellRegion0 +cellSet middleMesh new cellToCell cellRegion1 +cellSet frontMesh new cellToCell cellRegion2 + +cellSet cellRegion0 delete +cellSet cellRegion1 delete +cellSet cellRegion2 delete +quit diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/system/controlDict b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/system/controlDict new file mode 100644 index 000000000..c817f34f2 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/system/controlDict @@ -0,0 +1,47 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object controlDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +application simpleOversetFoam; + +startFrom latestTime; + +startTime 0; + +stopAt endTime; + +endTime 5000; + +deltaT 1; + +writeControl runTime; + +writeInterval 1000; + +purgeWrite 0; + +writeFormat ascii; + +writePrecision 10; + +writeCompression uncompressed; + +timeFormat general; + +timePrecision 6; + +runTimeModifiable yes; + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/system/decomposeParDict b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/system/decomposeParDict new file mode 100644 index 000000000..b71718eae --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/system/decomposeParDict @@ -0,0 +1,33 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object decomposeParDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +numberOfSubdomains 50; + +method metis; + +simpleCoeffs +{ + n (1 3 1); + delta 0.001; +} + +distributed no; + +roots +( +); + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/system/fvSchemes b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/system/fvSchemes new file mode 100644 index 000000000..3d37ca084 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/system/fvSchemes @@ -0,0 +1,54 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSchemes; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +ddtSchemes +{ + default steadyState; +} + +gradSchemes +{ + default Gauss linear; +} + +divSchemes +{ + default none; + + div(phi,U) Gauss linearUpwindV default; + div(phi,k) Gauss upwind; + div(phi,omega) Gauss upwind; + + div((nuEff*dev(T(grad(U))))) Gauss linear; +} + +laplacianSchemes +{ + default Gauss linear limited 0.5; +} + +interpolationSchemes +{ + default linear; +} + +snGradSchemes +{ + default limited 0.5; +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/system/fvSolution b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/system/fvSolution new file mode 100644 index 000000000..21f3af01f --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/system/fvSolution @@ -0,0 +1,83 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSolution; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +solvers +{ + p + { + solver BiCGStab; + preconditioner Cholesky; + + minIter 1; + maxIter 200; + tolerance 1e-7; + relTol 0.01; + } + + U + { + solver BiCGStab; + preconditioner DILU; + + tolerance 1e-08; + relTol 0.01; + minIter 1; + maxIter 10; + } + + k + { + solver smoothSolver; + smoother GaussSeidel; + + tolerance 1e-08; + relTol 0.1; + minIter 1; + maxIter 10; + } + + omega + { + solver smoothSolver; + smoother GaussSeidel; + + tolerance 1e-08; + relTol 0.1; + minIter 1; + maxIter 10; + } +} + +SIMPLE +{ + nNonOrthogonalCorrectors 0; +} + +relaxationFactors +{ + equations + { + U 0.7; + k 0.5; + epsilon 0.5; + } + fields + { + p 0.3; + } +} + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/system/sampleDict b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/system/sampleDict new file mode 100644 index 000000000..dff382873 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/implicitNonConservativeOverset/system/sampleDict @@ -0,0 +1,42 @@ + /*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 1.6 | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "system"; + object sampleDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +interpolationScheme cellPoint; +surfaceFormat raw; + +setFormat gnuplot; + +sets (); + +fields (p); + +surfaces +( + solidWall + { + type patch; + patchName airfoil; + rhoName rhoInf; + rhoInf 1.0; //Reference density for fluid + outputInterval: 1.0 + interpolate true; + triangulate false; + } +); + + +// *********************************************************************** // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/0/U b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/0/U new file mode 100644 index 000000000..88bebdb1d --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/0/U @@ -0,0 +1,48 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 4.0 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (26.3389 6.5036 0); + +boundaryField +{ + frontAndBack + { + type empty; + } + inlet + { + type inletOutlet; + inletValue uniform (26.3389 6.5036 0); + value uniform (26.3389 6.5036 0); + } + outlet + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (26.3389 6.5036 0); + } + solidWall + { + type fixedValue; + value uniform (0 0 0); + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/0/k b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/0/k new file mode 100644 index 000000000..515b0fca8 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/0/k @@ -0,0 +1,48 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 4.0 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + location "0"; + object k; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0.0005723; + +boundaryField +{ + frontAndBack + { + type empty; + } + inlet + { + type inletOutlet; + inletValue uniform 0.0005723; + value uniform 0.0005723; + } + outlet + { + type inletOutlet; + inletValue uniform 0.0005723; + value uniform 0.0005723; + } + solidWall + { + type kqRWallFunction; + value uniform 0.0005723; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/0/nut b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/0/nut new file mode 100644 index 000000000..aad619488 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/0/nut @@ -0,0 +1,49 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 4.0 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + location "0"; + object nut; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + frontAndBack + { + type empty; + } + inlet + { + type calculated; + value uniform 0; + } + outlet + { + type calculated; + value uniform 0; + } + solidWall + { + type nutWallFunction; + Cmu 0.09; + kappa 0.41; + E 9.8; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/0/omega b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/0/omega new file mode 100644 index 000000000..af8afe4e6 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/0/omega @@ -0,0 +1,53 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 4.0 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + location "0"; + object omega; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 0 -1 0 0 0 0]; + +internalField uniform 0.42797; + +boundaryField +{ + frontAndBack + { + type empty; + } + inlet + { + type inletOutlet; + inletValue uniform 0.42797; + value uniform 0.42797; + } + outlet + { + type inletOutlet; + inletValue uniform 0.42797; + value uniform 0.42797; + } + solidWall + { + type omegaWallFunction; + refValue uniform 0; + value uniform 0.42797; + Cmu 0.09; + kappa 0.41; + E 9.8; + beta1 0.075; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/0/p b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/0/p new file mode 100644 index 000000000..15da59452 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/0/p @@ -0,0 +1,47 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + location "0"; + object p; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + frontAndBack + { + type empty; + } + inlet + { + type outletInlet; + outletValue uniform 0; + value uniform 0; + } + outlet + { + type outletInlet; + outletValue uniform 0; + value uniform 0; + } + solidWall + { + type zeroGradient; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/Allclean b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/Allclean new file mode 100755 index 000000000..10582d2e9 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/Allclean @@ -0,0 +1,13 @@ +#!/bin/bash + +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +cleanTimeDirectories +\rm -rf 0 +\rm -rf surfaces +\rm -rf forces +\rm -f *raw +\rm -rf logs nohup.out + +cp -r save 0 diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/Allrun b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/Allrun new file mode 100755 index 000000000..ffd5b5265 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/Allrun @@ -0,0 +1,12 @@ +#!/bin/bash +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +application=simpleFoam + +runApplication potentialFoam +runApplication $application + +# Perform sampling +runApplication sample -latestTime +timeStep=$(grep "^endTime" system/controlDict | awk '{ print $2 }' | sed 's/;//g') +cp -v surfaces/$timeStep/p_solidWall.raw . diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/RASProperties b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/RASProperties new file mode 100644 index 000000000..cd4d3b7bc --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/RASProperties @@ -0,0 +1,27 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 2.3.x | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +|*---------------------------------------------------------------------------*| +| File created by CFD support s.r.o., Mon Aug 17 06:22:27 2015 | +| http://www.cdfsupport.com | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.3; + format ascii; + class dictionary; + location "constant"; + object RASProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +RASModel kOmegaSST; + +turbulence on; + +printCoeffs on; + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/polyMesh/boundary b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/polyMesh/boundary new file mode 100644 index 000000000..2f816b7fe --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/polyMesh/boundary @@ -0,0 +1,46 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class polyBoundaryMesh; + location "constant/polyMesh"; + object boundary; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +4 +( + frontAndBack + { + type empty; + nFaces 55404; + startFace 54975; + } + inlet + { + type patch; + nFaces 486; + startFace 110379; + } + outlet + { + type patch; + nFaces 114; + startFace 110865; + } + solidWall + { + type wall; + nFaces 258; + startFace 110979; + } +) + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/polyMesh/faces.gz b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/polyMesh/faces.gz new file mode 100644 index 000000000..9e5dc48b3 Binary files /dev/null and b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/polyMesh/faces.gz differ diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/polyMesh/neighbour.gz b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/polyMesh/neighbour.gz new file mode 100644 index 000000000..2cb604cdc Binary files /dev/null and b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/polyMesh/neighbour.gz differ diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/polyMesh/owner.gz b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/polyMesh/owner.gz new file mode 100644 index 000000000..55c0d3dda Binary files /dev/null and b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/polyMesh/owner.gz differ diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/polyMesh/points.gz b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/polyMesh/points.gz new file mode 100644 index 000000000..543907d59 Binary files /dev/null and b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/polyMesh/points.gz differ diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/transportProperties b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/transportProperties new file mode 100644 index 000000000..efb50c1b7 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/transportProperties @@ -0,0 +1,26 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 2.3.x | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +|*---------------------------------------------------------------------------*| +| File created by CFD support s.r.o., Mon Aug 17 06:22:42 2015 | +| http://www.cdfsupport.com | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.3; + format ascii; + class dictionary; + location "constant"; + object transportProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +transportModel Newtonian; + +nu nu [ 0 2 -1 0 0 0 0 ] 1.605e-05; + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/turbulenceProperties b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/turbulenceProperties new file mode 100644 index 000000000..6a2ea973c --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/constant/turbulenceProperties @@ -0,0 +1,21 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 4.0 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "constant"; + object turbulenceProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +simulationType RASModel; + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/save/U b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/save/U new file mode 100644 index 000000000..88bebdb1d --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/save/U @@ -0,0 +1,48 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 4.0 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (26.3389 6.5036 0); + +boundaryField +{ + frontAndBack + { + type empty; + } + inlet + { + type inletOutlet; + inletValue uniform (26.3389 6.5036 0); + value uniform (26.3389 6.5036 0); + } + outlet + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (26.3389 6.5036 0); + } + solidWall + { + type fixedValue; + value uniform (0 0 0); + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/save/k b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/save/k new file mode 100644 index 000000000..515b0fca8 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/save/k @@ -0,0 +1,48 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 4.0 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + location "0"; + object k; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0.0005723; + +boundaryField +{ + frontAndBack + { + type empty; + } + inlet + { + type inletOutlet; + inletValue uniform 0.0005723; + value uniform 0.0005723; + } + outlet + { + type inletOutlet; + inletValue uniform 0.0005723; + value uniform 0.0005723; + } + solidWall + { + type kqRWallFunction; + value uniform 0.0005723; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/save/nut b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/save/nut new file mode 100644 index 000000000..aad619488 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/save/nut @@ -0,0 +1,49 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 4.0 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + location "0"; + object nut; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + frontAndBack + { + type empty; + } + inlet + { + type calculated; + value uniform 0; + } + outlet + { + type calculated; + value uniform 0; + } + solidWall + { + type nutWallFunction; + Cmu 0.09; + kappa 0.41; + E 9.8; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/save/omega b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/save/omega new file mode 100644 index 000000000..af8afe4e6 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/save/omega @@ -0,0 +1,53 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 4.0 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + location "0"; + object omega; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 0 -1 0 0 0 0]; + +internalField uniform 0.42797; + +boundaryField +{ + frontAndBack + { + type empty; + } + inlet + { + type inletOutlet; + inletValue uniform 0.42797; + value uniform 0.42797; + } + outlet + { + type inletOutlet; + inletValue uniform 0.42797; + value uniform 0.42797; + } + solidWall + { + type omegaWallFunction; + refValue uniform 0; + value uniform 0.42797; + Cmu 0.09; + kappa 0.41; + E 9.8; + beta1 0.075; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/save/p b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/save/p new file mode 100644 index 000000000..15da59452 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/save/p @@ -0,0 +1,47 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + location "0"; + object p; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + frontAndBack + { + type empty; + } + inlet + { + type outletInlet; + outletValue uniform 0; + value uniform 0; + } + outlet + { + type outletInlet; + outletValue uniform 0; + value uniform 0; + } + solidWall + { + type zeroGradient; + } +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/system/controlDict b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/system/controlDict new file mode 100644 index 000000000..33c75a2d8 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/system/controlDict @@ -0,0 +1,48 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object controlDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +application simpleFoam; + +startFrom latestTime; + +startTime 0; + +stopAt endTime; + +endTime 5000; + +deltaT 1; + +writeControl runTime; + +writeInterval 1000; + +purgeWrite 0; + +writeFormat ascii; + +writePrecision 10; + +writeCompression uncompressed; + +timeFormat general; + +timePrecision 6; + +runTimeModifiable yes; + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/system/fvSchemes b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/system/fvSchemes new file mode 100644 index 000000000..3d37ca084 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/system/fvSchemes @@ -0,0 +1,54 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSchemes; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +ddtSchemes +{ + default steadyState; +} + +gradSchemes +{ + default Gauss linear; +} + +divSchemes +{ + default none; + + div(phi,U) Gauss linearUpwindV default; + div(phi,k) Gauss upwind; + div(phi,omega) Gauss upwind; + + div((nuEff*dev(T(grad(U))))) Gauss linear; +} + +laplacianSchemes +{ + default Gauss linear limited 0.5; +} + +interpolationSchemes +{ + default linear; +} + +snGradSchemes +{ + default limited 0.5; +} + + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/system/fvSolution b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/system/fvSolution new file mode 100644 index 000000000..74947fb16 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/system/fvSolution @@ -0,0 +1,83 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSolution; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +solvers +{ + p + { + solver CG; + preconditioner Cholesky; + + minIter 1; + maxIter 200; + tolerance 1e-7; + relTol 0.001; + } + + U + { + solver BiCGStab; + preconditioner DILU; + + tolerance 1e-08; + relTol 0.01; + minIter 1; + maxIter 10; + } + + k + { + solver smoothSolver; + smoother GaussSeidel; + + tolerance 1e-08; + relTol 0.1; + minIter 1; + maxIter 10; + } + + omega + { + solver smoothSolver; + smoother GaussSeidel; + + tolerance 1e-08; + relTol 0.1; + minIter 1; + maxIter 10; + } +} + +SIMPLE +{ + nNonOrthogonalCorrectors 0; +} + +relaxationFactors +{ + equations + { + U 0.7; + k 0.5; + epsilon 0.5; + } + fields + { + p 0.3; + } +} + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/system/sampleDict b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/system/sampleDict new file mode 100644 index 000000000..06deaabc6 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/noOverset/system/sampleDict @@ -0,0 +1,42 @@ + /*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 1.6 | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "system"; + object sampleDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +interpolationScheme cellPoint; +surfaceFormat raw; + +setFormat gnuplot; + +sets (); + +fields (p); + +surfaces +( + solidWall + { + type patch; + patchName solidWall; + rhoName rhoInf; + rhoInf 1.0; //Reference density for fluid + outputInterval 1.0; + interpolate true; + triangulate false; + } +); + + +// *********************************************************************** // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/oversetMeshes/backgroundMesh/constant/polyMesh/boundary b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/oversetMeshes/backgroundMesh/constant/polyMesh/boundary new file mode 100644 index 000000000..1939d6b57 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/oversetMeshes/backgroundMesh/constant/polyMesh/boundary @@ -0,0 +1,52 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 2.3.0 | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class polyBoundaryMesh; + location "constant/polyMesh"; + object boundary; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +5 +( + Inflow + { + type patch; + nFaces 112; + startFace 10592; + } + Lower + { + type patch; + nFaces 48; + startFace 10704; + } + frontAndBack + { + type empty; + nFaces 10752; + startFace 10752; + } + Outflow + { + type patch; + nFaces 112; + startFace 21504; + } + Upper + { + type patch; + nFaces 48; + startFace 21616; + } +) + +// ************************************************************************* // diff --git a/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/oversetMeshes/backgroundMesh/constant/polyMesh/cellZones b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/oversetMeshes/backgroundMesh/constant/polyMesh/cellZones new file mode 100644 index 000000000..36af17a67 --- /dev/null +++ b/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/oversetMeshes/backgroundMesh/constant/polyMesh/cellZones @@ -0,0 +1,5407 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 2.3.0 | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class regIOobject; + location "constant/polyMesh"; + object cellZones; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +1 +( +VOL +{ + type cellZone; +cellLabels List