mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: createPatchDict: create with correct type
This commit is contained in:
@ -52,29 +52,64 @@ 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;
|
||||||
specie
|
kappa fluidThermo;
|
||||||
|
kappaName none;
|
||||||
|
|
||||||
|
// Thermo baffle model
|
||||||
|
thermoBaffleModel thermoBaffle;
|
||||||
|
regionName baffleRegion;
|
||||||
|
infoOutput no;
|
||||||
|
active yes;
|
||||||
|
thermoBaffleCoeffs
|
||||||
{
|
{
|
||||||
nMoles 1;
|
|
||||||
molWeight 20;
|
|
||||||
}
|
}
|
||||||
transport
|
|
||||||
|
// Solid thermo
|
||||||
|
thermoType
|
||||||
{
|
{
|
||||||
kappa 1;
|
type heSolidThermo;
|
||||||
|
mixture pureMixture;
|
||||||
|
transport constIso;
|
||||||
|
thermo hConst;
|
||||||
|
equationOfState rhoConst;
|
||||||
|
specie specie;
|
||||||
|
energy sensibleEnthalpy;
|
||||||
}
|
}
|
||||||
thermodynamics
|
|
||||||
|
mixture
|
||||||
{
|
{
|
||||||
Hf 0;
|
specie
|
||||||
Cp 10;
|
{
|
||||||
|
nMoles 1;
|
||||||
|
molWeight 20;
|
||||||
|
}
|
||||||
|
transport
|
||||||
|
{
|
||||||
|
kappa 0.01;
|
||||||
|
}
|
||||||
|
thermodynamics
|
||||||
|
{
|
||||||
|
Hf 0;
|
||||||
|
Cp 15;
|
||||||
|
}
|
||||||
|
equationOfState
|
||||||
|
{
|
||||||
|
rho 80;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
equationOfState
|
|
||||||
|
radiation
|
||||||
{
|
{
|
||||||
rho 10;
|
radiationModel opaqueSolid;
|
||||||
|
absorptionEmissionModel none;
|
||||||
|
scatterModel none;
|
||||||
}
|
}
|
||||||
value uniform 300;
|
|
||||||
|
value uniform 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
alphat
|
alphat
|
||||||
@ -106,10 +141,6 @@ baffles
|
|||||||
{
|
{
|
||||||
type fixedFluxPressure;
|
type fixedFluxPressure;
|
||||||
}
|
}
|
||||||
T
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
U
|
U
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
|
|||||||
Reference in New Issue
Block a user