the new fluidThermophysicalTransportModel and solidThermophysicalTransportModel are derived from thermophysicalTransportModel providing a consistent and unified interface for heat transport within and between regions. Coupled and external heat-transfer boundary conditions can now be written independent of the thermophysical properties or transport modelling of the regions providing greater flexibility, simpler code and reduces the maintenance overhead.
42 lines
1.1 KiB
C++
42 lines
1.1 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 volScalarField;
|
|
location "0/solid";
|
|
object T;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [ 0 0 0 1 0 0 0 ];
|
|
|
|
internalField uniform 300;
|
|
|
|
boundaryField
|
|
{
|
|
#includeEtc "caseDicts/setConstraintTypes"
|
|
|
|
external
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
solid_to_shell
|
|
{
|
|
type coupledTemperature;
|
|
value $internalField;
|
|
}
|
|
solid_to_tube
|
|
{
|
|
type coupledTemperature;
|
|
value $internalField;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|