mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of ssh://dm/home/dm4/OpenFOAM/OpenFOAM-dev
This commit is contained in:
@ -53,7 +53,7 @@ boundaryField
|
||||
|
||||
"(region0_to.*)"
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
type buoyantPressure;
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1,32 @@
|
||||
/*--------------------------------*- 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 volScalarField;
|
||||
location "0";
|
||||
object p;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [1 -1 -2 0 0 0 0];
|
||||
|
||||
internalField uniform 1e5;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
|
||||
".*"
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
143065
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/polyMesh/cellMap
Normal file
143065
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/polyMesh/cellMap
Normal file
File diff suppressed because it is too large
Load Diff
@ -10,12 +10,11 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object solidThermophysicalProperties;
|
||||
object thermophysicalProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType
|
||||
solidMixtureThermo<reactingSolidMixture<constSolidTransport<constSolidRad<constSolidThermo<constRho>>>>>;
|
||||
thermoType heSolidThermo<reactingSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
|
||||
solidComponents
|
||||
(
|
||||
@ -24,6 +23,11 @@ solidComponents
|
||||
|
||||
vCoeffs
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 100;
|
||||
}
|
||||
transport
|
||||
{
|
||||
kappa 0.135;
|
||||
@ -47,6 +51,11 @@ vCoeffs
|
||||
|
||||
charCoeffs
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 50;
|
||||
}
|
||||
transport
|
||||
{
|
||||
kappa 0.4;
|
||||
File diff suppressed because it is too large
Load Diff
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
application fireFoam;
|
||||
|
||||
startFrom latestTime;
|
||||
startFrom startTime;
|
||||
|
||||
startTime 0;
|
||||
|
||||
@ -28,7 +28,7 @@ deltaT 0.03;
|
||||
|
||||
writeControl adjustableRunTime;
|
||||
|
||||
writeInterval 0.5;
|
||||
writeInterval 0.03;
|
||||
|
||||
purgeWrite 0;
|
||||
|
||||
|
||||
@ -32,7 +32,7 @@ divSchemes
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(kappa,T) Gauss linear uncorrected;
|
||||
laplacian(alpha,h) Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
solvers
|
||||
{
|
||||
T
|
||||
h
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
@ -54,7 +54,7 @@ relaxationFactors
|
||||
}
|
||||
equations
|
||||
{
|
||||
T 1;
|
||||
h 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -0,0 +1,31 @@
|
||||
/*--------------------------------*- 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 volScalarField;
|
||||
location "0";
|
||||
object p;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [ 1 -1 -2 0 0 0 0 ];
|
||||
|
||||
internalField uniform 1e6;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
".*"
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -33,7 +33,7 @@ gradSchemes
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(kappa,T) Gauss linear uncorrected;
|
||||
laplacian(alpha,h) Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
solvers
|
||||
{
|
||||
T
|
||||
h
|
||||
{
|
||||
solver PCG;
|
||||
smoother GaussSeidel;
|
||||
@ -31,7 +31,7 @@ nNonOrthCorr 0;
|
||||
|
||||
relaxationFactors
|
||||
{
|
||||
T 1;
|
||||
h 1;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -91,10 +91,15 @@ dictionaryReplacement
|
||||
type compressible::temperatureThermoBaffle1D<constSolidThermoPhysics>;
|
||||
baffleActivated yes;
|
||||
thickness uniform 0.005; // thickness [m]
|
||||
Qs uniform 300; // heat flux [W/m2]
|
||||
Qs uniform 100; // heat flux [W/m2]
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 20;
|
||||
}
|
||||
transport
|
||||
{
|
||||
kappa 1.0;
|
||||
kappa 1;
|
||||
}
|
||||
radiation
|
||||
{
|
||||
|
||||
@ -110,22 +110,35 @@ dictionaryReplacement
|
||||
|
||||
|
||||
// Solid thermo
|
||||
thermoType constSolidThermo;
|
||||
thermoType heSolidThermo<pureSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
|
||||
constSolidThermoCoeffs
|
||||
|
||||
mixture
|
||||
{
|
||||
//- thermo properties
|
||||
rho rho [1 -3 0 0 0 0 0] 80;
|
||||
Cp Cp [0 2 -2 -1 0 0 0] 15;
|
||||
kappa kappa [1 1 -3 -1 0 0 0] 0.01;
|
||||
|
||||
//- radiative properties
|
||||
kappaRad kappaRad [0 -1 0 0 0 0 0] 0;
|
||||
sigmaS sigmaS [0 -1 0 0 0 0 0] 0;
|
||||
emissivity emissivity [0 0 0 0 0 0 0] 1;
|
||||
|
||||
//- chemical properties
|
||||
Hf Hf [0 2 -2 0 0 0 0] 0;
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 20;
|
||||
}
|
||||
transport
|
||||
{
|
||||
kappa 0.01;
|
||||
}
|
||||
radiation
|
||||
{
|
||||
sigmaS 0;
|
||||
kappaRad 0;
|
||||
emissivity 1;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 15;
|
||||
}
|
||||
density
|
||||
{
|
||||
rho 80;
|
||||
}
|
||||
}
|
||||
|
||||
value uniform 300;
|
||||
|
||||
@ -28,9 +28,9 @@ deltaT 1;
|
||||
|
||||
writeControl timeStep;
|
||||
|
||||
writeInterval 50;
|
||||
writeInterval 500;
|
||||
|
||||
purgeWrite 3;
|
||||
purgeWrite 0;
|
||||
|
||||
writeFormat ascii;
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ runApplication splitMeshRegions -cellZones -overwrite
|
||||
# remove fluid fields from solid regions (important for post-processing)
|
||||
for i in heater leftSolid rightSolid
|
||||
do
|
||||
rm -f 0*/$i/{mut,alphat,epsilon,k,p,U,p_rgh}
|
||||
rm -f 0*/$i/{mut,alphat,epsilon,k,U,p_rgh}
|
||||
done
|
||||
|
||||
# remove solid fields from fluid regions (important for post-processing)
|
||||
@ -40,10 +40,10 @@ done
|
||||
runParallel `getApplication` 4
|
||||
|
||||
# Reconstruct
|
||||
#for i in bottomAir topAir heater leftSolid rightSolid
|
||||
#do
|
||||
# reconstructPar -region $i > log.reconstructPar.$i2 >&1
|
||||
#done
|
||||
for i in bottomAir topAir heater leftSolid rightSolid
|
||||
do
|
||||
reconstructPar -region $i > log.reconstructPar.$i2 >&1
|
||||
done
|
||||
|
||||
|
||||
echo
|
||||
|
||||
@ -1,150 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object solidThermophysicalProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType constSolidThermo;
|
||||
//thermoType isotropicKSolidThermo;
|
||||
//thermoType directionalKSolidThermo;
|
||||
|
||||
constSolidThermoCoeffs
|
||||
{
|
||||
//- thermo properties
|
||||
rho rho [1 -3 0 0 0 0 0] 8000;
|
||||
Cp Cp [0 2 -2 -1 0 0 0] 450;
|
||||
kappa kappa [1 1 -3 -1 0 0 0] 80;
|
||||
|
||||
//- radiation properties
|
||||
kappaRad kappaRad [0 -1 0 0 0 0 0] 0;
|
||||
sigmaS sigmaS [0 -1 0 0 0 0 0] 0;
|
||||
emissivity emissivity [0 0 0 0 0 0 0] 0;
|
||||
|
||||
//- chemical properties
|
||||
Hf Hf [0 2 -2 0 0 0 0] 0;
|
||||
}
|
||||
|
||||
|
||||
isotropicKSolidThermoCoeffs
|
||||
{
|
||||
//- thermo properties
|
||||
TValues (100 1000);
|
||||
rhoValues (1000 1700);
|
||||
cpValues (1700 1700);
|
||||
kappaValues (80 40);
|
||||
|
||||
//- radiation properties
|
||||
emissivityValues (1 1);
|
||||
kappaRadValues (0 0);
|
||||
sigmaSValues (0 0);
|
||||
|
||||
//- chemical properties
|
||||
HfValues (0 0);
|
||||
}
|
||||
|
||||
|
||||
directionalKSolidThermoCoeffs
|
||||
{
|
||||
//- does interpolation and directional K in coordinate system.
|
||||
// Specify multiple values, one for each temperature. Properties are
|
||||
// interpolated according to the local temperature.
|
||||
|
||||
//- thermo properties
|
||||
TValues (100 1000);
|
||||
rhoValues (1000 1700);
|
||||
cpValues (1700 1700);
|
||||
kappaValues ((10 10 10) (40 40 40));
|
||||
|
||||
coordinateSystem
|
||||
{
|
||||
origin (-0.000062 0.000019 0.000039);
|
||||
coordinateRotation
|
||||
{
|
||||
type axes;
|
||||
e1 (1 0 0);
|
||||
e3 (-3.1807824e-6 -0.99813473 0.0610505);
|
||||
}
|
||||
}
|
||||
|
||||
//- chemical properties
|
||||
HfValues (1 1);
|
||||
|
||||
//- radiation properties
|
||||
emissivityValues (1 1);
|
||||
kappaRadValues (1 1);
|
||||
sigmaSValues (1 1);
|
||||
}
|
||||
|
||||
solidComponents
|
||||
(
|
||||
pmma char
|
||||
);
|
||||
|
||||
pmmaCoeffs
|
||||
{
|
||||
transport
|
||||
{
|
||||
kappa0 0.152;
|
||||
n0 1.3;
|
||||
Tref 300; //kappa0*pow(T/Tref_, n0))
|
||||
}
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.1;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
C0 1462; // Cp = C0*(T/Tref)^n0
|
||||
Tref 300;
|
||||
n0 1.31;
|
||||
}
|
||||
density
|
||||
{
|
||||
rho 1114.0;
|
||||
}
|
||||
}
|
||||
|
||||
charCoeffs
|
||||
{
|
||||
transport
|
||||
{
|
||||
kappa0 0.4;
|
||||
n0 1.3;
|
||||
Tref 300; //kappa0*pow(T/Tref_, n0))
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.0;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
C0 611.0; // Cp = C0*(T/Tref)^n0
|
||||
Tref 300;
|
||||
n0 1.31;
|
||||
}
|
||||
|
||||
density
|
||||
{
|
||||
rho 11.5;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,112 @@
|
||||
/*--------------------------------*- 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;
|
||||
object thermophysicalProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType heSolidThermo<pureSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
//thermoType heSolidThermo<multiComponentSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
|
||||
mixture
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 12;
|
||||
}
|
||||
transport
|
||||
{
|
||||
kappa 80;
|
||||
//kappa (80 80 80);
|
||||
}
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.0;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 450;
|
||||
}
|
||||
density
|
||||
{
|
||||
rho 8000;
|
||||
}
|
||||
}
|
||||
|
||||
solidComponents
|
||||
(
|
||||
pmma char
|
||||
);
|
||||
|
||||
pmmaCoeffs
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 100;
|
||||
}
|
||||
transport
|
||||
{
|
||||
kappa 0.152;
|
||||
}
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.1;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 1462;
|
||||
}
|
||||
density
|
||||
{
|
||||
rho 1114.0;
|
||||
}
|
||||
}
|
||||
|
||||
charCoeffs
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 50;
|
||||
}
|
||||
transport
|
||||
{
|
||||
kappa 0.4;
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.0;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 611.0;
|
||||
}
|
||||
|
||||
density
|
||||
{
|
||||
rho 11.5;
|
||||
}
|
||||
}
|
||||
// ************************************************************************* //
|
||||
@ -1 +0,0 @@
|
||||
../heater/solidThermophysicalProperties
|
||||
@ -0,0 +1 @@
|
||||
../heater/thermophysicalProperties
|
||||
@ -1 +0,0 @@
|
||||
../heater/solidThermophysicalProperties
|
||||
@ -0,0 +1 @@
|
||||
../heater/thermophysicalProperties
|
||||
@ -32,7 +32,7 @@ divSchemes
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(kappa,T) Gauss linear limited 0.333;
|
||||
laplacian(alpha,h) Gauss linear limited 0.333;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
solvers
|
||||
{
|
||||
T
|
||||
h
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
@ -24,9 +24,9 @@ solvers
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
TFinal
|
||||
hFinal
|
||||
{
|
||||
$T;
|
||||
$h;
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
@ -32,7 +32,7 @@ divSchemes
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(kappa,T) Gauss linear limited 0.333;
|
||||
laplacian(alpha,h) Gauss linear limited 0.333;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
solvers
|
||||
{
|
||||
T
|
||||
h
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
@ -24,9 +24,9 @@ solvers
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
TFinal
|
||||
hFinal
|
||||
{
|
||||
$T;
|
||||
$h;
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
@ -32,7 +32,7 @@ divSchemes
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(kappa,T) Gauss linear limited 0.333;
|
||||
laplacian(alpha,h) Gauss linear limited 0.333;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
solvers
|
||||
{
|
||||
T
|
||||
h
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
@ -24,9 +24,9 @@ solvers
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
TFinal
|
||||
hFinal
|
||||
{
|
||||
$T;
|
||||
$h;
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@ runApplication splitMeshRegions -cellZones -overwrite
|
||||
# remove fluid fields from solid regions (important for post-processing)
|
||||
for i in heater leftSolid rightSolid
|
||||
do
|
||||
rm -f 0*/$i/{mut,alphat,epsilon,k,p,U,p_rgh}
|
||||
rm -f 0*/$i/{mut,alphat,epsilon,k,U,p_rgh}
|
||||
done
|
||||
|
||||
## remove solid fields from fluid regions (important for post-processing)
|
||||
|
||||
@ -1,155 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object solidThermophysicalProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType constSolidThermo;
|
||||
//thermoType isotropicKSolidThermo;
|
||||
//thermoType directionalKSolidThermo;
|
||||
//thermoType solidMixtureThermo<multiComponentSolidMixture<exponentialSolidTransport<constSolidRad<exponentialSolidThermo<constRho>>>>>;
|
||||
|
||||
|
||||
constSolidThermoCoeffs
|
||||
{
|
||||
//- thermo properties
|
||||
rho rho [1 -3 0 0 0 0 0] 8000;
|
||||
Cp Cp [0 2 -2 -1 0 0 0] 450;
|
||||
kappa kapp [1 1 -3 -1 0 0 0] 80;
|
||||
|
||||
//- radiation properties
|
||||
kappaRad kappaRad [0 -1 0 0 0 0 0] 0;
|
||||
sigmaS sigmaS [0 -1 0 0 0 0 0] 0;
|
||||
emissivity emissivity [0 0 0 0 0 0 0] 1;
|
||||
|
||||
//- chemical properties
|
||||
Hf Hf [0 2 -2 0 0 0 0] 1;
|
||||
}
|
||||
|
||||
|
||||
isotropicKSolidThermoCoeffs
|
||||
{
|
||||
//- thermo properties
|
||||
TValues (100 1000);
|
||||
rhoValues (1000 1700);
|
||||
cpValues (1700 1700);
|
||||
kappaValues (80 40);
|
||||
|
||||
//- radiation properties
|
||||
emissivityValues (1 1);
|
||||
kappaRadValues (0 0);
|
||||
sigmaSValues (0 0);
|
||||
|
||||
//- chemical properties
|
||||
HfValues (1 1);
|
||||
}
|
||||
|
||||
|
||||
directionalKSolidThermoCoeffs
|
||||
{
|
||||
//- does interpolation and directional K in coordinate system.
|
||||
// Specify multiple values, one for each temperature. Properties are
|
||||
// interpolated according to the local temperature.
|
||||
|
||||
//- thermo properties
|
||||
TValues (100 1000);
|
||||
rhoValues (1700 1700);
|
||||
cpValues (1700 1700);
|
||||
kappaValues ((10 10 10) (40 40 40));
|
||||
|
||||
coordinateSystem
|
||||
{
|
||||
origin (-0.000062 0.000019 0.000039);
|
||||
coordinateRotation
|
||||
{
|
||||
type axes;
|
||||
e1 (1 0 0);
|
||||
e3 (-3.1807824e-6 -0.99813473 0.0610505);
|
||||
}
|
||||
}
|
||||
|
||||
//- chemical properties
|
||||
HfValues (1 1);
|
||||
|
||||
//- radiation properties
|
||||
emissivityValues (1 1);
|
||||
kappaRadValues (1 1);
|
||||
sigmaSValues (1 1);
|
||||
}
|
||||
|
||||
solidComponents
|
||||
(
|
||||
pmma char
|
||||
);
|
||||
|
||||
pmmaCoeffs
|
||||
{
|
||||
transport
|
||||
{
|
||||
kappa0 0.152;
|
||||
n0 1.3;
|
||||
Tref 300; //K0*pow(T/Tref_, n0))
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.1;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
C0 1462; // Cp = C0*(T/Tref)^n0
|
||||
Tref 300;
|
||||
n0 1.31;
|
||||
}
|
||||
|
||||
density
|
||||
{
|
||||
rho 1114.0;
|
||||
}
|
||||
}
|
||||
|
||||
charCoeffs
|
||||
{
|
||||
transport
|
||||
{
|
||||
kappa0 0.4;
|
||||
n0 1.3;
|
||||
Tref 300; //K0*pow(T/Tref_, n0))
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.0;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
C0 611.0; // Cp = C0*(T/Tref)^n0
|
||||
Tref 300;
|
||||
n0 1.31;
|
||||
}
|
||||
|
||||
density
|
||||
{
|
||||
rho 11.5;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,112 @@
|
||||
/*--------------------------------*- 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;
|
||||
object thermophysicalProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType heSolidThermo<pureSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
//thermoType heSolidThermo<multiComponentSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
|
||||
mixture
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 12;
|
||||
}
|
||||
transport
|
||||
{
|
||||
kappa 80;
|
||||
//kappa (80 80 80);
|
||||
}
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.0;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 450;
|
||||
}
|
||||
density
|
||||
{
|
||||
rho 8000;
|
||||
}
|
||||
}
|
||||
|
||||
solidComponents
|
||||
(
|
||||
pmma char
|
||||
);
|
||||
|
||||
pmmaCoeffs
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 100;
|
||||
}
|
||||
transport
|
||||
{
|
||||
kappa 0.152;
|
||||
}
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.1;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 1462;
|
||||
}
|
||||
density
|
||||
{
|
||||
rho 1114.0;
|
||||
}
|
||||
}
|
||||
|
||||
charCoeffs
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 50;
|
||||
}
|
||||
transport
|
||||
{
|
||||
kappa 0.4;
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.0;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 611.0;
|
||||
}
|
||||
|
||||
density
|
||||
{
|
||||
rho 11.5;
|
||||
}
|
||||
}
|
||||
// ************************************************************************* //
|
||||
@ -1 +0,0 @@
|
||||
../heater/solidThermophysicalProperties
|
||||
@ -0,0 +1 @@
|
||||
../heater/thermophysicalProperties
|
||||
@ -1 +0,0 @@
|
||||
../heater/solidThermophysicalProperties
|
||||
@ -0,0 +1 @@
|
||||
../heater/thermophysicalProperties
|
||||
@ -32,7 +32,7 @@ divSchemes
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(kappa,T) Gauss linear limited 0.333;
|
||||
laplacian(alpha,h) Gauss linear limited 0.333;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
|
||||
@ -16,16 +16,16 @@ FoamFile
|
||||
|
||||
solvers
|
||||
{
|
||||
T
|
||||
h
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
tolerance 1e-06;
|
||||
relTol 0.1;
|
||||
}
|
||||
TFinal
|
||||
hFinal
|
||||
{
|
||||
$T;
|
||||
$h;
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
@ -1,53 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object fvSchemes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default Euler;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
{
|
||||
default Gauss linear;
|
||||
}
|
||||
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(kappa,T) Gauss linear limited 0.333;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
{
|
||||
default linear;
|
||||
}
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default limited 0.333;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
{
|
||||
default no;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1 @@
|
||||
../heater/fvSchemes
|
||||
@ -1,39 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solvers
|
||||
{
|
||||
T
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
tolerance 1e-06;
|
||||
relTol 0.1;
|
||||
}
|
||||
TFinal
|
||||
{
|
||||
$T;
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
}
|
||||
}
|
||||
|
||||
PIMPLE
|
||||
{
|
||||
nNonOrthogonalCorrectors 1;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1 @@
|
||||
../heater/fvSolution
|
||||
@ -1,53 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object fvSchemes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default Euler;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
{
|
||||
default Gauss linear;
|
||||
}
|
||||
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(kappa,T) Gauss linear limited 0.333;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
{
|
||||
default linear;
|
||||
}
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default limited 0.333;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
{
|
||||
default no;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1 @@
|
||||
../heater/fvSchemes
|
||||
@ -1,39 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solvers
|
||||
{
|
||||
T
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
tolerance 1e-06;
|
||||
relTol 0.1;
|
||||
}
|
||||
TFinal
|
||||
{
|
||||
$T;
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
}
|
||||
}
|
||||
|
||||
PIMPLE
|
||||
{
|
||||
nNonOrthogonalCorrectors 1;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1 @@
|
||||
../heater/fvSolution
|
||||
@ -16,7 +16,7 @@ runApplication splitMeshRegions -cellZones -overwrite
|
||||
# remove fluid fields from solid regions (important for post-processing)
|
||||
for i in heater leftSolid rightSolid
|
||||
do
|
||||
rm -f 0*/$i/{mut,alphat,epsilon,k,p,U,p_rgh}
|
||||
rm -f 0*/$i/{mut,alphat,epsilon,k,U,p_rgh}
|
||||
done
|
||||
|
||||
# No solid fields to remove from fluid regions (important for post-processing)
|
||||
|
||||
@ -1,149 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object solidThermophysicalProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType constSolidThermo;
|
||||
//thermoType isotropicKSolidThermo;
|
||||
//thermoType directionalKSolidThermo;
|
||||
//thermoType solidMixtureThermo<multiComponentSolidMixture<exponentialSolidTransport<constSolidRad<exponentialSolidThermo<constRho>>>>>;
|
||||
|
||||
|
||||
constSolidThermoCoeffs
|
||||
{
|
||||
//- thermo properties
|
||||
rho rho [1 -3 0 0 0 0 0] 8000;
|
||||
Cp Cp [0 2 -2 -1 0 0 0] 450;
|
||||
kappa kappa [1 1 -3 -1 0 0 0] 80;
|
||||
|
||||
//- radiation properties
|
||||
kappaRad kappaRad [0 -1 0 0 0 0 0] 0;
|
||||
sigmaS sigmaS [0 -1 0 0 0 0 0] 0;
|
||||
emissivity emissivity [0 0 0 0 0 0 0] 1;
|
||||
|
||||
//- chemical properties
|
||||
Hf Hf [0 2 -2 0 0 0 0] 1;
|
||||
}
|
||||
|
||||
|
||||
isotropicKSolidThermoCoeffs
|
||||
{
|
||||
//- thermo properties
|
||||
TValues (100 1000);
|
||||
rhoValues (1000 1700);
|
||||
cpValues (1700 1700);
|
||||
kappaValues (80 40);
|
||||
|
||||
//- radiation properties
|
||||
emissivityValues (1 1);
|
||||
kappaRadValues (0 0);
|
||||
sigmaSValues (0 0);
|
||||
|
||||
//- chemical properties
|
||||
HfValues (1 1);
|
||||
}
|
||||
|
||||
|
||||
directionalKSolidThermoCoeffs
|
||||
{
|
||||
//- does interpolation and directional K in coordinate system.
|
||||
// Specify multiple values, one for each temperature. Properties are
|
||||
// interpolated according to the local temperature.
|
||||
|
||||
//- thermo properties
|
||||
TValues (100 1000);
|
||||
rhoValues (1700 1700);
|
||||
cpValues (1700 1700);
|
||||
kappaValues ((10 10 10) (40 40 40));
|
||||
|
||||
coordinateSystem
|
||||
{
|
||||
origin (-0.000062 0.000019 0.000039);
|
||||
coordinateRotation
|
||||
{
|
||||
type axes;
|
||||
e1 (1 0 0);
|
||||
e3 (-3.1807824e-6 -0.99813473 0.0610505);
|
||||
}
|
||||
}
|
||||
|
||||
//- chemical properties
|
||||
HfValues (1 1);
|
||||
|
||||
//- radiation properties
|
||||
emissivityValues (1 1);
|
||||
kappaRadValues (1 1);
|
||||
sigmaSValues (1 1);
|
||||
}
|
||||
|
||||
solidComponents
|
||||
(
|
||||
pmma char
|
||||
);
|
||||
|
||||
pmmaCoeffs
|
||||
{
|
||||
transport
|
||||
{
|
||||
kappa0 0.152;
|
||||
n0 1.3;
|
||||
Tref 300; //K0*pow(T/Tref_, n0))
|
||||
}
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.1;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
C0 1462; // Cp = C0*(T/Tref)^n0
|
||||
Tref 300;
|
||||
n0 1.31;
|
||||
}
|
||||
density
|
||||
{
|
||||
rho 1114.0;
|
||||
}
|
||||
}
|
||||
|
||||
charCoeffs
|
||||
{
|
||||
transport
|
||||
{
|
||||
kappa0 0.4;
|
||||
n0 1.3;
|
||||
Tref 300; //K0*pow(T/Tref_, n0))
|
||||
}
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.0;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
C0 611.0; // Cp = C0*(T/Tref)^n0
|
||||
Tref 300;
|
||||
n0 1.31;
|
||||
}
|
||||
density
|
||||
{
|
||||
rho 11.5;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,112 @@
|
||||
/*--------------------------------*- 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;
|
||||
object thermophysicalProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType heSolidThermo<pureSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
//thermoType heSolidThermo<multiComponentSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
|
||||
mixture
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 12;
|
||||
}
|
||||
transport
|
||||
{
|
||||
kappa 80;
|
||||
//kappa (80 80 80);
|
||||
}
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.0;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 450;
|
||||
}
|
||||
density
|
||||
{
|
||||
rho 8000;
|
||||
}
|
||||
}
|
||||
|
||||
solidComponents
|
||||
(
|
||||
pmma char
|
||||
);
|
||||
|
||||
pmmaCoeffs
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 100;
|
||||
}
|
||||
transport
|
||||
{
|
||||
kappa 0.152;
|
||||
}
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.1;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 1462;
|
||||
}
|
||||
density
|
||||
{
|
||||
rho 1114.0;
|
||||
}
|
||||
}
|
||||
|
||||
charCoeffs
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 50;
|
||||
}
|
||||
transport
|
||||
{
|
||||
kappa 0.4;
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.0;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 611.0;
|
||||
}
|
||||
|
||||
density
|
||||
{
|
||||
rho 11.5;
|
||||
}
|
||||
}
|
||||
// ************************************************************************* //
|
||||
@ -1 +0,0 @@
|
||||
../heater/solidThermophysicalProperties
|
||||
@ -0,0 +1 @@
|
||||
../heater/thermophysicalProperties
|
||||
@ -1 +0,0 @@
|
||||
../heater/solidThermophysicalProperties
|
||||
@ -0,0 +1 @@
|
||||
../heater/thermophysicalProperties
|
||||
@ -32,7 +32,7 @@ divSchemes
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(kappa,T) Gauss linear limited 0.333;
|
||||
laplacian(alpha,h) Gauss linear limited 0.333;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
solvers
|
||||
{
|
||||
T
|
||||
h
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
@ -24,9 +24,9 @@ solvers
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
TFinal
|
||||
hFinal
|
||||
{
|
||||
$T;
|
||||
$h;
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
@ -1,53 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object fvSchemes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default Euler;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
{
|
||||
default Gauss linear;
|
||||
}
|
||||
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(kappa,T) Gauss linear limited 0.333;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
{
|
||||
default linear;
|
||||
}
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default limited 0.333;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
{
|
||||
default no;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1 @@
|
||||
../heater/fvSchemes
|
||||
@ -1,40 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solvers
|
||||
{
|
||||
T
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
tolerance 1e-06;
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
TFinal
|
||||
{
|
||||
$T;
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
}
|
||||
}
|
||||
|
||||
PIMPLE
|
||||
{
|
||||
nNonOrthogonalCorrectors 1;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1 @@
|
||||
../heater/fvSolution
|
||||
@ -1,53 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object fvSchemes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default Euler;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
{
|
||||
default Gauss linear;
|
||||
}
|
||||
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(kappa,T) Gauss linear limited 0.333;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
{
|
||||
default linear;
|
||||
}
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default limited 0.333;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
{
|
||||
default no;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1 @@
|
||||
../heater/fvSchemes
|
||||
@ -1,40 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solvers
|
||||
{
|
||||
T
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
tolerance 1e-06;
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
TFinal
|
||||
{
|
||||
$T;
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
}
|
||||
}
|
||||
|
||||
PIMPLE
|
||||
{
|
||||
nNonOrthogonalCorrectors 1;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1 @@
|
||||
../heater/fvSolution
|
||||
@ -12,7 +12,7 @@ runApplication splitMeshRegions -cellZones -overwrite
|
||||
# remove fluid fields from solid regions (important for post-processing)
|
||||
for i in heater leftSolid rightSolid
|
||||
do
|
||||
rm -f 0*/$i/{mut,alphat,epsilon,k,p,U,p_rgh}
|
||||
rm -f 0*/$i/{mut,alphat,epsilon,k,U,p_rgh}
|
||||
done
|
||||
|
||||
## remove solid fields from fluid regions (important for post-processing)
|
||||
|
||||
@ -1,155 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object solidThermophysicalProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType constSolidThermo;
|
||||
//thermoType isotropicKSolidThermo;
|
||||
//thermoType directionalKSolidThermo;
|
||||
//thermoType solidMixtureThermo<multiComponentSolidMixture<exponentialSolidTransport<constSolidRad<exponentialSolidThermo<constRho>>>>>;
|
||||
|
||||
|
||||
constSolidThermoCoeffs
|
||||
{
|
||||
//- thermo properties
|
||||
rho rho [1 -3 0 0 0 0 0] 8000;
|
||||
Cp Cp [0 2 -2 -1 0 0 0] 450;
|
||||
kappa kappa [1 1 -3 -1 0 0 0] 80;
|
||||
|
||||
//- radiation properties
|
||||
kappaRad kappaRad [0 -1 0 0 0 0 0] 0;
|
||||
sigmaS sigmaS [0 -1 0 0 0 0 0] 0;
|
||||
emissivity emissivity [0 0 0 0 0 0 0] 1;
|
||||
|
||||
//- chemical properties
|
||||
Hf Hf [0 2 -2 0 0 0 0] 1;
|
||||
}
|
||||
|
||||
|
||||
isotropicKSolidThermoCoeffs
|
||||
{
|
||||
//- thermo properties
|
||||
TValues (100 1000);
|
||||
rhoValues (1000 1700);
|
||||
cpValues (1700 1700);
|
||||
kappaValues (80 40);
|
||||
|
||||
//- radiation properties
|
||||
emissivityValues (1 1);
|
||||
kappaRadValues (0 0);
|
||||
sigmaSValues (0 0);
|
||||
|
||||
//- chemical properties
|
||||
HfValues (1 1);
|
||||
}
|
||||
|
||||
|
||||
directionalKSolidThermoCoeffs
|
||||
{
|
||||
//- does interpolation and directional K in coordinate system.
|
||||
// Specify multiple values, one for each temperature. Properties are
|
||||
// interpolated according to the local temperature.
|
||||
|
||||
//- thermo properties
|
||||
TValues (100 1000);
|
||||
rhoValues (1700 1700);
|
||||
cpValues (1700 1700);
|
||||
kappaValues ((10 10 10) (40 40 40));
|
||||
|
||||
coordinateSystem
|
||||
{
|
||||
origin (-0.000062 0.000019 0.000039);
|
||||
coordinateRotation
|
||||
{
|
||||
type axes;
|
||||
e1 (1 0 0);
|
||||
e3 (-3.1807824e-6 -0.99813473 0.0610505);
|
||||
}
|
||||
}
|
||||
|
||||
//- chemical properties
|
||||
HfValues (1 1);
|
||||
|
||||
//- radiation properties
|
||||
emissivityValues (1 1);
|
||||
kappaRadValues (1 1);
|
||||
sigmaSValues (1 1);
|
||||
}
|
||||
|
||||
solidComponents
|
||||
(
|
||||
pmma char
|
||||
);
|
||||
|
||||
pmmaCoeffs
|
||||
{
|
||||
transport
|
||||
{
|
||||
kappa0 0.152;
|
||||
n0 1.3;
|
||||
Tref 300; //K0*pow(T/Tref_, n0))
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.1;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
C0 1462; // Cp = C0*(T/Tref)^n0
|
||||
Tref 300;
|
||||
n0 1.31;
|
||||
}
|
||||
|
||||
density
|
||||
{
|
||||
rho 1114.0;
|
||||
}
|
||||
}
|
||||
|
||||
charCoeffs
|
||||
{
|
||||
transport
|
||||
{
|
||||
kappa0 0.4;
|
||||
n0 1.3;
|
||||
Tref 300; //K0*pow(T/Tref_, n0))
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.0;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
C0 611.0; // Cp = C0*(T/Tref)^n0
|
||||
Tref 300;
|
||||
n0 1.31;
|
||||
}
|
||||
|
||||
density
|
||||
{
|
||||
rho 11.5;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,112 @@
|
||||
/*--------------------------------*- 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;
|
||||
object thermophysicalProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType heSolidThermo<pureSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
//thermoType heSolidThermo<multiComponentSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
|
||||
mixture
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 12;
|
||||
}
|
||||
transport
|
||||
{
|
||||
kappa 80;
|
||||
//kappa (80 80 80);
|
||||
}
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.0;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 450;
|
||||
}
|
||||
density
|
||||
{
|
||||
rho 8000;
|
||||
}
|
||||
}
|
||||
|
||||
solidComponents
|
||||
(
|
||||
pmma char
|
||||
);
|
||||
|
||||
pmmaCoeffs
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 100;
|
||||
}
|
||||
transport
|
||||
{
|
||||
kappa 0.152;
|
||||
}
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.1;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 1462;
|
||||
}
|
||||
density
|
||||
{
|
||||
rho 1114.0;
|
||||
}
|
||||
}
|
||||
|
||||
charCoeffs
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 50;
|
||||
}
|
||||
transport
|
||||
{
|
||||
kappa 0.4;
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.0;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 611.0;
|
||||
}
|
||||
|
||||
density
|
||||
{
|
||||
rho 11.5;
|
||||
}
|
||||
}
|
||||
// ************************************************************************* //
|
||||
@ -1 +0,0 @@
|
||||
../heater/solidThermophysicalProperties
|
||||
@ -0,0 +1 @@
|
||||
../heater/thermophysicalProperties
|
||||
@ -1 +0,0 @@
|
||||
../heater/solidThermophysicalProperties
|
||||
@ -0,0 +1 @@
|
||||
../heater/thermophysicalProperties
|
||||
@ -32,7 +32,7 @@ divSchemes
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(kappa,T) Gauss linear uncorrected;
|
||||
laplacian(alpha,h) Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
solvers
|
||||
{
|
||||
T
|
||||
h
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
@ -37,7 +37,7 @@ relaxationFactors
|
||||
}
|
||||
equations
|
||||
{
|
||||
T 0.7;
|
||||
h 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1,53 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object fvSchemes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default steadyState;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
{
|
||||
default Gauss linear;
|
||||
}
|
||||
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(kappa,T) Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
{
|
||||
default linear;
|
||||
}
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default uncorrected;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
{
|
||||
default no;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1 @@
|
||||
../heater/fvSchemes
|
||||
@ -1,44 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solvers
|
||||
{
|
||||
T
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
tolerance 1e-06;
|
||||
relTol 0.1;
|
||||
}
|
||||
}
|
||||
|
||||
SIMPLE
|
||||
{
|
||||
nNonOrthogonalCorrectors 0;
|
||||
}
|
||||
|
||||
relaxationFactors
|
||||
{
|
||||
fields
|
||||
{
|
||||
}
|
||||
equations
|
||||
{
|
||||
T 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1 @@
|
||||
../heater/fvSolution
|
||||
@ -1,53 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object fvSchemes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default steadyState;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
{
|
||||
default Gauss linear;
|
||||
}
|
||||
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(kappa,T) Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
{
|
||||
default linear;
|
||||
}
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default uncorrected;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
{
|
||||
default no;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1 @@
|
||||
../heater/fvSchemes
|
||||
@ -1,44 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solvers
|
||||
{
|
||||
T
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
tolerance 1e-06;
|
||||
relTol 0.1;
|
||||
}
|
||||
}
|
||||
|
||||
SIMPLE
|
||||
{
|
||||
nNonOrthogonalCorrectors 0;
|
||||
}
|
||||
|
||||
relaxationFactors
|
||||
{
|
||||
fields
|
||||
{
|
||||
}
|
||||
equations
|
||||
{
|
||||
T 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1 @@
|
||||
../heater/fvSolution
|
||||
@ -12,7 +12,7 @@ runApplication splitMeshRegions -cellZones -overwrite
|
||||
# remove fluid fields from solid regions (important for post-processing)
|
||||
for i in heater leftSolid rightSolid
|
||||
do
|
||||
rm -f 0*/$i/{rho,mut,alphat,epsilon,k,p,U,p_rgh,Qr,G,IDefault}
|
||||
rm -f 0*/$i/{rho,mut,alphat,epsilon,k,U,p_rgh,Qr,G,IDefault}
|
||||
done
|
||||
|
||||
## remove solid fields from fluid regions (important for post-processing)
|
||||
|
||||
@ -1,155 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object solidThermophysicalProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType constSolidThermo;
|
||||
//thermoType isotropicKSolidThermo;
|
||||
//thermoType directionalKSolidThermo;
|
||||
//thermoType solidMixtureThermo<multiComponentSolidMixture<exponentialSolidTransport<constSolidRad<exponentialSolidThermo<constRho>>>>>;
|
||||
|
||||
|
||||
constSolidThermoCoeffs
|
||||
{
|
||||
//- thermo properties
|
||||
rho rho [1 -3 0 0 0 0 0] 8000;
|
||||
Cp Cp [0 2 -2 -1 0 0 0] 450;
|
||||
kappa kappa [1 1 -3 -1 0 0 0] 80;
|
||||
|
||||
//- radiation properties
|
||||
kappaRad kappaRad [0 -1 0 0 0 0 0] 0;
|
||||
sigmaS sigmaS [0 -1 0 0 0 0 0] 0;
|
||||
emissivity emissivity [0 0 0 0 0 0 0] 0.5;
|
||||
|
||||
//- chemical properties
|
||||
Hf Hf [0 2 -2 0 0 0 0] 0;
|
||||
}
|
||||
|
||||
|
||||
isotropicKSolidThermoCoeffs
|
||||
{
|
||||
//- thermo properties
|
||||
TValues (100 1000);
|
||||
rhoValues (1000 1700);
|
||||
cpValues (1700 1700);
|
||||
kappaValues (80 40);
|
||||
|
||||
//- radiation properties
|
||||
emissivityValues (1 1);
|
||||
kappaRadValues (0 0);
|
||||
sigmaSValues (0 0);
|
||||
|
||||
//- chemical properties
|
||||
HfValues (1 1);
|
||||
}
|
||||
|
||||
|
||||
directionalKSolidThermoCoeffs
|
||||
{
|
||||
//- does interpolation and directional K in coordinate system.
|
||||
// Specify multiple values, one for each temperature. Properties are
|
||||
// interpolated according to the local temperature.
|
||||
|
||||
//- thermo properties
|
||||
TValues (100 1000);
|
||||
rhoValues (1700 1700);
|
||||
cpValues (1700 1700);
|
||||
kappaValues ((10 10 10) (40 40 40));
|
||||
|
||||
coordinateSystem
|
||||
{
|
||||
origin (-0.000062 0.000019 0.000039);
|
||||
coordinateRotation
|
||||
{
|
||||
type axes;
|
||||
e1 (1 0 0);
|
||||
e3 (-3.1807824e-6 -0.99813473 0.0610505);
|
||||
}
|
||||
}
|
||||
|
||||
//- chemical properties
|
||||
HfValues (1 1);
|
||||
|
||||
//- radiation properties
|
||||
emissivityValues (1 1);
|
||||
kappaRadValues (1 1);
|
||||
sigmaSValues (1 1);
|
||||
}
|
||||
|
||||
solidComponents
|
||||
(
|
||||
pmma char
|
||||
);
|
||||
|
||||
pmmaCoeffs
|
||||
{
|
||||
transport
|
||||
{
|
||||
kappa0 0.152;
|
||||
n0 1.3;
|
||||
Tref 300; //kappa0*pow(T/Tref_, n0))
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.1;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
C0 1462; // Cp = C0*(T/Tref)^n0
|
||||
Tref 300;
|
||||
n0 1.31;
|
||||
}
|
||||
|
||||
density
|
||||
{
|
||||
rho 1114.0;
|
||||
}
|
||||
}
|
||||
|
||||
charCoeffs
|
||||
{
|
||||
transport
|
||||
{
|
||||
kappa0 0.4;
|
||||
n0 1.3;
|
||||
Tref 300; //kappa0*pow(T/Tref_, n0))
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.0;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
C0 611.0; // Cp = C0*(T/Tref)^n0
|
||||
Tref 300;
|
||||
n0 1.31;
|
||||
}
|
||||
|
||||
density
|
||||
{
|
||||
rho 11.5;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,112 @@
|
||||
/*--------------------------------*- 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;
|
||||
object thermophysicalProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType heSolidThermo<pureSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
//thermoType heSolidThermo<multiComponentSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
|
||||
mixture
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 12;
|
||||
}
|
||||
transport
|
||||
{
|
||||
kappa 80;
|
||||
//kappa (80 80 80);
|
||||
}
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.5;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 450;
|
||||
}
|
||||
density
|
||||
{
|
||||
rho 8000;
|
||||
}
|
||||
}
|
||||
|
||||
solidComponents
|
||||
(
|
||||
pmma char
|
||||
);
|
||||
|
||||
pmmaCoeffs
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 100;
|
||||
}
|
||||
transport
|
||||
{
|
||||
kappa 0.152;
|
||||
}
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.1;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 1462;
|
||||
}
|
||||
density
|
||||
{
|
||||
rho 1114.0;
|
||||
}
|
||||
}
|
||||
|
||||
charCoeffs
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 50;
|
||||
}
|
||||
transport
|
||||
{
|
||||
kappa 0.4;
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.0;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 611.0;
|
||||
}
|
||||
|
||||
density
|
||||
{
|
||||
rho 11.5;
|
||||
}
|
||||
}
|
||||
// ************************************************************************* //
|
||||
@ -1 +0,0 @@
|
||||
../heater/solidThermophysicalProperties
|
||||
@ -0,0 +1 @@
|
||||
../heater/thermophysicalProperties
|
||||
@ -1 +0,0 @@
|
||||
../heater/solidThermophysicalProperties
|
||||
@ -0,0 +1 @@
|
||||
../heater/thermophysicalProperties
|
||||
@ -32,7 +32,7 @@ divSchemes
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(kappa,T) Gauss linear uncorrected;
|
||||
laplacian(alpha,h) Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
solvers
|
||||
{
|
||||
T
|
||||
h
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
@ -37,7 +37,7 @@ relaxationFactors
|
||||
}
|
||||
equations
|
||||
{
|
||||
T 0.7;
|
||||
h 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1,53 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object fvSchemes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default steadyState;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
{
|
||||
default Gauss linear;
|
||||
}
|
||||
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(kappa,T) Gauss linear limited 0.333;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
{
|
||||
default linear;
|
||||
}
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default limited 0.333;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
{
|
||||
default no;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1 @@
|
||||
../heater/fvSchemes
|
||||
@ -1,44 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solvers
|
||||
{
|
||||
T
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
tolerance 1e-06;
|
||||
relTol 0.1;
|
||||
}
|
||||
}
|
||||
|
||||
SIMPLE
|
||||
{
|
||||
nNonOrthogonalCorrectors 0;
|
||||
}
|
||||
|
||||
relaxationFactors
|
||||
{
|
||||
fields
|
||||
{
|
||||
}
|
||||
equations
|
||||
{
|
||||
T 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1 @@
|
||||
../heater/fvSolution
|
||||
@ -1,53 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object fvSchemes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default steadyState;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
{
|
||||
default Gauss linear;
|
||||
}
|
||||
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(kappa,T) Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
{
|
||||
default linear;
|
||||
}
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default uncorrected;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
{
|
||||
default no;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1 @@
|
||||
../heater/fvSchemes
|
||||
@ -1,44 +0,0 @@
|
||||
/*--------------------------------*- 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;
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solvers
|
||||
{
|
||||
T
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
tolerance 1e-06;
|
||||
relTol 0.1;
|
||||
}
|
||||
}
|
||||
|
||||
SIMPLE
|
||||
{
|
||||
nNonOrthogonalCorrectors 0;
|
||||
}
|
||||
|
||||
relaxationFactors
|
||||
{
|
||||
fields
|
||||
{
|
||||
}
|
||||
equations
|
||||
{
|
||||
T 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1 @@
|
||||
../heater/fvSolution
|
||||
Reference in New Issue
Block a user