Implicit treatment of coupled boundary conditions

This commit is contained in:
Sergio Ferraris
2021-08-03 20:08:49 +00:00
committed by Andrew Heather
parent 11e0db96d3
commit 53af23b9fb
308 changed files with 12354 additions and 527 deletions

View File

@ -0,0 +1,140 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / 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 300;
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
FAN_SHROUD
{
type externalWallHeatFluxTemperature;
kappaMethod fluidThermo;
mode flux;
Ta $internalField;
q uniform 0;
kappaLayers ( 0 );
thicknessLayers ( 0 );
value $internalField;
kappaName none;
}
CABINET
{
type externalWallHeatFluxTemperature;
kappaMethod fluidThermo;
mode flux;
Ta $internalField;
q uniform 0;
kappaLayers ( 0 );
thicknessLayers ( 0 );
value $internalField;
kappaName none;
}
FINS
{
type externalWallHeatFluxTemperature;
kappaMethod fluidThermo;
mode flux;
Ta $internalField;
q uniform 0;
kappaLayers ( 0 );
thicknessLayers ( 0 );
value $internalField;
kappaName none;
}
PROCESSOR
{
type externalWallHeatFluxTemperature;
kappaMethod fluidThermo;
mode flux;
Ta $internalField;
q uniform 0;
kappaLayers ( 0 );
thicknessLayers ( 0 );
value $internalField;
kappaName none;
}
FAN
{
type externalWallHeatFluxTemperature;
kappaMethod fluidThermo;
mode flux;
Ta $internalField;
q uniform 0;
kappaLayers ( 0 );
thicknessLayers ( 0 );
value $internalField;
kappaName none;
}
MRF_region
{
type externalWallHeatFluxTemperature;
kappaMethod fluidThermo;
mode flux;
Ta $internalField;
q uniform 0;
kappaLayers ( 0 );
thicknessLayers ( 0 );
value $internalField;
kappaName none;
}
OUTLET_01
{
type inletOutlet;
inletValue uniform 300;
value uniform 300;
}
OUTLET_02
{
type inletOutlet;
inletValue uniform 300;
value uniform 300;
}
domain0_to_v_CPU
{
type compressible::turbulentTemperatureRadCoupledMixed;
qrNbr none;
qr none;
Tnbr T;
kappaMethod fluidThermo;
useImplicit true;
value $internalField;
}
domain0_to_v_fins
{
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod fluidThermo;
useImplicit true;
qrNbr none;
qr none;
value $internalField;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,84 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
FAN_SHROUD
{
type fixedValue;
value uniform (0 0 0);
}
CABINET
{
type fixedValue;
value uniform (0 0 0);
}
FINS
{
type fixedValue;
value uniform (0 0 0);
}
PROCESSOR
{
type fixedValue;
value uniform (0 0 0);
}
FAN
{
type fixedValue;
value uniform (0 0 0);
}
MRF_region
{
type fixedValue;
value uniform (0 0 0);
}
OUTLET_01
{
type zeroGradient;
}
OUTLET_02
{
type zeroGradient;
}
domain0_to_v_CPU
{
type fixedValue;
value uniform (0 0 0);
}
domain0_to_v_fins
{
type fixedValue;
value uniform (0 0 0);
}
}
// ************************************************************************* //

View File

