mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
new bc
This commit is contained in:
@ -61,7 +61,7 @@ dictionaryReplacement
|
||||
}
|
||||
bottomAir_to_leftSolid
|
||||
{
|
||||
type solidWallTemperatureCoupled;
|
||||
type solidWallMixedTemperatureCoupled;
|
||||
neighbourRegionName leftSolid;
|
||||
neighbourPatchName leftSolid_to_bottomAir;
|
||||
neighbourFieldName T;
|
||||
@ -71,7 +71,7 @@ dictionaryReplacement
|
||||
}
|
||||
bottomAir_to_heater
|
||||
{
|
||||
type solidWallTemperatureCoupled;
|
||||
type solidWallMixedTemperatureCoupled;
|
||||
neighbourRegionName heater;
|
||||
neighbourPatchName heater_to_bottomAir;
|
||||
neighbourFieldName T;
|
||||
@ -80,7 +80,7 @@ dictionaryReplacement
|
||||
}
|
||||
bottomAir_to_rightSolid
|
||||
{
|
||||
type solidWallTemperatureCoupled;
|
||||
type solidWallMixedTemperatureCoupled;
|
||||
neighbourRegionName rightSolid;
|
||||
neighbourPatchName rightSolid_to_bottomAir;
|
||||
neighbourFieldName T;
|
||||
@ -254,49 +254,49 @@ dictionaryReplacement
|
||||
|
||||
p
|
||||
{
|
||||
internalField uniform 1000000;
|
||||
internalField uniform 100000;
|
||||
boundaryField
|
||||
{
|
||||
minX
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1000000;
|
||||
value uniform 100000;
|
||||
}
|
||||
maxX
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1000000;
|
||||
value uniform 100000;
|
||||
}
|
||||
minY
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1000000;
|
||||
value uniform 100000;
|
||||
}
|
||||
minZ
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1000000;
|
||||
value uniform 100000;
|
||||
}
|
||||
maxZ
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1000000;
|
||||
value uniform 100000;
|
||||
}
|
||||
|
||||
bottomAir_to_leftSolid
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1000000;
|
||||
value uniform 100000;
|
||||
}
|
||||
bottomAir_to_heater
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1000000;
|
||||
value uniform 100000;
|
||||
}
|
||||
bottomAir_to_rightSolid
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1000000;
|
||||
value uniform 100000;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,192 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.5 |
|
||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object changeDictionaryDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dictionaryReplacement
|
||||
{
|
||||
T
|
||||
{
|
||||
internalField uniform 300;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
minY
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 500;
|
||||
}
|
||||
|
||||
minZ
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
maxZ
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
heater_to_domain0
|
||||
{
|
||||
type solidWallHeatFluxTemperatureCoupled;
|
||||
neighbourRegionName domain0;
|
||||
neighbourPatchName domain0_to_heater;
|
||||
neighbourFieldName T;
|
||||
K K;
|
||||
value uniform 300;
|
||||
|
||||
}
|
||||
heater_to_solid1
|
||||
{
|
||||
type solidWallHeatFluxTemperatureCoupled;
|
||||
neighbourRegionName solid1;
|
||||
neighbourPatchName solid1_to_heater;
|
||||
neighbourFieldName T;
|
||||
K K;
|
||||
value uniform 300;
|
||||
}
|
||||
heater_to_solid3
|
||||
{
|
||||
type solidWallHeatFluxTemperatureCoupled;
|
||||
neighbourRegionName solid3;
|
||||
neighbourPatchName solid3_to_heater;
|
||||
neighbourFieldName T;
|
||||
K K;
|
||||
value uniform 300;
|
||||
}
|
||||
heater_to_domain3
|
||||
{
|
||||
type solidWallHeatFluxTemperatureCoupled;
|
||||
neighbourRegionName domain3;
|
||||
neighbourPatchName domain3_to_heater;
|
||||
neighbourFieldName T;
|
||||
K K;
|
||||
value uniform 300;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rho
|
||||
{
|
||||
internalField uniform 8000;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
minY
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
minZ
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
maxZ
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
heater_to_domain0
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
heater_to_solid1
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
heater_to_solid3
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
heater_to_domain3
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
K
|
||||
{
|
||||
internalField uniform 80;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
minY
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
minZ
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
maxZ
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
heater_to_domain0
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
heater_to_solid1
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
heater_to_solid3
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
heater_to_domain3
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cp
|
||||
{
|
||||
internalField uniform 450;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
minY
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
minZ
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
maxZ
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
heater_to_domain0
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
heater_to_solid1
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
heater_to_solid3
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
heater_to_domain3
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,59 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.5 |
|
||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object fvSchemes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default Euler;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
{
|
||||
default Gauss linear;
|
||||
grad(U) Gauss linear;
|
||||
grad(gamma) Gauss linear;
|
||||
}
|
||||
|
||||
divSchemes
|
||||
{
|
||||
div(rho*phi,U) Gauss upwind; //limitedLinearV 1;
|
||||
div(phi,gamma) Gauss vanLeer;
|
||||
div(phirb,gamma) Gauss interfaceCompression;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default Gauss linear corrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
{
|
||||
default linear;
|
||||
}
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default corrected;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
{
|
||||
default no;
|
||||
pd;
|
||||
pcorr;
|
||||
gamma;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,123 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.5 |
|
||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solvers
|
||||
{
|
||||
pcorr PCG
|
||||
{
|
||||
preconditioner GAMG
|
||||
{
|
||||
tolerance 1e-3;
|
||||
relTol 0;
|
||||
|
||||
smoother GaussSeidel;
|
||||
nPreSweeps 0;
|
||||
nPostSweeps 2;
|
||||
nBottomSweeps 2;
|
||||
|
||||
cacheAgglomeration false;
|
||||
nCellsInCoarsestLevel 10;
|
||||
agglomerator faceAreaPair;
|
||||
mergeLevels 1;
|
||||
};
|
||||
|
||||
tolerance 1e-4;
|
||||
relTol 0;
|
||||
maxIter 100;
|
||||
};
|
||||
|
||||
pd GAMG
|
||||
{
|
||||
tolerance 1e-8;
|
||||
relTol 0.05;
|
||||
|
||||
smoother GaussSeidel;
|
||||
nPreSweeps 0;
|
||||
nPostSweeps 2;
|
||||
nFinestSweeps 2;
|
||||
|
||||
cacheAgglomeration false;
|
||||
nCellsInCoarsestLevel 10;
|
||||
agglomerator faceAreaPair;
|
||||
mergeLevels 1;
|
||||
};
|
||||
|
||||
pdFinal PCG
|
||||
{
|
||||
preconditioner GAMG
|
||||
{
|
||||
tolerance 1e-8;
|
||||
relTol 0;
|
||||
|
||||
nVcycles 2;
|
||||
|
||||
smoother GaussSeidel;
|
||||
nPreSweeps 0;
|
||||
nPostSweeps 2;
|
||||
nFinestSweeps 2;
|
||||
|
||||
cacheAgglomeration false;
|
||||
nCellsInCoarsestLevel 10;
|
||||
agglomerator faceAreaPair;
|
||||
mergeLevels 1;
|
||||
};
|
||||
|
||||
tolerance 1e-8;
|
||||
relTol 0;
|
||||
maxIter 20;
|
||||
};
|
||||
|
||||
U smoothSolver
|
||||
{
|
||||
smoother GaussSeidel;
|
||||
tolerance 1e-6;
|
||||
relTol 0;
|
||||
nSweeps 1;
|
||||
};
|
||||
|
||||
k PBiCG
|
||||
{
|
||||
preconditioner DILU;
|
||||
tolerance 1e-08;
|
||||
relTol 0;
|
||||
};
|
||||
B PBiCG
|
||||
{
|
||||
preconditioner DILU;
|
||||
tolerance 1e-08;
|
||||
relTol 0;
|
||||
};
|
||||
nuTilda PBiCG
|
||||
{
|
||||
preconditioner DILU;
|
||||
tolerance 1e-08;
|
||||
relTol 0;
|
||||
};
|
||||
}
|
||||
|
||||
PISO
|
||||
{
|
||||
momentumPredictor no;
|
||||
nCorrectors 3;
|
||||
nNonOrthogonalCorrectors 0;
|
||||
nGammaCorr 1;
|
||||
nGammaSubCycles 3;
|
||||
cGamma 1;
|
||||
pdRefCell 0;
|
||||
pdRefValue 0;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -39,7 +39,7 @@ dictionaryReplacement
|
||||
|
||||
heater_to_bottomAir
|
||||
{
|
||||
type solidWallHeatFluxTemperatureCoupled;
|
||||
type solidWallMixedTemperatureCoupled;
|
||||
neighbourRegionName bottomAir;
|
||||
neighbourPatchName bottomAir_to_heater;
|
||||
neighbourFieldName T;
|
||||
@ -49,7 +49,7 @@ dictionaryReplacement
|
||||
}
|
||||
heater_to_leftSolid
|
||||
{
|
||||
type solidWallHeatFluxTemperatureCoupled;
|
||||
type solidWallMixedTemperatureCoupled;
|
||||
neighbourRegionName leftSolid;
|
||||
neighbourPatchName leftSolid_to_heater;
|
||||
neighbourFieldName T;
|
||||
@ -58,7 +58,7 @@ dictionaryReplacement
|
||||
}
|
||||
heater_to_rightSolid
|
||||
{
|
||||
type solidWallHeatFluxTemperatureCoupled;
|
||||
type solidWallMixedTemperatureCoupled;
|
||||
neighbourRegionName rightSolid;
|
||||
neighbourPatchName rightSolid_to_heater;
|
||||
neighbourFieldName T;
|
||||
@ -67,7 +67,7 @@ dictionaryReplacement
|
||||
}
|
||||
heater_to_topAir
|
||||
{
|
||||
type solidWallHeatFluxTemperatureCoupled;
|
||||
type solidWallMixedTemperatureCoupled;
|
||||
neighbourRegionName topAir;
|
||||
neighbourPatchName topAir_to_heater;
|
||||
neighbourFieldName T;
|
||||
|
||||
@ -36,7 +36,7 @@ dictionaryReplacement
|
||||
}
|
||||
leftSolid_to_bottomAir
|
||||
{
|
||||
type solidWallHeatFluxTemperatureCoupled;
|
||||
type solidWallMixedTemperatureCoupled;
|
||||
neighbourRegionName bottomAir;
|
||||
neighbourPatchName bottomAir_to_leftSolid;
|
||||
neighbourFieldName T;
|
||||
@ -46,7 +46,7 @@ dictionaryReplacement
|
||||
}
|
||||
leftSolid_to_heater
|
||||
{
|
||||
type solidWallTemperatureCoupled;
|
||||
type solidWallMixedTemperatureCoupled;
|
||||
neighbourRegionName heater;
|
||||
neighbourPatchName heater_to_leftSolid;
|
||||
neighbourFieldName T;
|
||||
@ -55,7 +55,7 @@ dictionaryReplacement
|
||||
}
|
||||
leftSolid_to_topAir
|
||||
{
|
||||
type solidWallHeatFluxTemperatureCoupled;
|
||||
type solidWallMixedTemperatureCoupled;
|
||||
neighbourRegionName topAir;
|
||||
neighbourPatchName topAir_to_leftSolid;
|
||||
neighbourFieldName T;
|
||||
|
||||
@ -36,7 +36,7 @@ dictionaryReplacement
|
||||
}
|
||||
rightSolid_to_heater
|
||||
{
|
||||
type solidWallTemperatureCoupled;
|
||||
type solidWallMixedTemperatureCoupled;
|
||||
neighbourRegionName heater;
|
||||
neighbourPatchName heater_to_rightSolid;
|
||||
neighbourFieldName T;
|
||||
@ -45,7 +45,7 @@ dictionaryReplacement
|
||||
}
|
||||
rightSolid_to_bottomAir
|
||||
{
|
||||
type solidWallHeatFluxTemperatureCoupled;
|
||||
type solidWallMixedTemperatureCoupled;
|
||||
neighbourRegionName bottomAir;
|
||||
neighbourPatchName bottomAir_to_rightSolid;
|
||||
neighbourFieldName T;
|
||||
@ -54,7 +54,7 @@ dictionaryReplacement
|
||||
}
|
||||
rightSolid_to_topAir
|
||||
{
|
||||
type solidWallHeatFluxTemperatureCoupled;
|
||||
type solidWallMixedTemperatureCoupled;
|
||||
neighbourRegionName topAir;
|
||||
neighbourPatchName topAir_to_rightSolid;
|
||||
neighbourFieldName T;
|
||||
|
||||
@ -62,7 +62,7 @@ dictionaryReplacement
|
||||
}
|
||||
topAir_to_leftSolid
|
||||
{
|
||||
type solidWallTemperatureCoupled;
|
||||
type solidWallMixedTemperatureCoupled;
|
||||
neighbourRegionName leftSolid;
|
||||
neighbourPatchName leftSolid_to_topAir;
|
||||
neighbourFieldName T;
|
||||
@ -72,7 +72,7 @@ dictionaryReplacement
|
||||
}
|
||||
topAir_to_heater
|
||||
{
|
||||
type solidWallTemperatureCoupled;
|
||||
type solidWallMixedTemperatureCoupled;
|
||||
neighbourRegionName heater;
|
||||
neighbourPatchName heater_to_topAir;
|
||||
neighbourFieldName T;
|
||||
@ -81,7 +81,7 @@ dictionaryReplacement
|
||||
}
|
||||
topAir_to_rightSolid
|
||||
{
|
||||
type solidWallTemperatureCoupled;
|
||||
type solidWallMixedTemperatureCoupled;
|
||||
neighbourRegionName rightSolid;
|
||||
neighbourPatchName rightSolid_to_topAir;
|
||||
neighbourFieldName T;
|
||||
@ -263,50 +263,50 @@ dictionaryReplacement
|
||||
|
||||
p
|
||||
{
|
||||
internalField uniform 1000000;
|
||||
internalField uniform 100000;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
minX
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1000000;
|
||||
value uniform 100000;
|
||||
}
|
||||
maxX
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1000000;
|
||||
value uniform 100000;
|
||||
}
|
||||
maxY
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1000000;
|
||||
value uniform 100000;
|
||||
}
|
||||
minZ
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1000000;
|
||||
value uniform 100000;
|
||||
}
|
||||
maxZ
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1000000;
|
||||
value uniform 100000;
|
||||
}
|
||||
|
||||
topAir_to_leftSolid
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1000000;
|
||||
value uniform 100000;
|
||||
}
|
||||
topAir_to_heater
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1000000;
|
||||
value uniform 100000;
|
||||
}
|
||||
topAir_to_rightSolid
|
||||
{
|
||||
type calculated;
|
||||
value uniform 1000000;
|
||||
value uniform 100000;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user