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