openfoam/tutorials/preProcessing/createZeroDirectory/snappyMultiRegionHeater/system/leftSolid/caseProperties
mattijs a67be71938 ENH: Added new ceeateZeroDirectory utility
Uses a system/caseProperties file to select templates from
etc/caseDicts/createZeroDirectoryTemplates to enable high-level setup
of a case.
See
- etc/caseDicts/createZeroDirectoryTemplates
- tutorials/preProcessing/createZeroDirectory
2015-11-30 15:52:40 +00:00

60 lines
1.5 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object caseProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
initialConditions
{
p uniform 100000;
rho uniform 8000;
T uniform 300;
}
boundaryConditions
{
thermalWalls
{
category wall;
type thermal;
patches (minX minZ maxZ);
options
{
heatTransfer adiabatic;
}
values
{
$:initialConditions;
}
}
thermalCoupledWalls
{
category wall;
type thermal;
patches (".*_to_.*");
options
{
heatTransfer thermalCoupled;
}
values
{
$:initialConditions;
}
}
}
// ************************************************************************* //