mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
GIT: Initial state after latest Foundation merge
This commit is contained in:
@ -1 +0,0 @@
|
||||
../fvSolution
|
||||
@ -0,0 +1,22 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solvers
|
||||
{
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1 +0,0 @@
|
||||
../fvSolution
|
||||
@ -0,0 +1,29 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solvers
|
||||
{
|
||||
nn
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -52,7 +52,7 @@ timePrecision 6;
|
||||
|
||||
runTimeModifiable yes;
|
||||
|
||||
libs ("libdistributed.so");
|
||||
libs ("libdistributed.so");
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -136,7 +136,7 @@ FoamFile
|
||||
// // values of field within certain range
|
||||
// source fieldToCell;
|
||||
// {
|
||||
// fieldName U; // Note: uses mag(U) since volVectorField
|
||||
// field U; // Note: uses mag(U) since volVectorField
|
||||
// min 0.1;
|
||||
// max 0.5;
|
||||
// }
|
||||
|
||||
@ -35,7 +35,6 @@ boundaryField
|
||||
outlet
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
phi phi;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
@ -6,19 +6,19 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
cleanCase
|
||||
|
||||
\rm -rf 0
|
||||
\rm -rf constant/extendedFeatureEdgeMesh/
|
||||
\rm -f constant/triSurface/*.eMesh*
|
||||
\rm -f constant/triSurface/*.stl
|
||||
\rm -f constant/triSurface/*.obj
|
||||
\rm -f constant/triSurface/problemFaces
|
||||
\rm -f *.obj
|
||||
rm -rf 0
|
||||
rm -rf constant/extendedFeatureEdgeMesh/
|
||||
rm -f constant/triSurface/*.eMesh*
|
||||
rm -f constant/triSurface/*.stl
|
||||
rm -f constant/triSurface/*.obj
|
||||
rm -f constant/triSurface/problemFaces
|
||||
rm -f *.obj
|
||||
|
||||
\rm -f constant/backgroundMeshDecomposition/polyMesh/boundary
|
||||
\rm -f constant/backgroundMeshDecomposition/polyMesh/faces
|
||||
\rm -f constant/backgroundMeshDecomposition/polyMesh/neighbour
|
||||
\rm -f constant/backgroundMeshDecomposition/polyMesh/owner
|
||||
\rm -f constant/backgroundMeshDecomposition/polyMesh/points
|
||||
rm -f constant/backgroundMeshDecomposition/polyMesh/boundary
|
||||
rm -f constant/backgroundMeshDecomposition/polyMesh/faces
|
||||
rm -f constant/backgroundMeshDecomposition/polyMesh/neighbour
|
||||
rm -f constant/backgroundMeshDecomposition/polyMesh/owner
|
||||
rm -f constant/backgroundMeshDecomposition/polyMesh/points
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -4,12 +4,12 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
\cp system/controlDict.flow system/controlDict
|
||||
cp system/controlDict.flow system/controlDict
|
||||
|
||||
# Set application name
|
||||
application=$(getApplication)
|
||||
|
||||
\rm -rf 0
|
||||
rm -rf 0
|
||||
|
||||
runApplication createBaffles -overwrite
|
||||
runApplication mergeOrSplitBaffles -split -overwrite
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
\cp rawSurfaces/*.stl .
|
||||
cp rawSurfaces/*.stl .
|
||||
|
||||
|
||||
# Vessel surface
|
||||
@ -25,10 +25,10 @@ surfaceOrient -inside shaft.stl "(0 0.1 1)" shaft.stl
|
||||
surfaceSplitByTopology stirrer.stl stirrer.stl
|
||||
surfaceOrient -inside stirrer.stl "(0 0.1 1)" stirrer.stl
|
||||
|
||||
\mv stirrer_bafflePart_0.stl stirrer_baffles.stl
|
||||
mv stirrer_bafflePart_0.stl stirrer_baffles.stl
|
||||
|
||||
surfaceCheck stirrer_baffles.stl
|
||||
\mv stirrer_baffles_0.obj stirrer_baffles_plate.obj
|
||||
mv stirrer_baffles_0.obj stirrer_baffles_plate.obj
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -1 +0,0 @@
|
||||
../fvSolution
|
||||
@ -0,0 +1,101 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solvers
|
||||
{
|
||||
alpha.phase1
|
||||
{
|
||||
nAlphaCorr 1;
|
||||
nAlphaSubCycles 2;
|
||||
cAlpha 1;
|
||||
}
|
||||
|
||||
p_rgh
|
||||
{
|
||||
solver GAMG;
|
||||
tolerance 1e-6;
|
||||
relTol 0.02;
|
||||
smoother GaussSeidel;
|
||||
}
|
||||
|
||||
pcorr
|
||||
{
|
||||
$p_rgh;
|
||||
tolerance 0.1;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
p_rghFinal
|
||||
{
|
||||
$p_rgh;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
pcorrFinal
|
||||
{
|
||||
$pcorr;
|
||||
tolerance 0.1;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
".*(rho|rhoFinal)"
|
||||
{
|
||||
solver diagonal;
|
||||
}
|
||||
|
||||
"U.*"
|
||||
{
|
||||
solver smoothSolver;
|
||||
smoother symGaussSeidel;
|
||||
tolerance 1e-6;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
"(T|k|epsilon).*"
|
||||
{
|
||||
solver smoothSolver;
|
||||
smoother symGaussSeidel;
|
||||
tolerance 1e-6;
|
||||
relTol 0;
|
||||
}
|
||||
}
|
||||
|
||||
PIMPLE
|
||||
{
|
||||
momentumPredictor yes;
|
||||
correctPhi yes;
|
||||
nOuterCorrectors 1;
|
||||
nCorrectors 3;
|
||||
nNonOrthogonalCorrectors 0;
|
||||
nAlphaCorr 1;
|
||||
nAlphaSubCycles 2;
|
||||
cAlpha 1;
|
||||
}
|
||||
|
||||
relaxationFactors
|
||||
{
|
||||
equations
|
||||
{
|
||||
"U.*" 1;
|
||||
"k.*" 1;
|
||||
"epsilon.*" 1;
|
||||
"T.*" 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -42,7 +42,7 @@ divSchemes
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default Gauss linear limited 0.333;
|
||||
default Gauss linear limited corrected 0.33;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
@ -52,7 +52,7 @@ interpolationSchemes
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default limited 0.333;
|
||||
default limited corrected 0.33;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -30,12 +30,6 @@ solvers
|
||||
tolerance 1e-6;
|
||||
relTol 0.02;
|
||||
smoother GaussSeidel;
|
||||
cacheAgglomeration true;
|
||||
nCellsInCoarsestLevel 10;
|
||||
agglomerator faceAreaPair;
|
||||
nPreSweeps 0;
|
||||
nPostSweeps 2;
|
||||
mergeLevels 1;
|
||||
}
|
||||
|
||||
pcorr
|
||||
@ -84,7 +78,6 @@ PIMPLE
|
||||
{
|
||||
momentumPredictor yes;
|
||||
correctPhi yes;
|
||||
transSonic no;
|
||||
nOuterCorrectors 1;
|
||||
nCorrectors 3;
|
||||
nNonOrthogonalCorrectors 0;
|
||||
|
||||
@ -23,10 +23,7 @@ solvers
|
||||
tolerance 1e-06;
|
||||
relTol 0.99;
|
||||
smoother GaussSeidel;
|
||||
cacheAgglomeration true;
|
||||
nCellsInCoarsestLevel 6;
|
||||
agglomerator faceAreaPair;
|
||||
mergeLevels 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user