mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Correcting createBafflesDict
This commit is contained in:
@ -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}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user