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,36 +52,10 @@ 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;
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;
@ -89,24 +63,16 @@ baffles
} }
transport transport
{ {
kappa 0.01; kappa 1;
} }
thermodynamics thermodynamics
{ {
Hf 0; Hf 0;
Cp 15; Cp 10;
} }
equationOfState equationOfState
{ {
rho 80; rho 10;
}
}
radiation
{
radiationModel opaqueSolid;
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}
}
} }
} }
} }