ENH: createPatchDict: create with correct type

This commit is contained in:
mattijs
2013-01-07 12:22:46 +00:00
parent 4d45725322
commit e75dc1f757

View File

@ -52,29 +52,64 @@ baffles
{ {
T T
{ {
type compressible::temperatureThermoBaffle1D<hConstSolidThermoPhysics>; type compressible::thermoBaffle;
baffleActivated yes;
thickness uniform 0.005; // thickness [m] // Coupled BC.
Qs uniform 100; // heat flux [W/m2] neighbourFieldName T;
specie kappa fluidThermo;
kappaName none;
// Thermo baffle model
thermoBaffleModel thermoBaffle;
regionName baffleRegion;
infoOutput no;
active yes;
thermoBaffleCoeffs
{ {
nMoles 1;
molWeight 20;
} }
transport
// Solid thermo
thermoType
{ {
kappa 1; type heSolidThermo;
mixture pureMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;
specie specie;
energy sensibleEnthalpy;
} }
thermodynamics
mixture
{ {
Hf 0; specie
Cp 10; {
nMoles 1;
molWeight 20;
}
transport
{
kappa 0.01;
}
thermodynamics
{
Hf 0;
Cp 15;
}
equationOfState
{
rho 80;
}
} }
equationOfState
radiation
{ {
rho 10; radiationModel opaqueSolid;
absorptionEmissionModel none;
scatterModel none;
} }
value uniform 300;
value uniform 300;
} }
alphat alphat
@ -106,10 +141,6 @@ baffles
{ {
type fixedFluxPressure; type fixedFluxPressure;
} }
T
{
type zeroGradient;
}
U U
{ {
type fixedValue; type fixedValue;