- Uses the user-specified value for outputTemperature: { type externalCoupledTemperature; outputTemperture fluid; // or wall; } Otherwises uses 'wall' as a default (for compatibility) and emits a warning. The T.out header now reflects the type of output. Eg, # Values: area Tfluid qDot htc
45 lines
1.3 KiB
C++
45 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v1806 |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class volScalarField;
|
|
object k;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 2 -2 0 0 0 0];
|
|
|
|
internalField uniform 1;
|
|
|
|
boundaryField
|
|
{
|
|
inlet
|
|
{
|
|
type turbulentIntensityKineticEnergyInlet;
|
|
intensity 0.05;
|
|
value $internalField;
|
|
}
|
|
|
|
outlet
|
|
{
|
|
type inletOutlet;
|
|
inletValue $internalField;
|
|
value $internalField;
|
|
}
|
|
|
|
"(?i).*walls"
|
|
{
|
|
type kqRWallFunction;
|
|
value $internalField;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|