mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
Rationalised "make" macros to reduce code duplication Removed solid phase radiation properties Updated tutorials appropriately
172 lines
4.3 KiB
C++
172 lines
4.3 KiB
C++
/*--------------------------------*- 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 changeDictionaryDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dictionaryReplacement
|
|
{
|
|
alphat
|
|
{
|
|
boundaryField
|
|
{
|
|
"region0_to_.*"
|
|
{
|
|
type alphatWallFunction;
|
|
value uniform 0;
|
|
}
|
|
}
|
|
}
|
|
epsilon
|
|
{
|
|
boundaryField
|
|
{
|
|
"region0_to_.*"
|
|
{
|
|
type compressible::epsilonWallFunction;
|
|
value uniform 0.01;
|
|
}
|
|
}
|
|
}
|
|
k
|
|
{
|
|
boundaryField
|
|
{
|
|
"region0_to_.*"
|
|
{
|
|
type compressible::kqRWallFunction;
|
|
value uniform 0.01;
|
|
}
|
|
|
|
}
|
|
}
|
|
mut
|
|
{
|
|
boundaryField
|
|
{
|
|
"region0_to_.*"
|
|
{
|
|
type mutkWallFunction;
|
|
value uniform 0.0;
|
|
}
|
|
}
|
|
}
|
|
p
|
|
{
|
|
boundaryField
|
|
{
|
|
"region0_to_.*"
|
|
{
|
|
type calculated;
|
|
value $internalField;
|
|
}
|
|
}
|
|
}
|
|
p_rgh
|
|
{
|
|
boundaryField
|
|
{
|
|
"region0_to_.*"
|
|
{
|
|
type fixedFluxPressure;
|
|
value $internalField;
|
|
}
|
|
|
|
}
|
|
}
|
|
T
|
|
{
|
|
boundaryField
|
|
{
|
|
|
|
"region0_to.*"
|
|
{
|
|
type compressible::temperatureThermoBaffle;
|
|
|
|
// Coupled BC.
|
|
neighbourFieldName T;
|
|
kappa fluidThermo;
|
|
kappaName none;
|
|
|
|
|
|
// Thermo baffle model
|
|
thermoBaffleModel thermoBaffle2D;
|
|
regionName baffleRegion;
|
|
infoOutput yes;
|
|
active yes;
|
|
thermoBaffle2DCoeffs
|
|
{
|
|
}
|
|
|
|
|
|
// Solid thermo
|
|
thermoType
|
|
{
|
|
type heSolidThermo;
|
|
mixture pureSolidMixture;
|
|
transport constIso;
|
|
thermo hConst;
|
|
equationOfState rhoConst;
|
|
specie specie;
|
|
energy sensibleEnthalpy;
|
|
}
|
|
|
|
|
|
mixture
|
|
{
|
|
specie
|
|
{
|
|
nMoles 1;
|
|
molWeight 20;
|
|
}
|
|
transport
|
|
{
|
|
kappa 0.01;
|
|
}
|
|
radiation
|
|
{
|
|
sigmaS 0;
|
|
kappaRad 0;
|
|
emissivity 1;
|
|
}
|
|
thermodynamics
|
|
{
|
|
Hf 0;
|
|
Cp 15;
|
|
}
|
|
equationOfState
|
|
{
|
|
rho 80;
|
|
}
|
|
}
|
|
|
|
value uniform 300;
|
|
}
|
|
}
|
|
}
|
|
U
|
|
{
|
|
boundaryField
|
|
{
|
|
"region0_to_.*"
|
|
{
|
|
type fixedValue;
|
|
value uniform (0 0 0);
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|