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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -30,7 +30,7 @@ opencfd_text.stl
|
||||
subsetFeatures
|
||||
{
|
||||
// Use a plane to select feature edges
|
||||
// (normal)(basePoint)
|
||||
// (normal)(point)
|
||||
// Keep only edges that intersect the plane will be included
|
||||
plane (0 0 1)(0 0 0);
|
||||
|
||||
@ -65,7 +65,7 @@ opencfd_box.stl
|
||||
subsetFeatures
|
||||
{
|
||||
// Use a plane to select feature edges
|
||||
// (normal)(basePoint)
|
||||
// (normal)(point)
|
||||
// Keep only edges that intersect the plane will be included
|
||||
plane (0 0 1)(0 0 0);
|
||||
|
||||
|
||||
@ -30,7 +30,7 @@ jaggedBoundary.stl
|
||||
subsetFeatures
|
||||
{
|
||||
// Use a plane to select feature edges
|
||||
// (normal)(basePoint)
|
||||
// (normal)(point)
|
||||
// Keep only edges that intersect the plane will be included
|
||||
plane (0 0 1)(-0.6 0.3 0.0);
|
||||
|
||||
|
||||
@ -30,7 +30,7 @@ unit_cube.stl
|
||||
subsetFeatures
|
||||
{
|
||||
// Use a plane to select feature edges
|
||||
// (normal)(basePoint)
|
||||
// (normal)(point)
|
||||
// Keep only edges that intersect the plane will be included
|
||||
plane (0 0 1)(0 0 0);
|
||||
|
||||
|
||||
@ -27,7 +27,7 @@ solvers
|
||||
|
||||
U
|
||||
{
|
||||
solver PBiCG;
|
||||
solver PBiCGStab;
|
||||
preconditioner DILU;
|
||||
tolerance 1e-05;
|
||||
relTol 0;
|
||||
@ -39,10 +39,6 @@ solvers
|
||||
tolerance 1e-08;
|
||||
relTol 0;
|
||||
smoother GaussSeidel;
|
||||
cacheAgglomeration true;
|
||||
nCellsInCoarsestLevel 10;
|
||||
agglomerator faceAreaPair;
|
||||
mergeLevels 1;
|
||||
}
|
||||
|
||||
"(cellMotionU|cellMotionUz)"
|
||||
|
||||
@ -24,7 +24,6 @@ boundaryField
|
||||
walls
|
||||
{
|
||||
type MarshakRadiation;
|
||||
T T;
|
||||
emissivityMode lookup;
|
||||
emissivity uniform 1;
|
||||
value uniform 0;
|
||||
@ -35,7 +34,6 @@ boundaryField
|
||||
inlet
|
||||
{
|
||||
type MarshakRadiation;
|
||||
T T;
|
||||
emissivityMode lookup;
|
||||
emissivity uniform 1;
|
||||
value uniform 0;
|
||||
|
||||
@ -33,13 +33,6 @@ writeInterval 1;
|
||||
|
||||
purgeWrite 0;
|
||||
|
||||
|
||||
//- Uncomment to have regular (every 2 hours of run time) restart files
|
||||
//secondaryWriteControl cpuTime; // runtime
|
||||
//secondaryWriteInterval 7200; // seconds
|
||||
//secondaryPurgeWrite 1; // keep all but last dump
|
||||
|
||||
|
||||
writeFormat binary;
|
||||
|
||||
writePrecision 8;
|
||||
|
||||
@ -24,7 +24,7 @@ actions
|
||||
source fieldToCell;
|
||||
sourceInfo
|
||||
{
|
||||
fieldName radiusFieldXY;
|
||||
field radiusFieldXY;
|
||||
min 13.36;
|
||||
max 18.47;
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ actions
|
||||
source fieldToCell;
|
||||
sourceInfo
|
||||
{
|
||||
fieldName radiusFieldXY;
|
||||
field radiusFieldXY;
|
||||
min 7.00;
|
||||
max 18.47;
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ actions
|
||||
source fieldToCell;
|
||||
sourceInfo
|
||||
{
|
||||
fieldName radiusFieldXY;
|
||||
field radiusFieldXY;
|
||||
min 3.67;
|
||||
max 18.47;
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ actions
|
||||
source fieldToCell;
|
||||
sourceInfo
|
||||
{
|
||||
fieldName radiusFieldXY;
|
||||
field radiusFieldXY;
|
||||
min 0.0;
|
||||
max 0.64;
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ actions
|
||||
source fieldToCell;
|
||||
sourceInfo
|
||||
{
|
||||
fieldName radiusFieldXY;
|
||||
field radiusFieldXY;
|
||||
min 0.0;
|
||||
max 1.03;
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ actions
|
||||
source fieldToCell;
|
||||
sourceInfo
|
||||
{
|
||||
fieldName radiusFieldXY;
|
||||
field radiusFieldXY;
|
||||
min 0.0;
|
||||
max 1.94;
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ actions
|
||||
source fieldToCell;
|
||||
sourceInfo
|
||||
{
|
||||
fieldName radiusFieldXY;
|
||||
field radiusFieldXY;
|
||||
min 0.0;
|
||||
max 3.67;
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ actions
|
||||
source fieldToCell;
|
||||
sourceInfo
|
||||
{
|
||||
fieldName radiusFieldXY;
|
||||
field radiusFieldXY;
|
||||
min 0.0;
|
||||
max 7.00;
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ actions
|
||||
source fieldToCell;
|
||||
sourceInfo
|
||||
{
|
||||
fieldName radiusFieldXY;
|
||||
field radiusFieldXY;
|
||||
min 0.0;
|
||||
max 13.36;
|
||||
}
|
||||
|
||||
@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# remove surface
|
||||
\rm -f constant/triSurface/flange.stl.gz
|
||||
rm -f constant/triSurface/flange.stl.gz
|
||||
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
rm -f ./flange ./*.obj > /dev/null 2>&1
|
||||
|
||||
@ -27,7 +27,7 @@ solvers
|
||||
|
||||
"(U|T|k|epsilon)"
|
||||
{
|
||||
solver PBiCG;
|
||||
solver PBiCGStab;
|
||||
preconditioner DILU;
|
||||
tolerance 1e-07;
|
||||
relTol 0.1;
|
||||
|
||||
Reference in New Issue
Block a user