40 fvScalarFieldSource(iF)
50 fvScalarFieldSource(iF,
dict)
60 fvScalarFieldSource(field, iF)
82 if (isA<energyCalculatedTemperatureFvScalarFieldSource>(Ts))
85 refCast<const energyCalculatedTemperatureFvScalarFieldSource>(Ts)
86 .sourceHeValue(model, source);
90 return thermo.
he(Ts.sourceValue(model, source), model, source);
106 if (isA<energyCalculatedTemperatureFvScalarFieldSource>(Ts))
109 refCast<const energyCalculatedTemperatureFvScalarFieldSource>(Ts)
110 .sourceHeValue(model, source,
cells);
130 return Ts.internalCoeff(model, source);
145 return Ts.internalCoeff(model, source,
cells);
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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
This source condition provides a value for the energy derived from the corresponding condition for th...
energyFvScalarFieldSource(const DimensionedField< scalar, volMesh > &)
Construct from internal field.
virtual tmp< DimensionedField< scalar, volMesh > > sourceValue(const fvSource &model, const DimensionedField< scalar, volMesh > &source) const
Return the source value.
virtual ~energyFvScalarFieldSource()
Destructor.
virtual tmp< DimensionedField< scalar, volMesh > > internalCoeff(const fvSource &model, const DimensionedField< scalar, volMesh > &source) const
Return the internal coefficient.
const word & name() const
Return const access to the source name.
Base class for finite volume sources.
A class for managing temporary objects.
void T(LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1)
makeNullConstructableTypeFieldSource(fvScalarFieldSource, energyFvScalarFieldSource)
fluidMulticomponentThermo & thermo