for consistency with fvModels and fvConstraints, to simplify code and case maintenance and to avoid the potentially complex functions entries being unnecessarily parsed by utilities for which functionObject evaluation is disabled. The functions entry in controlDict is still read if the functions file is not present for backward-compatibility, but it is advisable to migrate cases to use the new functions file.
27 lines
1.1 KiB
C++
27 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 |
|
|
-------------------------------------------------------------------------------
|
|
Description
|
|
Calculates the estimated incompressible flow heat transfer coefficient at
|
|
wall patches, outputting the data as a volScalarField.
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
type wallHeatTransferCoeff;
|
|
libs ("libfieldFunctionObjects.so");
|
|
|
|
rho <rho>; // Density; e.g., 1.225 kg/m^3 for air
|
|
Cp <Cp>; // Specific heat capacity at constant pressure;
|
|
// e.g., 1005 J/kg/K for air
|
|
Pr <Pr>; // Laminar Prandtl number; e.g, 0.7
|
|
Prt <Prt>; // Turbulent Prandtly number; e.g., 0.9
|
|
|
|
executeControl writeTime;
|
|
writeControl writeTime;
|
|
|
|
// ************************************************************************* //
|