93 lines
2.4 KiB
C++
93 lines
2.4 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
object createBafflesDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
internalFacesOnly true;
|
|
|
|
fields true;
|
|
|
|
baffles
|
|
{
|
|
baffle1D
|
|
{
|
|
type searchableSurface;
|
|
surface triSurfaceMesh;
|
|
file "baffle1D.stl";
|
|
|
|
owner
|
|
{
|
|
name baffle1D0;
|
|
type mappedWall;
|
|
neighbourPatch baffle1D1;
|
|
|
|
patchFields
|
|
{
|
|
#include "./include/wallPatchFields"
|
|
|
|
T
|
|
{
|
|
type compressible::thermalBaffle1D<eConstSolidThermoPhysics>;
|
|
value uniform 300;
|
|
|
|
// Baffle thickness [m]
|
|
thickness uniform 0.005;
|
|
|
|
// Baffle source heat flux [W/m^2]
|
|
qs uniform 100;
|
|
|
|
// Baffle physical properties
|
|
specie
|
|
{
|
|
molWeight 20;
|
|
}
|
|
transport
|
|
{
|
|
kappa 1;
|
|
}
|
|
thermodynamics
|
|
{
|
|
hf 0;
|
|
Cv 10;
|
|
}
|
|
equationOfState
|
|
{
|
|
rho 10;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
neighbour
|
|
{
|
|
name baffle1D1;
|
|
type mappedWall;
|
|
neighbourPatch baffle1D0;
|
|
|
|
patchFields
|
|
{
|
|
#include "./include/wallPatchFields"
|
|
|
|
T
|
|
{
|
|
type compressible::thermalBaffle1D<eConstSolidThermoPhysics>;
|
|
value uniform 300;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|