mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: basic, IO, preProcessing, VV: clean up tutorials
- TUT: mesh: add missing SnakeRiverCanyon files - TUT: mesh: add missing cp source in a foamyHexMesh tutorial
This commit is contained in:
@ -25,14 +25,17 @@ boundaryField
|
|||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
value uniform (0 0 0);
|
value uniform (0 0 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
walls
|
walls
|
||||||
{
|
{
|
||||||
type noSlip;
|
type noSlip;
|
||||||
}
|
}
|
||||||
|
|
||||||
frontAndBack
|
frontAndBack
|
||||||
{
|
{
|
||||||
type noSlip;
|
type noSlip;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
@ -3,7 +3,7 @@ cd "${0%/*}" || exit # Run from this directory
|
|||||||
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
|
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
cleanCase
|
cleanCase0
|
||||||
|
|
||||||
rm -rf machineA
|
rm -rf machineA
|
||||||
rm -rf machineB
|
rm -rf machineB
|
||||||
|
|||||||
@ -9,10 +9,11 @@ then
|
|||||||
if [ -f system/controlDict.orig ]
|
if [ -f system/controlDict.orig ]
|
||||||
then
|
then
|
||||||
echo "$0: restoring the controlDict from controlDict.orig"
|
echo "$0: restoring the controlDict from controlDict.orig"
|
||||||
mv system/controlDict.orig system/controlDict
|
mv -f system/controlDict.orig system/controlDict
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
restore0Dir
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
|
|
||||||
@ -32,15 +33,15 @@ runParallel -s uncollated $application -fileHandler uncollated
|
|||||||
rm -rf machineA/fileHandler
|
rm -rf machineA/fileHandler
|
||||||
mkdir -p machineA/fileHandler
|
mkdir -p machineA/fileHandler
|
||||||
( cd machineA/fileHandler && \
|
( cd machineA/fileHandler && \
|
||||||
cp -r ../../processor[0-1] . && \
|
cp -rf ../../processor[0-1] . && \
|
||||||
cp -r ../../system . && \
|
cp -rf ../../system . && \
|
||||||
mkdir -p constant && cp ../../constant/* constant
|
mkdir -p constant && cp ../../constant/* constant
|
||||||
)
|
)
|
||||||
#- Note: slave node does not need constant&system since these are global
|
#- Note: slave node does not need constant&system since these are global
|
||||||
rm -rf machineB/fileHandler
|
rm -rf machineB/fileHandler
|
||||||
mkdir -p machineB/fileHandler
|
mkdir -p machineB/fileHandler
|
||||||
( cd machineB/fileHandler && \
|
( cd machineB/fileHandler && \
|
||||||
cp -r ../../processor[2-3] .
|
cp -rf ../../processor[2-3] .
|
||||||
)
|
)
|
||||||
#- Run with different roots
|
#- Run with different roots
|
||||||
( d=$PWD && \
|
( d=$PWD && \
|
||||||
@ -86,8 +87,8 @@ runApplication -s collated decomposePar \
|
|||||||
rm -rf machineA/fileHandler
|
rm -rf machineA/fileHandler
|
||||||
mkdir -p machineA/fileHandler
|
mkdir -p machineA/fileHandler
|
||||||
( cd machineA/fileHandler && \
|
( cd machineA/fileHandler && \
|
||||||
cp -r ../../processor* . && \
|
cp -rf ../../processor* . && \
|
||||||
cp -r ../../system . && \
|
cp -rf ../../system . && \
|
||||||
mkdir -p constant && cp ../../constant/* constant
|
mkdir -p constant && cp ../../constant/* constant
|
||||||
)
|
)
|
||||||
#- Note: slave node does not need constant&system since these are global
|
#- Note: slave node does not need constant&system since these are global
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class uniformDimensionedVectorField;
|
class uniformDimensionedVectorField;
|
||||||
location "constant";
|
|
||||||
object g;
|
object g;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -14,7 +14,6 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|
||||||
(
|
(
|
||||||
(0.286 0.077 0.0032)
|
(0.286 0.077 0.0032)
|
||||||
(0.286 0.083 0.0032)
|
(0.286 0.083 0.0032)
|
||||||
@ -89,4 +88,5 @@ FoamFile
|
|||||||
(0.286 0.497 0.0032)
|
(0.286 0.497 0.0032)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "constant";
|
|
||||||
object kinematicCloudProperties;
|
object kinematicCloudProperties;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -10,15 +10,15 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "constant";
|
|
||||||
object transportProperties;
|
object transportProperties;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
rhoInf [1 -3 0 0 0 0 0] 1.2;
|
rhoInf 1.2;
|
||||||
|
|
||||||
transportModel Newtonian;
|
transportModel Newtonian;
|
||||||
|
|
||||||
nu [0 2 -1 0 0 0 0] 1e-05;
|
nu 1e-05;
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "constant";
|
|
||||||
object turbulenceProperties;
|
object turbulenceProperties;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object controlDict;
|
object controlDict;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -45,4 +44,5 @@ timePrecision 6;
|
|||||||
|
|
||||||
runTimeModifiable yes;
|
runTimeModifiable yes;
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -23,9 +23,5 @@ coeffs
|
|||||||
n (4 1 1);
|
n (4 1 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
distributed no;
|
|
||||||
|
|
||||||
roots ( );
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object fvSchemes;
|
object fvSchemes;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -40,4 +39,5 @@ interpolationSchemes
|
|||||||
default linear;
|
default linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object fvSolution;
|
object fvSolution;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -19,4 +18,5 @@ solvers
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volVectorField;
|
class volVectorField;
|
||||||
location "0";
|
|
||||||
object U;
|
object U;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
location "0";
|
|
||||||
object nut;
|
object nut;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -48,4 +48,5 @@ boundaryField
|
|||||||
#include "include/frontBackUpperPatches"
|
#include "include/frontBackUpperPatches"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -5,7 +5,4 @@ cd "${0%/*}" || exit # Run from this directory
|
|||||||
|
|
||||||
cleanCase0
|
cleanCase0
|
||||||
|
|
||||||
rm -f positionClean.dat
|
|
||||||
rm -f OF_vs_Exact.eps
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -4,6 +4,7 @@ cd "${0%/*}" || exit # Run from this directory
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
|
|
||||||
runApplication decomposePar
|
runApplication decomposePar
|
||||||
|
|
||||||
#- For parallel running: set the initial fields
|
#- For parallel running: set the initial fields
|
||||||
|
|||||||
@ -18,4 +18,5 @@ transportModel Newtonian;
|
|||||||
|
|
||||||
nu 1.5e-05;
|
nu 1.5e-05;
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -14,15 +14,16 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
simulationType RAS;
|
simulationType RAS;
|
||||||
|
|
||||||
RAS
|
RAS
|
||||||
{
|
{
|
||||||
RASModel kOmegaSST;
|
RASModel kOmegaSST;
|
||||||
|
|
||||||
turbulence on;
|
turbulence on;
|
||||||
|
|
||||||
printCoeffs on;
|
printCoeffs on;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -12,7 +12,6 @@ FoamFile
|
|||||||
class dictionary;
|
class dictionary;
|
||||||
object blockMeshDict;
|
object blockMeshDict;
|
||||||
}
|
}
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
scale 1;
|
scale 1;
|
||||||
@ -83,4 +82,5 @@ boundary
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -23,4 +23,5 @@ coeffs
|
|||||||
n (3 2 1);
|
n (3 2 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -28,9 +28,13 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
|
|
||||||
div(phi,U) bounded Gauss linearUpwindV grad(U);
|
div(phi,U) bounded Gauss linearUpwindV grad(U);
|
||||||
div(phi,k) bounded Gauss upwind;
|
|
||||||
div(phi,omega) bounded Gauss upwind;
|
turbulence bounded Gauss upwind;
|
||||||
|
div(phi,k) $turbulence;
|
||||||
|
div(phi,omega) $turbulence;
|
||||||
|
|
||||||
div((nuEff*dev2(T(grad(U))))) Gauss linear;
|
div((nuEff*dev2(T(grad(U))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -51,7 +55,7 @@ snGradSchemes
|
|||||||
|
|
||||||
wallDist
|
wallDist
|
||||||
{
|
{
|
||||||
method meshWave;
|
method meshWave;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -83,4 +83,5 @@ cache
|
|||||||
grad(U);
|
grad(U);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -26,4 +26,5 @@ system
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -38,4 +38,5 @@ boundaryField
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
@ -3,6 +3,6 @@ cd "${0%/*}" || exit # Run from this directory
|
|||||||
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
|
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
cleanCase
|
cleanCase0
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -3,6 +3,8 @@ cd "${0%/*}" || exit # Run from this directory
|
|||||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
restore0Dir
|
||||||
|
|
||||||
runApplication ansysToFoam \
|
runApplication ansysToFoam \
|
||||||
${FOAM_TUTORIALS:?}/resources/geometry/flange.ans -scale 0.001
|
${FOAM_TUTORIALS:?}/resources/geometry/flange.ans -scale 0.001
|
||||||
|
|
||||||
|
|||||||
@ -3,6 +3,8 @@ cd "${0%/*}" || exit # Run from this directory
|
|||||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
restore0Dir
|
||||||
|
|
||||||
runApplication ansysToFoam \
|
runApplication ansysToFoam \
|
||||||
${FOAM_TUTORIALS:?}/resources/geometry/flange.ans -scale 0.001
|
${FOAM_TUTORIALS:?}/resources/geometry/flange.ans -scale 0.001
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "constant";
|
|
||||||
object transportProperties;
|
object transportProperties;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object controlDict;
|
object controlDict;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -16,6 +16,7 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 4;
|
numberOfSubdomains 4;
|
||||||
|
|
||||||
method scotch;
|
method scotch;
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object fvSchemes;
|
object fvSchemes;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object fvSolution;
|
object fvSolution;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -15,8 +15,8 @@ done
|
|||||||
mpirun -app ./mpirun_left_right.schema
|
mpirun -app ./mpirun_left_right.schema
|
||||||
|
|
||||||
# Run with database
|
# Run with database
|
||||||
\mv log.run_left log.run_left_direct
|
mv -f log.run_left log.run_left_direct
|
||||||
\mv log.run_right log.run_right_direct
|
mv -f log.run_right log.run_right_direct
|
||||||
|
|
||||||
for subcase in left right
|
for subcase in left right
|
||||||
do
|
do
|
||||||
|
|||||||
@ -77,4 +77,5 @@ boundaryField
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -1,81 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
| ========= | |
|
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
||||||
| \\ / O peration | Version: v2012 |
|
|
||||||
| \\ / A nd | Website: www.openfoam.com |
|
|
||||||
| \\/ M anipulation | |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
class volScalarField;
|
|
||||||
object T;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 0 0 1 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 1;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
coupled
|
|
||||||
{
|
|
||||||
//type mappedField;
|
|
||||||
type mappedMixedField;
|
|
||||||
|
|
||||||
// What to sample:
|
|
||||||
sampleMode nearestPatchFaceAMI;
|
|
||||||
//sampleMode nearestPatchFace;
|
|
||||||
|
|
||||||
// Simulation world to sample
|
|
||||||
sampleWorld RIGHT;
|
|
||||||
|
|
||||||
// Region to sample
|
|
||||||
sampleRegion region0;
|
|
||||||
|
|
||||||
// If sampleMode is nearestPatchFace : patch to find faces of
|
|
||||||
samplePatch coupled;
|
|
||||||
|
|
||||||
// Use database to get data from (one-way or loose coupling in
|
|
||||||
// combination with functionObject)
|
|
||||||
sampleDatabase true;
|
|
||||||
|
|
||||||
// According to offsetMode (see above) supply one of
|
|
||||||
// offset, offsets or distance
|
|
||||||
offset (0 0 0);
|
|
||||||
|
|
||||||
value uniform 0.0;
|
|
||||||
|
|
||||||
|
|
||||||
// For mappedMixed
|
|
||||||
//weightField DTV;
|
|
||||||
refValue $value;
|
|
||||||
refGradient uniform 0.0;
|
|
||||||
valueFraction uniform 1.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
left
|
|
||||||
{
|
|
||||||
type fixedValue;
|
|
||||||
value uniform 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
frontAndBack
|
|
||||||
{
|
|
||||||
type empty;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "constant";
|
|
||||||
object transportProperties;
|
object transportProperties;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -90,4 +90,5 @@ mergePatchPairs
|
|||||||
(
|
(
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,23 +10,15 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object controlDict;
|
object controlDict;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
libs (utilityFunctionObjects);
|
libs (utilityFunctionObjects);
|
||||||
|
|
||||||
DebugSwitches
|
|
||||||
{
|
|
||||||
// mappedPatchBase 2;
|
|
||||||
// syncObjects 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
application laplacianFoam;
|
application laplacianFoam;
|
||||||
|
|
||||||
startFrom startTime; //latestTime;
|
startFrom startTime;
|
||||||
|
|
||||||
startTime 0;
|
startTime 0;
|
||||||
|
|
||||||
@ -36,8 +28,6 @@ endTime 5;
|
|||||||
|
|
||||||
deltaT 1;
|
deltaT 1;
|
||||||
|
|
||||||
//writeControl runTime;
|
|
||||||
//writeInterval 0.1;
|
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
|
|
||||||
@ -71,4 +61,5 @@ functions
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,16 +10,15 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
note "mesh decomposition control dictionary";
|
|
||||||
object decomposeParDict;
|
object decomposeParDict;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
//- The total number of domains (mandatory)
|
|
||||||
numberOfSubdomains 2;
|
numberOfSubdomains 2;
|
||||||
|
|
||||||
//- The decomposition method (mandatory)
|
|
||||||
method hierarchical;
|
method hierarchical;
|
||||||
|
|
||||||
n (2 1 1);
|
n (2 1 1);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,14 +10,13 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object fvSchemes;
|
object fvSchemes;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
ddtSchemes
|
ddtSchemes
|
||||||
{
|
{
|
||||||
default steadyState; //Euler;
|
default steadyState;
|
||||||
}
|
}
|
||||||
|
|
||||||
gradSchemes
|
gradSchemes
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object fvSolution;
|
object fvSolution;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -76,4 +76,5 @@ boundaryField
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -1,80 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
| ========= | |
|
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
||||||
| \\ / O peration | Version: v2012 |
|
|
||||||
| \\ / A nd | Website: www.openfoam.com |
|
|
||||||
| \\/ M anipulation | |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
class volScalarField;
|
|
||||||
object T;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 0 0 1 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 0;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
coupled
|
|
||||||
{
|
|
||||||
//type mappedField;
|
|
||||||
type mappedMixedField;
|
|
||||||
|
|
||||||
// What to sample:
|
|
||||||
sampleMode nearestPatchFaceAMI;
|
|
||||||
//sampleMode nearestPatchFace;
|
|
||||||
|
|
||||||
// Simulation world to sample
|
|
||||||
sampleWorld LEFT;
|
|
||||||
|
|
||||||
// Region to sample
|
|
||||||
sampleRegion region0;
|
|
||||||
|
|
||||||
// If sampleMode is nearestPatchFace : patch to find faces of
|
|
||||||
samplePatch coupled;
|
|
||||||
|
|
||||||
// Use database to get data from (one-way or loose coupling in
|
|
||||||
// combination with functionObject)
|
|
||||||
sampleDatabase true;
|
|
||||||
|
|
||||||
// According to offsetMode (see above) supply one of
|
|
||||||
// offset, offsets or distance
|
|
||||||
offset (0 0 0);
|
|
||||||
|
|
||||||
value uniform 1.1;
|
|
||||||
|
|
||||||
// For mappedMixed
|
|
||||||
//weightField DTV;
|
|
||||||
refValue $value;
|
|
||||||
refGradient uniform 0.0;
|
|
||||||
valueFraction uniform 1.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
right
|
|
||||||
{
|
|
||||||
type fixedValue;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
frontAndBack
|
|
||||||
{
|
|
||||||
type empty;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -86,4 +86,5 @@ mergePatchPairs
|
|||||||
(
|
(
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -40,4 +40,5 @@ boundaryField
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volVectorField;
|
class volVectorField;
|
||||||
location "0";
|
|
||||||
object cellDisplacement;
|
object cellDisplacement;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -39,4 +39,5 @@ boundaryField
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -28,4 +28,5 @@ boundaryField
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,7 +10,9 @@ cd "${0%/*}" || exit # Run from this directory
|
|||||||
|
|
||||||
# Parallel
|
# Parallel
|
||||||
runApplication decomposePar -cellDist
|
runApplication decomposePar -cellDist
|
||||||
|
|
||||||
runParallel $(getApplication)
|
runParallel $(getApplication)
|
||||||
|
|
||||||
runApplication reconstructPar
|
runApplication reconstructPar
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -3,6 +3,8 @@ cd "${0%/*}" || exit # Run from this directory
|
|||||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
restore0Dir
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
|
|
||||||
# Select cellSets
|
# Select cellSets
|
||||||
@ -13,8 +15,6 @@ runApplication subsetMesh box -patch hole -overwrite
|
|||||||
# Select cellSets
|
# Select cellSets
|
||||||
runApplication -s zoneID topoSet
|
runApplication -s zoneID topoSet
|
||||||
|
|
||||||
restore0Dir
|
|
||||||
|
|
||||||
# Use cellSets to write zoneID
|
# Use cellSets to write zoneID
|
||||||
runApplication setFields
|
runApplication setFields
|
||||||
|
|
||||||
|
|||||||
@ -25,4 +25,5 @@ displacementLaplacianCoeffs
|
|||||||
diffusivity uniform 1;
|
diffusivity uniform 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "constant";
|
|
||||||
object transportProperties;
|
object transportProperties;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -120,4 +120,5 @@ boundary
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -47,4 +47,5 @@ timePrecision 6;
|
|||||||
|
|
||||||
runTimeModifiable true;
|
runTimeModifiable true;
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -16,11 +16,12 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 2;
|
numberOfSubdomains 2;
|
||||||
|
|
||||||
method hierarchical;
|
method hierarchical;
|
||||||
|
|
||||||
coeffs
|
coeffs
|
||||||
{
|
{
|
||||||
n (2 1 1);
|
n (2 1 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -42,7 +42,7 @@ regions
|
|||||||
volScalarFieldValue zoneID 1
|
volScalarFieldValue zoneID 1
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -63,4 +63,5 @@ actions
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -7,6 +7,6 @@ cd "${0%/*}" || exit # Run from this directory
|
|||||||
(cd cylinderAndBackground && ./Allclean)
|
(cd cylinderAndBackground && ./Allclean)
|
||||||
|
|
||||||
# The background mesh
|
# The background mesh
|
||||||
(cd cylinderMesh && foamCleanTutorials)
|
(cd cylinderMesh && foamCleanTutorials && rm -rf constant)
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -54,4 +54,5 @@ boundaryField
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -46,4 +46,5 @@ boundaryField
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -39,4 +39,5 @@ boundaryField
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -33,4 +33,5 @@ boundaryField
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -25,4 +25,5 @@ displacementLaplacianCoeffs
|
|||||||
diffusivity uniform 1;
|
diffusivity uniform 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object controlDict;
|
object controlDict;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -48,4 +47,5 @@ timePrecision 6;
|
|||||||
|
|
||||||
runTimeModifiable true;
|
runTimeModifiable true;
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object fvSchemes;
|
object fvSchemes;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object fvSolution;
|
object fvSolution;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -42,7 +42,7 @@ regions
|
|||||||
volScalarFieldValue zoneID 1
|
volScalarFieldValue zoneID 1
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -39,4 +39,5 @@ actions
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -3,6 +3,12 @@ cd "${0%/*}" || exit # Run from this directory
|
|||||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
mkdir -p constant/triSurface
|
||||||
|
|
||||||
|
cp -f \
|
||||||
|
"$FOAM_TUTORIALS"/resources/geometry/cylinder.vtk.gz \
|
||||||
|
constant/triSurface/
|
||||||
|
|
||||||
# Generate mesh from surface (in constant/triSurface)
|
# Generate mesh from surface (in constant/triSurface)
|
||||||
runApplication extrudeMesh
|
runApplication extrudeMesh
|
||||||
|
|
||||||
|
|||||||
@ -1,221 +0,0 @@
|
|||||||
# vtk DataFile Version 4.0
|
|
||||||
vtk output
|
|
||||||
ASCII
|
|
||||||
DATASET POLYDATA
|
|
||||||
POINTS 150 float
|
|
||||||
0.5 0.05 0 0.5 -0.05 0 0.498246 0.05 -0.0418389
|
|
||||||
0.498246 -0.05 -0.0418389 0.492998 0.05 -0.0833844 0.492998 -0.05 -0.0833844
|
|
||||||
0.484292 0.05 -0.124345 0.484292 -0.05 -0.124345 0.472188 0.05 -0.164433
|
|
||||||
0.472188 -0.05 -0.164433 0.456773 0.05 -0.203368 0.456773 -0.05 -0.203368
|
|
||||||
0.438153 0.05 -0.240877 0.438153 -0.05 -0.240877 0.416461 0.05 -0.276696
|
|
||||||
0.416461 -0.05 -0.276696 0.391847 0.05 -0.310574 0.391847 -0.05 -0.310574
|
|
||||||
0.364484 0.05 -0.342274 0.364484 -0.05 -0.342274 0.334565 0.05 -0.371572
|
|
||||||
0.334565 -0.05 -0.371572 0.3023 0.05 -0.398265 0.3023 -0.05 -0.398265
|
|
||||||
0.267913 0.05 -0.422164 0.267913 -0.05 -0.422164 0.231648 0.05 -0.443102
|
|
||||||
0.231648 -0.05 -0.443102 0.193758 0.05 -0.460932 0.193758 -0.05 -0.460932
|
|
||||||
0.154509 0.05 -0.475528 0.154509 -0.05 -0.475528 0.114175 0.05 -0.486789
|
|
||||||
0.114175 -0.05 -0.486789 0.0730415 0.05 -0.494636 0.0730415 -0.05 -0.494636
|
|
||||||
0.0313953 0.05 -0.499013 0.0313953 -0.05 -0.499013 -0.0104712 0.05 -0.49989
|
|
||||||
-0.0104712 -0.05 -0.49989 -0.0522642 0.05 -0.497261 -0.0522642 -0.05 -0.497261
|
|
||||||
-0.0936907 0.05 -0.491144 -0.0936907 -0.05 -0.491144 -0.13446 0.05 -0.481581
|
|
||||||
-0.13446 -0.05 -0.481581 -0.174286 0.05 -0.468641 -0.174286 -0.05 -0.468641
|
|
||||||
-0.21289 0.05 -0.452414 -0.21289 -0.05 -0.452414 -0.25 0.05 -0.433013
|
|
||||||
-0.25 -0.05 -0.433013 -0.285357 0.05 -0.410575 -0.285357 -0.05 -0.410575
|
|
||||||
-0.318712 0.05 -0.385257 -0.318712 -0.05 -0.385257 -0.349832 0.05 -0.357236
|
|
||||||
-0.349832 -0.05 -0.357236 -0.378498 0.05 -0.32671 -0.378498 -0.05 -0.32671
|
|
||||||
-0.404509 0.05 -0.293893 -0.404509 -0.05 -0.293893 -0.427682 0.05 -0.259014
|
|
||||||
-0.427682 -0.05 -0.259014 -0.447856 0.05 -0.222318 -0.447856 -0.05 -0.222318
|
|
||||||
-0.464888 0.05 -0.184062 -0.464888 -0.05 -0.184062 -0.47866 0.05 -0.144516
|
|
||||||
-0.47866 -0.05 -0.144516 -0.489074 0.05 -0.103956 -0.489074 -0.05 -0.103956
|
|
||||||
-0.496057 0.05 -0.0626666 -0.496057 -0.05 -0.0626666 -0.499561 0.05 -0.0209378
|
|
||||||
-0.499561 -0.05 -0.0209378 -0.499561 0.05 0.0209378 -0.499561 -0.05 0.0209378
|
|
||||||
-0.496057 0.05 0.0626666 -0.496057 -0.05 0.0626666 -0.489074 0.05 0.103956
|
|
||||||
-0.489074 -0.05 0.103956 -0.47866 0.05 0.144516 -0.47866 -0.05 0.144516
|
|
||||||
-0.464888 0.05 0.184062 -0.464888 -0.05 0.184062 -0.447856 0.05 0.222318
|
|
||||||
-0.447856 -0.05 0.222318 -0.427682 0.05 0.259014 -0.427682 -0.05 0.259014
|
|
||||||
-0.404509 0.05 0.293893 -0.404509 -0.05 0.293893 -0.378498 0.05 0.32671
|
|
||||||
-0.378498 -0.05 0.32671 -0.349832 0.05 0.357236 -0.349832 -0.05 0.357236
|
|
||||||
-0.318712 0.05 0.385257 -0.318712 -0.05 0.385257 -0.285357 0.05 0.410575
|
|
||||||
-0.285357 -0.05 0.410575 -0.25 0.05 0.433013 -0.25 -0.05 0.433013
|
|
||||||
-0.21289 0.05 0.452414 -0.21289 -0.05 0.452414 -0.174286 0.05 0.468641
|
|
||||||
-0.174286 -0.05 0.468641 -0.13446 0.05 0.481581 -0.13446 -0.05 0.481581
|
|
||||||
-0.0936907 0.05 0.491144 -0.0936907 -0.05 0.491144 -0.0522642 0.05 0.497261
|
|
||||||
-0.0522642 -0.05 0.497261 -0.0104712 0.05 0.49989 -0.0104712 -0.05 0.49989
|
|
||||||
0.0313953 0.05 0.499013 0.0313953 -0.05 0.499013 0.0730415 0.05 0.494636
|
|
||||||
0.0730415 -0.05 0.494636 0.114175 0.05 0.486789 0.114175 -0.05 0.486789
|
|
||||||
0.154509 0.05 0.475528 0.154509 -0.05 0.475528 0.193758 0.05 0.460932
|
|
||||||
0.193758 -0.05 0.460932 0.231648 0.05 0.443102 0.231648 -0.05 0.443102
|
|
||||||
0.267913 0.05 0.422164 0.267913 -0.05 0.422164 0.3023 0.05 0.398265
|
|
||||||
0.3023 -0.05 0.398265 0.334565 0.05 0.371572 0.334565 -0.05 0.371572
|
|
||||||
0.364484 0.05 0.342274 0.364484 -0.05 0.342274 0.391847 0.05 0.310574
|
|
||||||
0.391847 -0.05 0.310574 0.416461 0.05 0.276696 0.416461 -0.05 0.276696
|
|
||||||
0.438153 0.05 0.240877 0.438153 -0.05 0.240877 0.456773 0.05 0.203368
|
|
||||||
0.456773 -0.05 0.203368 0.472188 0.05 0.164433 0.472188 -0.05 0.164433
|
|
||||||
0.484292 0.05 0.124345 0.484292 -0.05 0.124345 0.492998 0.05 0.0833844
|
|
||||||
0.492998 -0.05 0.0833844 0.498246 0.05 0.0418389 0.498246 -0.05 0.0418389
|
|
||||||
|
|
||||||
POLYGONS 75 375
|
|
||||||
4 0 1 3 2
|
|
||||||
4 2 3 5 4
|
|
||||||
4 4 5 7 6
|
|
||||||
4 6 7 9 8
|
|
||||||
4 8 9 11 10
|
|
||||||
4 10 11 13 12
|
|
||||||
4 12 13 15 14
|
|
||||||
4 14 15 17 16
|
|
||||||
4 16 17 19 18
|
|
||||||
4 18 19 21 20
|
|
||||||
4 20 21 23 22
|
|
||||||
4 22 23 25 24
|
|
||||||
4 24 25 27 26
|
|
||||||
4 26 27 29 28
|
|
||||||
4 28 29 31 30
|
|
||||||
4 30 31 33 32
|
|
||||||
4 32 33 35 34
|
|
||||||
4 34 35 37 36
|
|
||||||
4 36 37 39 38
|
|
||||||
4 38 39 41 40
|
|
||||||
4 40 41 43 42
|
|
||||||
4 42 43 45 44
|
|
||||||
4 44 45 47 46
|
|
||||||
4 46 47 49 48
|
|
||||||
4 48 49 51 50
|
|
||||||
4 50 51 53 52
|
|
||||||
4 52 53 55 54
|
|
||||||
4 54 55 57 56
|
|
||||||
4 56 57 59 58
|
|
||||||
4 58 59 61 60
|
|
||||||
4 60 61 63 62
|
|
||||||
4 62 63 65 64
|
|
||||||
4 64 65 67 66
|
|
||||||
4 66 67 69 68
|
|
||||||
4 68 69 71 70
|
|
||||||
4 70 71 73 72
|
|
||||||
4 72 73 75 74
|
|
||||||
4 74 75 77 76
|
|
||||||
4 76 77 79 78
|
|
||||||
4 78 79 81 80
|
|
||||||
4 80 81 83 82
|
|
||||||
4 82 83 85 84
|
|
||||||
4 84 85 87 86
|
|
||||||
4 86 87 89 88
|
|
||||||
4 88 89 91 90
|
|
||||||
4 90 91 93 92
|
|
||||||
4 92 93 95 94
|
|
||||||
4 94 95 97 96
|
|
||||||
4 96 97 99 98
|
|
||||||
4 98 99 101 100
|
|
||||||
4 100 101 103 102
|
|
||||||
4 102 103 105 104
|
|
||||||
4 104 105 107 106
|
|
||||||
4 106 107 109 108
|
|
||||||
4 108 109 111 110
|
|
||||||
4 110 111 113 112
|
|
||||||
4 112 113 115 114
|
|
||||||
4 114 115 117 116
|
|
||||||
4 116 117 119 118
|
|
||||||
4 118 119 121 120
|
|
||||||
4 120 121 123 122
|
|
||||||
4 122 123 125 124
|
|
||||||
4 124 125 127 126
|
|
||||||
4 126 127 129 128
|
|
||||||
4 128 129 131 130
|
|
||||||
4 130 131 133 132
|
|
||||||
4 132 133 135 134
|
|
||||||
4 134 135 137 136
|
|
||||||
4 136 137 139 138
|
|
||||||
4 138 139 141 140
|
|
||||||
4 140 141 143 142
|
|
||||||
4 142 143 145 144
|
|
||||||
4 144 145 147 146
|
|
||||||
4 146 147 149 148
|
|
||||||
4 148 149 1 0
|
|
||||||
|
|
||||||
POINT_DATA 150
|
|
||||||
NORMALS Normals float
|
|
||||||
1 0 -0 1 0 -0 0.996493 0 -0.0836778
|
|
||||||
0.996493 0 -0.0836778 0.985996 0 -0.166769 0.985996 0 -0.166769
|
|
||||||
0.968583 0 -0.24869 0.968583 0 -0.24869 0.944376 0 -0.328867
|
|
||||||
0.944376 0 -0.328867 0.913545 0 -0.406737 0.913545 0 -0.406737
|
|
||||||
0.876307 0 -0.481754 0.876307 0 -0.481754 0.832921 0 -0.553392
|
|
||||||
0.832921 0 -0.553392 0.783693 0 -0.621148 0.783693 0 -0.621148
|
|
||||||
0.728969 0 -0.684547 0.728969 0 -0.684547 0.669131 0 -0.743145
|
|
||||||
0.669131 0 -0.743145 0.604599 0 -0.79653 0.604599 0 -0.79653
|
|
||||||
0.535827 0 -0.844328 0.535827 0 -0.844328 0.463296 0 -0.886204
|
|
||||||
0.463296 0 -0.886204 0.387516 0 -0.921863 0.387516 0 -0.921863
|
|
||||||
0.309017 0 -0.951057 0.309017 0 -0.951057 0.228351 0 -0.973579
|
|
||||||
0.228351 0 -0.973579 0.146083 0 -0.989272 0.146083 0 -0.989272
|
|
||||||
0.0627905 0 -0.998027 0.0627905 0 -0.998027 -0.0209424 0 -0.999781
|
|
||||||
-0.0209424 0 -0.999781 -0.104528 0 -0.994522 -0.104528 0 -0.994522
|
|
||||||
-0.187381 0 -0.982287 -0.187381 0 -0.982287 -0.26892 0 -0.963163
|
|
||||||
-0.26892 0 -0.963163 -0.348572 0 -0.937282 -0.348572 0 -0.937282
|
|
||||||
-0.425779 0 -0.904827 -0.425779 0 -0.904827 -0.5 0 -0.866025
|
|
||||||
-0.5 0 -0.866025 -0.570714 0 -0.821149 -0.570714 0 -0.821149
|
|
||||||
-0.637424 0 -0.770513 -0.637424 0 -0.770513 -0.699663 0 -0.714473
|
|
||||||
-0.699663 0 -0.714473 -0.756995 0 -0.653421 -0.756995 0 -0.653421
|
|
||||||
-0.809017 0 -0.587785 -0.809017 0 -0.587785 -0.855364 0 -0.518027
|
|
||||||
-0.855364 0 -0.518027 -0.895712 0 -0.444635 -0.895712 0 -0.444635
|
|
||||||
-0.929776 0 -0.368125 -0.929776 0 -0.368125 -0.957319 0 -0.289032
|
|
||||||
-0.957319 0 -0.289032 -0.978148 0 -0.207912 -0.978148 0 -0.207912
|
|
||||||
-0.992115 0 -0.125333 -0.992115 0 -0.125333 -0.999123 0 -0.0418757
|
|
||||||
-0.999123 0 -0.0418757 -0.999123 0 0.0418757 -0.999123 0 0.0418757
|
|
||||||
-0.992115 0 0.125333 -0.992115 0 0.125333 -0.978148 0 0.207912
|
|
||||||
-0.978148 0 0.207912 -0.957319 0 0.289032 -0.957319 0 0.289032
|
|
||||||
-0.929776 0 0.368125 -0.929776 0 0.368125 -0.895712 0 0.444635
|
|
||||||
-0.895712 0 0.444635 -0.855364 0 0.518027 -0.855364 0 0.518027
|
|
||||||
-0.809017 0 0.587785 -0.809017 0 0.587785 -0.756995 0 0.653421
|
|
||||||
-0.756995 0 0.653421 -0.699663 0 0.714473 -0.699663 0 0.714473
|
|
||||||
-0.637424 0 0.770513 -0.637424 0 0.770513 -0.570714 0 0.821149
|
|
||||||
-0.570714 0 0.821149 -0.5 0 0.866025 -0.5 0 0.866025
|
|
||||||
-0.425779 0 0.904827 -0.425779 0 0.904827 -0.348572 0 0.937282
|
|
||||||
-0.348572 0 0.937282 -0.26892 0 0.963163 -0.26892 0 0.963163
|
|
||||||
-0.187381 0 0.982287 -0.187381 0 0.982287 -0.104528 0 0.994522
|
|
||||||
-0.104528 0 0.994522 -0.0209424 0 0.999781 -0.0209424 0 0.999781
|
|
||||||
0.0627905 0 0.998027 0.0627905 0 0.998027 0.146083 0 0.989272
|
|
||||||
0.146083 0 0.989272 0.228351 0 0.973579 0.228351 0 0.973579
|
|
||||||
0.309017 0 0.951057 0.309017 0 0.951057 0.387516 0 0.921863
|
|
||||||
0.387516 0 0.921863 0.463296 0 0.886204 0.463296 0 0.886204
|
|
||||||
0.535827 0 0.844328 0.535827 0 0.844328 0.604599 0 0.79653
|
|
||||||
0.604599 0 0.79653 0.669131 0 0.743145 0.669131 0 0.743145
|
|
||||||
0.728969 0 0.684547 0.728969 0 0.684547 0.783693 0 0.621148
|
|
||||||
0.783693 0 0.621148 0.832921 0 0.553392 0.832921 0 0.553392
|
|
||||||
0.876307 0 0.481754 0.876307 0 0.481754 0.913545 0 0.406737
|
|
||||||
0.913545 0 0.406737 0.944376 0 0.328867 0.944376 0 0.328867
|
|
||||||
0.968583 0 0.24869 0.968583 0 0.24869 0.985996 0 0.166769
|
|
||||||
0.985996 0 0.166769 0.996493 0 0.0836778 0.996493 0 0.0836778
|
|
||||||
|
|
||||||
TEXTURE_COORDINATES TCoords 2 float
|
|
||||||
1 0 1 1 0.973333 0 0.973333 1 0.946667
|
|
||||||
0 0.946667 1 0.92 0 0.92 1 0.893333 0
|
|
||||||
0.893333 1 0.866667 0 0.866667 1 0.84 0 0.84
|
|
||||||
1 0.813333 0 0.813333 1 0.786667 0 0.786667 1
|
|
||||||
0.76 0 0.76 1 0.733333 0 0.733333 1 0.706667
|
|
||||||
0 0.706667 1 0.68 0 0.68 1 0.653333 0
|
|
||||||
0.653333 1 0.626667 0 0.626667 1 0.6 0 0.6
|
|
||||||
1 0.573333 0 0.573333 1 0.546667 0 0.546667 1
|
|
||||||
0.52 0 0.52 1 0.493333 0 0.493333 1 0.466667
|
|
||||||
0 0.466667 1 0.44 0 0.44 1 0.413333 0
|
|
||||||
0.413333 1 0.386667 0 0.386667 1 0.36 0 0.36
|
|
||||||
1 0.333333 0 0.333333 1 0.306667 0 0.306667 1
|
|
||||||
0.28 0 0.28 1 0.253333 0 0.253333 1 0.226667
|
|
||||||
0 0.226667 1 0.2 0 0.2 1 0.173333 0
|
|
||||||
0.173333 1 0.146667 0 0.146667 1 0.12 0 0.12
|
|
||||||
1 0.0933333 0 0.0933333 1 0.0666667 0 0.0666667 1
|
|
||||||
0.04 0 0.04 1 0.0133333 0 0.0133333 1 0.0133333
|
|
||||||
0 0.0133333 1 0.04 0 0.04 1 0.0666667 0
|
|
||||||
0.0666667 1 0.0933333 0 0.0933333 1 0.12 0 0.12
|
|
||||||
1 0.146667 0 0.146667 1 0.173333 0 0.173333 1
|
|
||||||
0.2 0 0.2 1 0.226667 0 0.226667 1 0.253333
|
|
||||||
0 0.253333 1 0.28 0 0.28 1 0.306667 0
|
|
||||||
0.306667 1 0.333333 0 0.333333 1 0.36 0 0.36
|
|
||||||
1 0.386667 0 0.386667 1 0.413333 0 0.413333 1
|
|
||||||
0.44 0 0.44 1 0.466667 0 0.466667 1 0.493333
|
|
||||||
0 0.493333 1 0.52 0 0.52 1 0.546667 0
|
|
||||||
0.546667 1 0.573333 0 0.573333 1 0.6 0 0.6
|
|
||||||
1 0.626667 0 0.626667 1 0.653333 0 0.653333 1
|
|
||||||
0.68 0 0.68 1 0.706667 0 0.706667 1 0.733333
|
|
||||||
0 0.733333 1 0.76 0 0.76 1 0.786667 0
|
|
||||||
0.786667 1 0.813333 0 0.813333 1 0.84 0 0.84
|
|
||||||
1 0.866667 0 0.866667 1 0.893333 0 0.893333 1
|
|
||||||
0.92 0 0.92 1 0.946667 0 0.946667 1 0.973333
|
|
||||||
0 0.973333 1
|
|
||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object controlDict;
|
object controlDict;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -45,4 +44,5 @@ timePrecision 6;
|
|||||||
|
|
||||||
runTimeModifiable true;
|
runTimeModifiable true;
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -78,7 +78,7 @@ patches
|
|||||||
// If constructFrom = set : name of faceSet
|
// If constructFrom = set : name of faceSet
|
||||||
set f0;
|
set f0;
|
||||||
}
|
}
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -132,4 +132,4 @@ mergeFaces false;
|
|||||||
mergeTol 0;
|
mergeTol 0;
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -52,4 +52,5 @@ boundaryField
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -52,4 +52,5 @@ boundaryField
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -6,8 +6,11 @@ cd "${0%/*}" || exit # Run from this directory
|
|||||||
canCompile || exit 0 # Dynamic code
|
canCompile || exit 0 # Dynamic code
|
||||||
|
|
||||||
restore0Dir
|
restore0Dir
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
|
|
||||||
runApplication $(getApplication) -withFunctionObjects -writePhi -writep
|
runApplication $(getApplication) -withFunctionObjects -writePhi -writep
|
||||||
|
|
||||||
runApplication postProcess -func streamFunction
|
runApplication postProcess -func streamFunction
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -181,4 +181,5 @@ mergePatchPairs
|
|||||||
(
|
(
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,26 +10,25 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object controlDict;
|
object controlDict;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
application potentialFoam;
|
application potentialFoam;
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom latestTime;
|
||||||
|
|
||||||
startTime 0;
|
startTime 0;
|
||||||
|
|
||||||
stopAt nextWrite;
|
stopAt nextWrite;
|
||||||
|
|
||||||
endTime 1;
|
endTime 1;
|
||||||
|
|
||||||
deltaT 1;
|
deltaT 1;
|
||||||
|
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
|
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
|
|
||||||
purgeWrite 0;
|
purgeWrite 0;
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object fvSchemes;
|
object fvSchemes;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -28,7 +27,9 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
|
|
||||||
div(phi,U) bounded Gauss linear;
|
div(phi,U) bounded Gauss linear;
|
||||||
|
|
||||||
div(div(phi,U)) Gauss linear;
|
div(div(phi,U)) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object fvSolution;
|
object fvSolution;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -21,7 +20,6 @@ solvers
|
|||||||
{
|
{
|
||||||
solver GAMG;
|
solver GAMG;
|
||||||
smoother DIC;
|
smoother DIC;
|
||||||
|
|
||||||
tolerance 1e-06;
|
tolerance 1e-06;
|
||||||
relTol 0.01;
|
relTol 0.01;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -47,4 +47,5 @@ boundaryField
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -47,4 +47,5 @@ boundaryField
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -4,8 +4,11 @@ cd "${0%/*}" || exit # Run from this directory
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
restore0Dir
|
restore0Dir
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
|
|
||||||
runApplication $(getApplication) -writePhi -writep
|
runApplication $(getApplication) -writePhi -writep
|
||||||
|
|
||||||
runApplication postProcess -func streamFunction
|
runApplication postProcess -func streamFunction
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -149,4 +149,5 @@ boundary
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object controlDict;
|
object controlDict;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object fvSchemes;
|
object fvSchemes;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -28,7 +27,9 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
|
|
||||||
div(phi,U) bounded Gauss linear;
|
div(phi,U) bounded Gauss linear;
|
||||||
|
|
||||||
div(div(phi,U)) Gauss linear;
|
div(div(phi,U)) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object fvSolution;
|
object fvSolution;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -21,7 +20,6 @@ solvers
|
|||||||
{
|
{
|
||||||
solver GAMG;
|
solver GAMG;
|
||||||
smoother DIC;
|
smoother DIC;
|
||||||
|
|
||||||
tolerance 1e-06;
|
tolerance 1e-06;
|
||||||
relTol 0.01;
|
relTol 0.01;
|
||||||
}
|
}
|
||||||
@ -37,4 +35,5 @@ potentialFlow
|
|||||||
nNonOrthogonalCorrectors 2;
|
nNonOrthogonalCorrectors 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -47,4 +47,5 @@ boundaryField
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volVectorField;
|
class volVectorField;
|
||||||
location "288";
|
|
||||||
object U;
|
object U;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "constant";
|
|
||||||
object transportProperties;
|
object transportProperties;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -149,4 +149,5 @@ boundary
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object controlDict;
|
object controlDict;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object fvSchemes;
|
object fvSchemes;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -10,7 +10,6 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object fvSolution;
|
object fvSolution;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -19,7 +19,7 @@ intersectSurfaces()
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
cp -rf \
|
cp -rf \
|
||||||
"$FOAM_TUTORIALS"/resources/geometry/mixerVessel \
|
"$FOAM_TUTORIALS"/resources/geometry/mixerVesselAMI \
|
||||||
constant/triSurface/rawSurfaces
|
constant/triSurface/rawSurfaces
|
||||||
|
|
||||||
rm -rf 0
|
rm -rf 0
|
||||||
|
|||||||
@ -26,26 +26,32 @@ boundaryField
|
|||||||
inletValue $internalField;
|
inletValue $internalField;
|
||||||
value $internalField;
|
value $internalField;
|
||||||
}
|
}
|
||||||
|
|
||||||
ground
|
ground
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockedFaces
|
blockedFaces
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
mergingFaces
|
mergingFaces
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
wallFaces
|
wallFaces
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
ySymmetry
|
ySymmetry
|
||||||
{
|
{
|
||||||
type symmetryPlane;
|
type symmetryPlane;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -26,26 +26,32 @@ boundaryField
|
|||||||
inletValue $internalField;
|
inletValue $internalField;
|
||||||
value $internalField;
|
value $internalField;
|
||||||
}
|
}
|
||||||
|
|
||||||
ground
|
ground
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockedFaces
|
blockedFaces
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
mergingFaces
|
mergingFaces
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
wallFaces
|
wallFaces
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
ySymmetry
|
ySymmetry
|
||||||
{
|
{
|
||||||
type symmetryPlane;
|
type symmetryPlane;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -26,26 +26,32 @@ boundaryField
|
|||||||
inletValue $internalField;
|
inletValue $internalField;
|
||||||
value $internalField;
|
value $internalField;
|
||||||
}
|
}
|
||||||
|
|
||||||
ground
|
ground
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockedFaces
|
blockedFaces
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
mergingFaces
|
mergingFaces
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
wallFaces
|
wallFaces
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
ySymmetry
|
ySymmetry
|
||||||
{
|
{
|
||||||
type symmetryPlane;
|
type symmetryPlane;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -26,26 +26,32 @@ boundaryField
|
|||||||
inletValue $internalField;
|
inletValue $internalField;
|
||||||
value $internalField;
|
value $internalField;
|
||||||
}
|
}
|
||||||
|
|
||||||
ground
|
ground
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockedFaces
|
blockedFaces
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
mergingFaces
|
mergingFaces
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
wallFaces
|
wallFaces
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
ySymmetry
|
ySymmetry
|
||||||
{
|
{
|
||||||
type symmetryPlane;
|
type symmetryPlane;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user