40 fvScalarFieldSource(iF)
50 fvScalarFieldSource(iF,
dict)
60 fvScalarFieldSource(field, iF)
78 if (isA<energyCalculatedTemperatureFvScalarFieldSource>(Ts))
81 refCast<const energyCalculatedTemperatureFvScalarFieldSource>(Ts)
82 .sourceHeValue(source);
86 return thermo.
he(Ts.sourceValue(source), source);
97 return Ts.internalCoeff(source);
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const Sources & sources() const
Return const-reference to the sources.
Base-class for fluid and solid thermodynamic properties.
static const basicThermo & lookupThermo(const FieldType &f)
Lookup the thermo associated with the given field.
virtual const volScalarField & T() const =0
Temperature [K].
virtual const volScalarField & he() const =0
Enthalpy/Internal energy [J/kg].
A list of keyword definitions, which are a keyword followed by any number of values (e....
This source condition provides a value for the energy derived from the corresponding condition for th...
virtual tmp< scalarField > internalCoeff(const fvSource &) const
Return the internal coefficient.
virtual tmp< scalarField > sourceValue(const fvSource &) const
Return the source value.
energyFvScalarFieldSource(const DimensionedField< scalar, volMesh > &)
Construct from internal field.
virtual ~energyFvScalarFieldSource()
Destructor.
const word & name() const
Return const access to the source name.
Base class for finite volume sources.
A class for managing temporary objects.
makeNullConstructableTypeFieldSource(fvScalarFieldSource, energyFvScalarFieldSource)
fluidMulticomponentThermo & thermo