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 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;
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 specie
{ {
nMoles 1; nMoles 1;
@ -63,17 +89,26 @@ baffles
} }
transport transport
{ {
kappa 1; kappa 0.01;
} }
thermodynamics thermodynamics
{ {
Hf 0; Hf 0;
Cp 10; Cp 15;
} }
equationOfState equationOfState
{ {
rho 10; rho 80;
} }
}
radiation
{
radiationModel opaqueSolid;
absorptionEmissionModel none;
scatterModel none;
}
value uniform 300; value uniform 300;
} }
@ -106,10 +141,6 @@ baffles
{ {
type fixedFluxPressure; type fixedFluxPressure;
} }
T
{
type zeroGradient;
}
U U
{ {
type fixedValue; type fixedValue;