@ -0,0 +1,87 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object alphat;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -1 0 0 0 0];
internalField uniform 0.5;
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
FAN_SHROUD
{
type compressible::alphatWallFunction;
value uniform 0;
}
CABINET
{
type compressible::alphatWallFunction;
value uniform 0;
}
FINS
{
type compressible::alphatWallFunction;
value uniform 0;
}
PROCESSOR
{
type compressible::alphatWallFunction;
value uniform 0;
}
FAN
{
type compressible::alphatWallFunction;
value uniform 0;
}
MRF_region
{
type compressible::alphatWallFunction;
value uniform 0;
}
OUTLET_01
{
type calculated;
value $internalField;
}
OUTLET_02
{
type calculated;
value $internalField;
}
domain0_to_v_CPU
{
type compressible::alphatWallFunction;
Prt 0.85;
value uniform 0;
}
domain0_to_v_fins
{
type compressible::alphatWallFunction;
Prt 0.85;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,87 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -3 0 0 0 0];
internalField uniform 10;
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
FAN_SHROUD
{
type epsilonWallFunction;
value $internalField;
}
CABINET
{
type epsilonWallFunction;
value $internalField;
}
FINS
{
type epsilonWallFunction;
value $internalField;
}
PROCESSOR
{
type epsilonWallFunction;
value $internalField;
}
FAN
{
type epsilonWallFunction;
value $internalField;
}
MRF_region
{
type epsilonWallFunction;
value $internalField;
}
OUTLET_01
{
type inletOutlet;
inletValue uniform 0.0377336;
value uniform 0.0377336;
}
OUTLET_02
{
type inletOutlet;
inletValue uniform 0.0377336;
value uniform 0.0377336;
}
domain0_to_v_CPU
{
type epsilonWallFunction;
value $internalField;
}
domain0_to_v_fins
{
type epsilonWallFunction;
value $internalField;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,87 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0.5;
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
FAN_SHROUD
{
type kqRWallFunction;
value $internalField;
}
CABINET
{
type kqRWallFunction;
value $internalField;
}
FINS
{
type kqRWallFunction;
value $internalField;
}
PROCESSOR
{
type kqRWallFunction;
value $internalField;
}
FAN
{
type kqRWallFunction;
value $internalField;
}
MRF_region
{
type kqRWallFunction;
value $internalField;
}
OUTLET_01
{
type inletOutlet;
inletValue uniform 0.00375;
value uniform 0.00375;
}
OUTLET_02
{
type inletOutlet;
inletValue uniform 0.00375;
value uniform 0.00375;
}
domain0_to_v_CPU
{
type kqRWallFunction;
value $internalField;
}
domain0_to_v_fins
{
type kqRWallFunction;
value $internalField;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,85 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -1 0 0 0 0];
internalField uniform 0;
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
FAN_SHROUD
{
type nutkWallFunction;
value $internalField;
}
CABINET
{
type nutkWallFunction;
value $internalField;
}
FINS
{
type nutkWallFunction;
value $internalField;
}
PROCESSOR
{
type nutkWallFunction;
value $internalField;
}
FAN
{
type nutkWallFunction;
value $internalField;
}
MRF_region
{
type nutkWallFunction;
value $internalField;
}
OUTLET_01
{
type calculated;
value $internalField;
}
OUTLET_02
{
type calculated;
value $internalField;
}
domain0_to_v_CPU
{
type nutkWallFunction;
value $internalField;
}
domain0_to_v_fins
{
type nutkWallFunction;
value $internalField;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,77 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 101325;
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
FAN_SHROUD
{
type zeroGradient;
}
CABINET
{
type zeroGradient;
}
FINS
{
type zeroGradient;
}
PROCESSOR
{
type zeroGradient;
}
FAN
{
type zeroGradient;
}
MRF_region
{
type zeroGradient;
}
OUTLET_01
{
type fixedValue;
value uniform 101325;
}
OUTLET_02
{
type fixedValue;
value uniform 101325;
}
domain0_to_v_CPU
{
type zeroGradient;
}
domain0_to_v_fins
{
type zeroGradient;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,85 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 101325;
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
FAN_SHROUD
{
type fixedFluxPressure;
value $internalField;
}
CABINET
{
type fixedFluxPressure;
value $internalField;
}
FINS
{
type fixedFluxPressure;
value $internalField;
}
PROCESSOR
{
type fixedFluxPressure;
value $internalField;
}
FAN
{
type fixedFluxPressure;
value $internalField;
}
MRF_region
{
type fixedFluxPressure;
value $internalField;
}
OUTLET_01
{
type fixedValue;
value $internalField;
}
OUTLET_02
{
type fixedValue;
value $internalField;
}
domain0_to_v_CPU
{
type fixedFluxPressure;
value $internalField;
}
domain0_to_v_fins
{
type fixedFluxPressure;
value $internalField;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,73 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / 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 300;
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
PROCESSOR
{
type externalWallHeatFluxTemperature;
kappaMethod solidThermo;
mode flux;
Ta $internalField;
q uniform 0;
kappaLayers ( 0 );
thicknessLayers ( 0 );
value $internalField;
kappaName none;
}
v_CPU_to_domain0
{
type compressible::turbulentTemperatureRadCoupledMixed;
qrNbr none;
qr none;
Tnbr T;
kappaMethod solidThermo;
useImplicit true;
value $internalField;
}
CABINET
{
type externalWallHeatFluxTemperature;
kappaMethod solidThermo;
mode flux;
Ta $internalField;
q uniform 0;
kappaLayers ( 0 );
thicknessLayers ( 0 );
value $internalField;
kappaName none;
}
v_CPU_to_v_fins
{
type compressible::turbulentTemperatureRadCoupledMixed;
qrNbr none;
qr none;
Tnbr T;
kappaMethod solidThermo;
useImplicit true;
value $internalField;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,45 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 101325;
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
PROCESSOR
{
type zeroGradient;
}
v_CPU_to_domain0
{
type zeroGradient;
}
CABINET
{
type zeroGradient;
}
v_CPU_to_v_fins
{
type zeroGradient;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,48 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / 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 300;
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
v_fins_to_domain0
{
type compressible::turbulentTemperatureRadCoupledMixed;
qrNbr none;
qr none;
Tnbr T;
kappaMethod solidThermo;
useImplicit true;
value $internalField;
}
v_fins_to_v_CPU
{
type compressible::turbulentTemperatureRadCoupledMixed;
qrNbr none;
qr none;
Tnbr T;
kappaMethod solidThermo;
useImplicit true;
value $internalField;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,35 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 101325;
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
v_fins_to_domain0
{
type zeroGradient;
}
v_fins_to_v_CPU
{
type zeroGradient;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,19 @@
#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial run functions
#------------------------------------------------------------------------------
cleanCase0
foamCleanPolyMesh -region domain0
foamCleanPolyMesh -region v_CPU
foamCleanPolyMesh -region v_fins
# Remove surfaces and features
rm -rf constant/triSurface
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -rf constant/cellToRegion
rm -rf constant/*/polyMesh # region meshes
#------------------------------------------------------------------------------

View File

@ -0,0 +1,26 @@
#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
./Allrun.pre
# Run
runParallel $(getApplication)
# Reconstruct
reconstructParMesh -allRegions -constant
reconstructPar -allRegions
# Reconstruct
#for region in $(foamListRegions)
#do
# runParallel -s reconstruct-$region \
# redistributePar -reconstruct -region $region
#done
echo
echo "Use paraFoam -touch-all to create files for paraview post-processing"
echo
#------------------------------------------------------------------------------

View File

@ -0,0 +1,20 @@
#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
# copy cpu surface from resources directory
cp -rf \
"$FOAM_TUTORIALS"/resources/geometry/cpuCabinet \
constant/triSurface
runApplication blockMesh
runApplication surfaceFeatureExtract
runApplication snappyHexMesh -overwrite
runApplication $decompDict decomposePar
restore0Dir -processor
runParallel splitMeshRegions -cellZones -overwrite
runParallel topoSet -region domain0
#------------------------------------------------------------------------------

View File

@ -0,0 +1,29 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object MRFProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
VC_1
{
cellZone v_MRF;
active true;
nonRotatingPatches ();
origin (-0.01 0.04 -0.06);
axis (1 0 0);
omega 209.44;
}
// ************************************************************************* //

View File

@ -0,0 +1,50 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type heRhoThermo;
mixture pureMixture;
transport const;
thermo hConst;
equationOfState perfectGas;
specie specie;
energy sensibleEnthalpy;
}
mixture
{
specie
{
nMoles 1;
molWeight 28.966;
}
thermodynamics
{
Cp 1006.43;
Hf 0;
}
transport
{
mu 1.846e-05;
Pr 0.706414;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,27 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType RAS;
RAS
{
RASModel realizableKE;
turbulence on;
printCoeffs on;
}
// ************************************************************************* //

View File

@ -0,0 +1,23 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class uniformDimensionedVectorField;
location "constant";
object g;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -2 0 0 0 0];
value (0 -9.81 0);
// ************************************************************************* //

View File

@ -0,0 +1,24 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object regionProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
regions
(
solid ( v_CPU v_fins )
fluid ( domain0 )
);
// ************************************************************************* //

View File

@ -0,0 +1,55 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type heSolidThermo;
mixture pureMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;
specie specie;
energy sensibleEnthalpy;
}
mixture
{
specie
{
nMoles 1;
molWeight 26.98;
}
thermodynamics
{
Hf 0;
Sf 0;
Cp 871;
}
transport
{
kappa 202.4;
}
equationOfState
{
rho 2719;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,55 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type heSolidThermo;
mixture pureMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;
specie specie;
energy sensibleEnthalpy;
}
mixture
{
specie
{
nMoles 1;
molWeight 26.98;
}
thermodynamics
{
Hf 0;
Sf 0;
Cp 871;
}
transport
{
kappa 202.4;
}
equationOfState
{
rho 2719;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,93 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
scale 1;
vertices
(
( -0.04478 -0.00550502 -0.29 )
( 0.27928 -0.00550502 -0.29 )
( 0.27928 0.0845552 -0.29 )
( -0.04478 0.0845552 -0.29 )
( -0.04478 -0.00550502 0.04 )
( 0.27928 -0.00550502 0.04 )
( 0.27928 0.0845552 0.04 )
( -0.04478 0.0845552 0.04 )
);
blocks
(
hex (0 1 2 3 4 5 6 7) ( 108 30 110 ) simpleGrading ( 1 1 1 )
);
edges
(
);
boundary
(
XMin
{
type wall;
faces
(
(0 4 7 3)
);
}
XMax
{
type wall;
faces
(
(1 2 6 5)
);
}
YMin
{
type wall;
faces
(
(0 1 5 4)
);
}
YMax
{
type wall;
faces
(
(3 7 6 2)
);
}
ZMin
{
type wall;
faces
(
(0 3 2 1)
);
}
ZMax
{
type wall;
faces
(
(4 5 6 7)
);
}
);
// ************************************************************************* //

View File

@ -0,0 +1,53 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application chtMultiRegionSimpleFoam;
startFrom startTime;
startTime 0;
stopAt endTime;
endTime 200;
deltaT 1;
writeControl timeStep;
writeInterval 10;
purgeWrite 0;
writeFormat binary;
writePrecision 8;
writeCompression off;
timeFormat general;
timePrecision 8;
runTimeModifiable true;
functions
{
#include "probes"
}
// ************************************************************************* //

View File

@ -0,0 +1,24 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object createBafflesDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
internalFacesOnly true;
baffles
{
}
// ************************************************************************* //

View File

@ -0,0 +1,36 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Web: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 10;
//method assembleDecomp;
// method hierarchical;
// method simple;
// method manual;
method scotch;
constraints
{
faces
{
type preserveFaceZones;
//zones (f1 f2 f3);
zones (domain0_to_v_CPU domain0_to_v_fins v_CPU_to_v_fins);
enabled true;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,30 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 4;
method assembly;
coeffs
{
numberOfSubdomains 4;
method scotch;
dataFile "cellDecompose.dat";
}
// ************************************************************************* //

View File

@ -0,0 +1,68 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
default steadyState;
}
divSchemes
{
div(phi,U) bounded Gauss upwind;
div(phi,k) bounded Gauss linearUpwind grad(k);
div(phi,epsilon) bounded Gauss linearUpwind grad(epsilon);
div((muEff*dev2(T(grad(U))))) Gauss linear;
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
div(phi,K) bounded Gauss linearUpwind default;
div(phi,h) bounded Gauss upwind;
div(phid,p) bounded Gauss upwind;
}
laplacianSchemes
{
default Gauss linear limited 0.333;
}
interpolationSchemes
{
default linear;
}
snGradSchemes
{
default limited 0.333;
}
gradSchemes
{
default Gauss linear;
}
fluxRequired
{
default no;
pCorr ;
p_rgh ;
}
wallDist
{
method meshWave;
nRequired false;
}
// ************************************************************************* //

View File

@ -0,0 +1,77 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
rho
{
solver PCG
preconditioner DIC;
tolerance 1e-7;
relTol 0;
}
p_rgh
{
solver PBiCGStab;
preconditioner FDIC;
tolerance 1e-7;
relTol 0.01;
smoother GaussSeidel;
cacheAgglomeration true;
}
"(U|k|h|epsilon|)"
{
solver PBiCGStab;
preconditioner DILU;
tolerance 1e-6;
relTol 0.05;
}
}
SIMPLE
{
momentumPredictor true;
nNonOrthogonalCorrectors 0;
frozenFlow false;
residualControl
{
default 1e-7;
}
}
relaxationFactors
{
fields
{
p_rgh 0.7;
rho 1;
}
equations
{
U 0.4;
h 0.9;
k 0.7;
epsilon 0.7;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,40 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
actions
(
{
name v_MRF_set;
type cellSet;
action new;
source searchableSurfaceToCell;
surfaceType searchableCylinder;
point1 (-0.0032 0.037517 -0.058);
point2 (-0.015 0.037517 -0.058);
radius 0.021;
}
{
name v_MRF;
type cellZoneSet;
action new;
source setToCellZone;
set v_MRF_set;
}
);
// ************************************************************************* //

View File

@ -0,0 +1,43 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
}
divSchemes
{
}
laplacianSchemes
{
}
interpolationSchemes
{
}
snGradSchemes
{
}
gradSchemes
{
}
// ************************************************************************* //

View File

@ -0,0 +1,17 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// ************************************************************************* //

View File

@ -0,0 +1,54 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object snappyHexMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
minVol 1e-13;
minTetQuality 1e-16;
minArea 1e-13;
minTwist 0.05;
minDeterminant 1e-06;
minFaceWeight 0.02;
minVolRatio 0.01;
minTriangleTwist -1;
minFlatness 0.5;
maxNonOrtho 70;
maxBoundarySkewness 20;
maxInternalSkewness 4;
maxConcave 80;
nSmoothScale 4;
errorReduction 0.75;
relaxed
{
minVol 1e-30;
minTetQuality 1e-30;
minArea 1e-30;
minTwist 0.001;
minDeterminant 1e-06;
minFaceWeight 1e-06;
minVolRatio 0.01;
minTriangleTwist -1;
minFlatness 0.5;
maxNonOrtho 75;
maxBoundarySkewness 20;
maxInternalSkewness 8;
maxConcave 80;
nSmoothScale 4;
errorReduction 0.75;
}
// ************************************************************************* //

View File

@ -0,0 +1,82 @@
// -*- C++ -*-
_volFieldValue
{
type volFieldValue;
libs (fieldFunctionObjects);
enabled true;
writeControl timeStep;
writeInterval 1;
log true;
valueOutput false;
writeFields false;
}
Volume1_v_CPU
{
${_volFieldValue}
regionType cellZone;
name v_CPU;
region v_CPU;
operation volAverage;
fields ( T );
}
Volume3_v_fins
{
${_volFieldValue}
regionType cellZone;
name v_fins;
region v_fins;
operation volAverage;
fields ( T );
}
probesFins
{
type probes;
libs (sampling);
writeControl timeStep;
writeInterval 1;
interpolationScheme cell;
region v_fins;
setFormat raw;
log true;
valueOutput false;
writeFields false;
probeLocations
(
(0.118 0.01 -0.125)
(0.118 0.03 -0.125)
);
fields ( T );
}
probesFluid
{
type probes;
libs (sampling);
writeControl timeStep;
writeInterval 1;
interpolationScheme cell;
region domain0;
setFormat raw;
log true;
valueOutput false;
writeFields false;
probeLocations
(
(0.118 0.035 -0.125)
(0.118 0.07 -0.125)
);
fields ( T U);
}
#remove (_volFieldValue _surfaceFieldValue)
// ************************************************************************* //

View File

@ -0,0 +1,205 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object snappyHexMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Which of the steps to run
castellatedMesh true;
snap true;
addLayers false;
geometry
{
Cabinet_withMesh.obj
{
type triSurfaceMesh;
name Cabinet_withMesh;
regions
{
FAN_SHROUD
{
name FAN_SHROUD;
}
OUTLET_01
{
name OUTLET_01;
}
OUTLET_02
{
name OUTLET_02;
}
CABINET
{
name CABINET;
}
FINS
{
name FINS;
}
PROCESSOR
{
name PROCESSOR;
}
FAN
{
name FAN;
}
}
}
};
castellatedMeshControls
{
maxLocalCells 200000000;
maxGlobalCells 300000000;
minRefinementCells 20;
nCellsBetweenLevels 4;
maxLoadUnbalance 0.1;
allowFreeStandingZoneFaces true;
resolveFeatureAngle 30;
features
(
{
file "MRF_region.eMesh";
level 0;
}
);
refinementSurfaces
{
Cabinet_withMesh
{
level (0 0);
regions
{
FAN_SHROUD
{
level (2 2);
status 1;
}
OUTLET_01
{
level (0 0);
status 1;
}
OUTLET_02
{
level (0 0);
status 1;
}
CABINET
{
level (0 0);
status 1;
}
FINS
{
level (3 3);
status 1;
}
PROCESSOR
{
level (3 3);
status 1;
}
FAN
{
level (3 3);
status 1;
}
}
}
MRF_region
{
level (0 0);
regions
{
MRF_region
{
level (2 2);
status 1;
}
}
}
}
refinementRegions
{
}
locationsInMesh
(
(( 0.11725 0.0395251 -0.21545548 ) domain0 )
(( 0.1063594 0.0040546151 -0.12500001 ) v_CPU )
(( 0.1055988 0.0081817387 -0.11700001 ) v_fins )
//(( -0.0041739814 0.029459859 -0.038183494 ) v_MRF )
);
}
snapControls
{
tolerance 2;
implicitFeatureSnap true;
explicitFeatureSnap false;
multiRegionFeatureSnap true;
detectNearSurfacesSnap true;
nSmoothPatch 3;
nSolveIter 50;
nRelaxIter 5;
nFeatureSnapIter 10;
nSmoothInternal 3;
nFaceSplitInterval -1;
}
addLayersControls
{
layers
{
}
relativeSizes true;
expansionRatio 1.2;
firstLayerThickness 0.1;
featureAngle 85;
slipFeatureAngle 30;
nGrow 0;
nBufferCellsNoExtrude 0;
minMedianAxisAngle 90;
maxFaceThicknessRatio 0.2;
maxThicknessToMedialRatio 0.3;
minThickness 1e-06;
nLayerIter 50;
nRelaxIter 5;
nSmoothSurfaceNormals 10;
nSmoothNormals 3;
nSmoothThickness 10;
nRelaxedIter 10;
nMedialAxisIter 10;
}
meshQualityControls
{
#include "meshQualityDict"
}
debug 0;
mergeTolerance 1e-08;
// ************************************************************************* //

View File

@ -0,0 +1,29 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object surfaceFeatureExtractDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
MRF_region.obj
{
extractionMethod extractFromSurface;
writeObj yes;
extractFromSurfaceCoeffs
{
includedAngle 150;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,85 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Web: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
actions
(
// 0. Create cell sets
// {
// name c1;
// type cellSet;
// action new;
// source zoneToCell;
// zones (domain0);
//
// }
{
name c1;
type cellSet;
action new;
source faceZoneToCell;//zoneToCel;
option master;
zones (domain0_to_v_CPU);
}
{
name c1;
type cellSet;
action add;
source faceZoneToCell;//zoneToCel;
option slave;
zones (domain0_to_v_CPU);
}
// {
// name c2;
// type cellSet;
// action new;
// source zoneToCell;
// zones (v_CPU);
//
// }
// {
// name f2;
// type faceSet;
// action new;
// source cellToFace;
// option all;
// sets (c2);
//
// }
//
// {
// name c3;
// type cellSet;
// action new;
// source zoneToCell;
// zones (v_fins);
//
// }
// {
// name f3;
// type faceSet;
// action new;
// source cellToFace;
// option all;
// sets (c3);
//
// }
);
// ************************************************************************* //

View File

@ -0,0 +1,28 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 4;
method manual;
coeffs
{
numberOfSubdomains 4;
dataFile "cellDecompose.dat";
}
// ************************************************************************* //

View File

@ -0,0 +1,36 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
v_CPU_AbsoluteEnergySource
{
type scalarSemiImplicitSource;
active true;
scalarSemiImplicitSourceCoeffs
{
selectionMode cellZone;
cellZone v_CPU;
volumeMode absolute;
injectionRateSuSp
{
h ( 100 0 );
}
}
}
// ************************************************************************* //

View File

@ -0,0 +1,49 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
default steadyState;
}
divSchemes
{
default Gauss linear;
}
laplacianSchemes
{
default Gauss linear limited 0.33;
}
interpolationSchemes
{
default linear;
}
snGradSchemes
{
default limited 0.33;
}
gradSchemes
{
default Gauss linear;
}
// ************************************************************************* //

View File

@ -0,0 +1,46 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
h
{
solver PCG;
preconditioner DIC;
nSweeps 2;
tolerance 1e-8;
relTol 0.05;
}
}
SIMPLE
{
residualControl
{
default 1e-20;
}
}
relaxationFactors
{
equations
{
h 1;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,28 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 4;
method manual;
coeffs
{
numberOfSubdomains 4;
dataFile "cellDecompose.dat";
}
// ************************************************************************* //

View File

@ -0,0 +1,47 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
default steadyState;
}
divSchemes
{
default Gauss linear;
}
laplacianSchemes
{
default Gauss linear limited 0.333;
}
interpolationSchemes
{
default linear;
}
snGradSchemes
{
default limited 0.333;
}
gradSchemes
{
default Gauss linear;
}
// ************************************************************************* //

View File

@ -0,0 +1,51 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
h
{
solver PCG;
preconditioner DIC;
nSweeps 2;
tolerance 1e-8;
relTol 0.05;
}
}
SIMPLE
{
residualControl
{
default 1e-20;
}
}
relaxationFactors
{
fields
{
}
equations
{
h 1;
}
}
// ************************************************************************* //