Go to the documentation of this file.
11 #ifndef DAFunctionWallHeatFlux_H
12 #define DAFunctionWallHeatFlux_H
15 #include "addToRunTimeSelectionTable.H"
59 const word functionName);
bool calcMode_
if calculating flux per unit area or total, which mode to use
virtual scalar calcFunction()
calculate the value of objective function
scalar k_
thermal conductivity for solid heatFlux calculation
scalar Cp_
Cp used in incompressible heatFlux calculation.
DAFunctionWallHeatFlux(const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex, const word functionName)
virtual ~DAFunctionWallHeatFlux()
scalar areaSum_
the area of all heat flux patches
word distanceMode_
if calculating wallHeatFlux by OpenFOAMs snGrad() or DAFOAM's custom (daCustom) formulation
volScalarField wallHeatFlux_
wall heat flux field