mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: heatTransfer: clean up tutorials
This commit is contained in:
committed by
Andrew Heather
parent
ad75af0e50
commit
f62a599eef
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0/air";
|
||||
object G;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -26,31 +25,37 @@ boundaryField
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
minX
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
maxX
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
minY
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
maxZ
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
air_to_floor
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
air_to_solid
|
||||
{
|
||||
type calculated;
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0/air";
|
||||
object IDefault;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -26,31 +25,37 @@ boundaryField
|
||||
type wideBandDiffusiveRadiation;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
minX
|
||||
{
|
||||
type wideBandDiffusiveRadiation;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
maxX
|
||||
{
|
||||
type wideBandDiffusiveRadiation;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
minY
|
||||
{
|
||||
type wideBandDiffusiveRadiation;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
maxZ
|
||||
{
|
||||
type wideBandDiffusiveRadiation;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
air_to_floor
|
||||
{
|
||||
type wideBandDiffusiveRadiation;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
air_to_solid
|
||||
{
|
||||
type wideBandDiffusiveRadiation;
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0/air";
|
||||
object T;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -27,30 +26,35 @@ boundaryField
|
||||
value uniform 300;
|
||||
inletValue uniform 300;
|
||||
}
|
||||
|
||||
minX
|
||||
{
|
||||
type inletOutlet;
|
||||
value uniform 300;
|
||||
inletValue uniform 300;
|
||||
}
|
||||
|
||||
maxX
|
||||
{
|
||||
type inletOutlet;
|
||||
value uniform 300;
|
||||
inletValue uniform 300;
|
||||
}
|
||||
|
||||
minY
|
||||
{
|
||||
type inletOutlet;
|
||||
value uniform 300;
|
||||
inletValue uniform 300;
|
||||
}
|
||||
|
||||
maxZ
|
||||
{
|
||||
type inletOutlet;
|
||||
value uniform 300;
|
||||
inletValue uniform 300;
|
||||
}
|
||||
|
||||
air_to_floor
|
||||
{
|
||||
type compressible::turbulentTemperatureRadCoupledMixed;
|
||||
@ -61,6 +65,7 @@ boundaryField
|
||||
qr qr;
|
||||
kappa none;
|
||||
}
|
||||
|
||||
air_to_solid
|
||||
{
|
||||
type compressible::turbulentTemperatureRadCoupledMixed;
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volVectorField;
|
||||
location "0/air";
|
||||
object U;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -27,42 +26,49 @@ boundaryField
|
||||
value uniform ( 0 0 0 );
|
||||
phi phi;
|
||||
}
|
||||
|
||||
minX
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
value uniform ( 0 0 0 );
|
||||
phi phi;
|
||||
}
|
||||
|
||||
maxX
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
value uniform ( 0 0 0 );
|
||||
phi phi;
|
||||
}
|
||||
|
||||
minY
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
value uniform ( 0 0 0 );
|
||||
phi phi;
|
||||
}
|
||||
|
||||
maxZ
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
value uniform ( 0 0 0 );
|
||||
phi phi;
|
||||
}
|
||||
|
||||
air_to_floor
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform ( 0 0 0 );
|
||||
phi phi;
|
||||
}
|
||||
|
||||
air_to_solid
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform ( 0 0 0 );
|
||||
phi phi;
|
||||
}
|
||||
|
||||
region0_to_floor_floor_zone
|
||||
{
|
||||
type fixedValue;
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0/air";
|
||||
object alphat;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -26,32 +25,38 @@ boundaryField
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
minX
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
maxX
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
minY
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
maxZ
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
air_to_floor
|
||||
{
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
air_to_solid
|
||||
{
|
||||
type compressible::alphatWallFunction;
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0/air";
|
||||
object epsilon;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -27,36 +26,42 @@ boundaryField
|
||||
value uniform 0.01;
|
||||
inletValue uniform 0.01;
|
||||
}
|
||||
|
||||
minX
|
||||
{
|
||||
type inletOutlet;
|
||||
value uniform 0.01;
|
||||
inletValue uniform 0.01;
|
||||
}
|
||||
|
||||
maxX
|
||||
{
|
||||
type inletOutlet;
|
||||
value uniform 0.01;
|
||||
inletValue uniform 0.01;
|
||||
}
|
||||
|
||||
minY
|
||||
{
|
||||
type inletOutlet;
|
||||
value uniform 0.01;
|
||||
inletValue uniform 0.01;
|
||||
}
|
||||
|
||||
maxZ
|
||||
{
|
||||
type inletOutlet;
|
||||
value uniform 0.01;
|
||||
inletValue uniform 0.01;
|
||||
}
|
||||
|
||||
air_to_floor
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
value uniform 0.01;
|
||||
inletValue uniform 0.01;
|
||||
}
|
||||
|
||||
air_to_solid
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0/air";
|
||||
object k;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -27,36 +26,42 @@ boundaryField
|
||||
value uniform 0.1;
|
||||
inletValue uniform 0.1;
|
||||
}
|
||||
|
||||
minX
|
||||
{
|
||||
type inletOutlet;
|
||||
value uniform 0.1;
|
||||
inletValue uniform 0.1;
|
||||
}
|
||||
|
||||
maxX
|
||||
{
|
||||
type inletOutlet;
|
||||
value uniform 0.1;
|
||||
inletValue uniform 0.1;
|
||||
}
|
||||
|
||||
minY
|
||||
{
|
||||
type inletOutlet;
|
||||
value uniform 0.1;
|
||||
inletValue uniform 0.1;
|
||||
}
|
||||
|
||||
maxZ
|
||||
{
|
||||
type inletOutlet;
|
||||
value uniform 0.1;
|
||||
inletValue uniform 0.1;
|
||||
}
|
||||
|
||||
air_to_floor
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 0.1;
|
||||
inletValue uniform 0.1;
|
||||
}
|
||||
|
||||
air_to_solid
|
||||
{
|
||||
type kqRWallFunction;
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0/air";
|
||||
object nut;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -26,26 +25,31 @@ boundaryField
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
minX
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
maxX
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
minY
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
maxZ
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
air_to_floor
|
||||
{
|
||||
type nutkWallFunction;
|
||||
@ -54,6 +58,7 @@ boundaryField
|
||||
E 9.8;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
air_to_solid
|
||||
{
|
||||
type nutkWallFunction;
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0/air";
|
||||
object p;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -26,31 +25,37 @@ boundaryField
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
}
|
||||
|
||||
minX
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
}
|
||||
|
||||
maxX
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
}
|
||||
|
||||
minY
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
}
|
||||
|
||||
maxZ
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
}
|
||||
|
||||
air_to_floor
|
||||
{
|
||||
type calculated;
|
||||
value uniform 100000;
|
||||
}
|
||||
|
||||
air_to_solid
|
||||
{
|
||||
type calculated;
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0/air";
|
||||
object p_rgh;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -26,31 +25,37 @@ boundaryField
|
||||
type totalPressure;
|
||||
p0 $internalField;
|
||||
}
|
||||
|
||||
minX
|
||||
{
|
||||
type totalPressure;
|
||||
p0 $internalField;
|
||||
}
|
||||
|
||||
maxX
|
||||
{
|
||||
type totalPressure;
|
||||
p0 $internalField;
|
||||
}
|
||||
|
||||
minY
|
||||
{
|
||||
type totalPressure;
|
||||
p0 $internalField;
|
||||
}
|
||||
|
||||
maxZ
|
||||
{
|
||||
type totalPressure;
|
||||
p0 $internalField;
|
||||
}
|
||||
|
||||
air_to_floor
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
p0 $internalField;
|
||||
}
|
||||
|
||||
air_to_solid
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0/air";
|
||||
object qr;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -26,31 +25,37 @@ boundaryField
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
minX
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
maxX
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
minY
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
maxZ
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
air_to_floor
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
air_to_solid
|
||||
{
|
||||
type calculated;
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0/floor";
|
||||
object T;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -26,21 +25,25 @@ boundaryField
|
||||
type zeroGradient;
|
||||
value uniform 300;
|
||||
}
|
||||
|
||||
minX
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 300;
|
||||
}
|
||||
|
||||
maxX
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 300;
|
||||
}
|
||||
|
||||
minY
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 300;
|
||||
}
|
||||
|
||||
minZ
|
||||
{
|
||||
type externalWallHeatFluxTemperature;
|
||||
@ -53,11 +56,13 @@ boundaryField
|
||||
kappa none;
|
||||
value uniform 300;
|
||||
}
|
||||
|
||||
floor_to_domain3
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 300;
|
||||
}
|
||||
|
||||
floor_to_air
|
||||
{
|
||||
type compressible::turbulentTemperatureRadCoupledMixed;
|
||||
@ -68,6 +73,7 @@ boundaryField
|
||||
qr none;
|
||||
kappa none;
|
||||
}
|
||||
|
||||
floor_to_solid
|
||||
{
|
||||
type compressible::turbulentTemperatureRadCoupledMixed;
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0/floor";
|
||||
object p;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -26,36 +25,43 @@ boundaryField
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
minX
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
maxX
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
minY
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
minZ
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
floor_to_domain3
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
floor_to_air
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
floor_to_solid
|
||||
{
|
||||
type calculated;
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0/solid";
|
||||
object T;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -26,6 +25,7 @@ boundaryField
|
||||
type fixedValue;
|
||||
value uniform 300;
|
||||
}
|
||||
|
||||
solid_to_air
|
||||
{
|
||||
type compressible::turbulentTemperatureRadCoupledMixed;
|
||||
@ -36,6 +36,7 @@ boundaryField
|
||||
qr none;
|
||||
kappa none;
|
||||
}
|
||||
|
||||
solid_to_floor
|
||||
{
|
||||
type compressible::turbulentTemperatureRadCoupledMixed;
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0/solid";
|
||||
object p;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -26,11 +25,13 @@ boundaryField
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
solid_to_air
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
solid_to_floor
|
||||
{
|
||||
type calculated;
|
||||
|
||||
@ -7,6 +7,5 @@ cleanCase0
|
||||
|
||||
rm -rf constant/cellToRegion
|
||||
rm -rf constant/*/polyMesh # region meshes
|
||||
rm -rf constant/triSurface
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -4,7 +4,9 @@ cd "${0%/*}" || exit # Run from this directory
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
runApplication blockMesh
|
||||
|
||||
runApplication topoSet
|
||||
|
||||
runApplication splitMeshRegions -cellZones -overwrite
|
||||
|
||||
# Remove unwanted region
|
||||
@ -13,8 +15,8 @@ rm -rf 0/domain3 constant/domain3 system/domain3
|
||||
# Remove fluid fields from solid regions (important for post-processing)
|
||||
for region in $(foamListRegions solid)
|
||||
do
|
||||
rm -f 0/$region/{rho,mut,alphat,epsilon,k,U,p_rgh,qr,G,IDefault}
|
||||
rm -f processor*/0/$region/{rho,mut,alphat,epsilon,k,U,p_rgh,qr,G,IDefault}
|
||||
rm -f 0/"$region"/{rho,mut,alphat,epsilon,k,U,p_rgh,qr,G,IDefault}
|
||||
rm -f processor*/0/"$region"/{rho,mut,alphat,epsilon,k,U,p_rgh,qr,G,IDefault}
|
||||
done
|
||||
|
||||
# Set the initial fields
|
||||
@ -22,12 +24,10 @@ restore0Dir
|
||||
|
||||
for region in $(foamListRegions)
|
||||
do
|
||||
runApplication -s $region changeDictionary \
|
||||
-region $region -subDict dictionaryReplacement
|
||||
runApplication -s "$region" changeDictionary \
|
||||
-region "$region" -subDict dictionaryReplacement
|
||||
done
|
||||
|
||||
rm log.topoSet
|
||||
|
||||
runApplication topoSet -region air
|
||||
runApplication -s air topoSet -region air
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object boundaryRadiationProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -49,4 +48,5 @@ air_to_floor
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -82,4 +82,5 @@ scatterModel none;
|
||||
|
||||
sootModel none;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -14,13 +14,16 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
simulationType RAS;
|
||||
simulationType RAS;
|
||||
|
||||
RAS
|
||||
{
|
||||
RASModel kEpsilon;
|
||||
turbulence on;
|
||||
printCoeffs on;
|
||||
RASModel kEpsilon;
|
||||
|
||||
turbulence on;
|
||||
|
||||
printCoeffs on;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -5,13 +5,11 @@
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object radiationProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -32,4 +30,5 @@ scatterModel none;
|
||||
|
||||
sootModel none;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -31,22 +31,20 @@ mixture
|
||||
{
|
||||
molWeight 12;
|
||||
}
|
||||
|
||||
transport
|
||||
{
|
||||
kappa 80;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 450;
|
||||
}
|
||||
|
||||
equationOfState
|
||||
{
|
||||
rho 8000;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -17,4 +17,5 @@ FoamFile
|
||||
dimensions [0 1 -2 0 0 0 0];
|
||||
value (0 0 -9.81);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object regionProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -21,4 +20,5 @@ regions
|
||||
solid (solid floor)
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -5,13 +5,11 @@
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object radiationProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -26,4 +24,5 @@ scatterModel none;
|
||||
|
||||
sootModel none;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -31,22 +31,20 @@ mixture
|
||||
{
|
||||
molWeight 12;
|
||||
}
|
||||
|
||||
transport
|
||||
{
|
||||
kappa 80;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 250;
|
||||
}
|
||||
|
||||
equationOfState
|
||||
{
|
||||
rho 5000;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -140,8 +140,7 @@ dictionaryReplacement
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default Euler;
|
||||
default Euler;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
@ -28,14 +28,18 @@ divSchemes
|
||||
{
|
||||
default none;
|
||||
|
||||
div(phi,U) Gauss upwind;
|
||||
div(phi,K) Gauss upwind;
|
||||
div(phi,h) Gauss upwind;
|
||||
div(phi,k) Gauss upwind;
|
||||
div(phi,K) Gauss upwind;
|
||||
div(phi,epsilon) Gauss upwind;
|
||||
div(phi,R) Gauss upwind;
|
||||
div(R) Gauss linear;
|
||||
div(phi,U) Gauss upwind;
|
||||
|
||||
energy Gauss upwind;
|
||||
div(phi,K) $energy;
|
||||
div(phi,h) $energy;
|
||||
|
||||
turbulence Gauss upwind;
|
||||
div(phi,k) $turbulence;
|
||||
div(phi,epsilon) $turbulence;
|
||||
div(phi,R) $turbulence;
|
||||
div(R) Gauss linear;
|
||||
|
||||
div(Ji,Ii_h) Gauss linearUpwind grad(U);
|
||||
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
||||
}
|
||||
|
||||
@ -52,7 +52,7 @@ solvers
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
Ii
|
||||
Ii
|
||||
{
|
||||
solver GAMG;
|
||||
tolerance 1e-4;
|
||||
|
||||
@ -12,12 +12,10 @@ FoamFile
|
||||
class dictionary;
|
||||
object topoSetDict;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
actions
|
||||
(
|
||||
|
||||
// solid
|
||||
{
|
||||
name trees;
|
||||
@ -36,4 +34,5 @@ actions
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -93,4 +93,5 @@ mergePatchPairs
|
||||
(
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object controlDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -53,4 +52,5 @@ maxDeltaT 10;
|
||||
|
||||
maxDi 0.25;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -16,15 +16,7 @@ FoamFile
|
||||
|
||||
numberOfSubdomains 4;
|
||||
|
||||
method scotch;
|
||||
method scotch;
|
||||
|
||||
coeffs
|
||||
{
|
||||
n (2 2 1);
|
||||
}
|
||||
|
||||
scotchCoeffs
|
||||
{
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -37,4 +37,5 @@ linearNormalCoeffs
|
||||
thickness 1;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -81,4 +81,5 @@ dictionaryReplacement
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -41,4 +41,5 @@ relaxationFactors
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -16,6 +16,7 @@ FoamFile
|
||||
|
||||
PIMPLE
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -62,4 +62,5 @@ dictionaryReplacement
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default Euler;
|
||||
default Euler;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
|
||||
@ -41,4 +41,5 @@ relaxationFactors
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -12,12 +12,10 @@ FoamFile
|
||||
class dictionary;
|
||||
object topoSetDict;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
actions
|
||||
(
|
||||
|
||||
// solid
|
||||
{
|
||||
name solid;
|
||||
@ -101,4 +99,5 @@ actions
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user