BUG: Correcting createBafflesDict

This commit is contained in:
sergio
2013-01-21 12:59:51 +00:00
parent 9692a52e3a
commit 01c4970dd6

View File

@ -23,7 +23,7 @@ internalFacesOnly true;
// Baffles to create. // Baffles to create.
baffles baffles
{ {
baffleFaces baffleFacesThermoBaffle1D
{ {
//- Use predefined faceZone to select faces and orientation. //- Use predefined faceZone to select faces and orientation.
type faceZone; type faceZone;
@ -52,61 +52,27 @@ baffles
{ {
T T
{ {
type compressible::thermoBaffle; type compressible::thermoBaffle1D<hConstSolidThermoPhysics>;
baffleActivated yes;
// Coupled BC. thickness uniform 0.005; // thickness [m]
neighbourFieldName T; Qs uniform 100; // heat flux [W/m2]
kappa fluidThermo; specie
kappaName none;
// Thermo baffle model
thermoBaffleModel thermoBaffle;
regionName baffleRegion;
infoOutput no;
active yes;
thermoBaffleCoeffs
{ {
nMoles 1;
molWeight 20;
} }
transport
// Solid thermo
thermoType
{ {
type heSolidThermo; kappa 1;
mixture pureMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;
specie specie;
energy sensibleEnthalpy;
} }
thermodynamics
mixture
{ {
specie Hf 0;
{ Cp 10;
nMoles 1;
molWeight 20;
}
transport
{
kappa 0.01;
}
thermodynamics
{
Hf 0;
Cp 15;
}
equationOfState
{
rho 80;
}
} }
equationOfState
radiation
{ {
radiationModel opaqueSolid; rho 10;
absorptionEmissionModel none;
scatterModel none;
} }
value uniform 300; value uniform 300;
@ -160,7 +126,10 @@ baffles
offsetMode uniform; offsetMode uniform;
offset (0 0 0); offset (0 0 0);
${..master.patchFields} patchFields
{
${...master.patchFields}
}
} }
} }
} }