Go to the documentation of this file.
39 #ifndef thermoSingleLayer_H
40 #define thermoSingleLayer_H
49 namespace regionModels
51 namespace surfaceFilmModels
56 class heatTransferModel;
245 const word& modelType,
248 const word& regionType,
323 const scalar massSource,
324 const vector& momentumSource,
325 const scalar pressureSource,
326 const scalar energySource
TypeName("thermoSingleLayer")
Runtime type information.
virtual void solveEnergy()
Solve energy equation.
volScalarField Tw_
Temperature - wall / [K].
virtual bool read()
Read control parameters from dictionary.
virtual void resetPrimaryRegionSourceTerms()
Reset source term fields.
virtual void info()
Provide some feedback.
virtual const volScalarField & hs() const
Return the film sensible enthalpy [J/kg].
A class for handling words, derived from string.
virtual void correctHsForMappedT()
Correct sensible enthalpy for mapped temperature fields.
const PtrList< volScalarField > & YPrimary() const
Specie mass fractions / [0-1].
virtual ~thermoSingleLayer()
Destructor.
Thermo package for (S)olids (L)iquids and (G)ases Takes reference to thermo package,...
autoPtr< filmViscosityModel > viscosity_
Viscosity model.
autoPtr< heatTransferModel > htcs_
Heat transfer coefficient bewteen film surface and primary.
A class for managing temporary objects.
virtual tmp< volScalarField > primaryMassTrans() const
Return mass transfer source - Eulerian phase only.
const heatTransferModel & htcs() const
Return const access to the (surface) heat transfer model.
const SLGThermo & thermo() const
Return const reference to the SLGThermo object.
autoPtr< phaseChangeModel > phaseChange_
Phase change.
volScalarField primaryEnergyPCTrans_
Film energy evolved via phase change.
virtual const volScalarField & Cp() const
Return the film specific heat capacity [J/kg/K].
wordList hsBoundaryTypes()
Return boundary types for sensible enthalpy field.
virtual const volScalarField & kappa() const
Return the film thermal conductivity [W/m/K].
volScalarField T_
Temperature - mean / [K].
This function object reads fields from the time directories and adds them to the mesh database for fu...
volScalarField Cp_
Specific heat capacity / [J/kg/K].
scalar hydrophilicDryScale_
Length scale applied to deltaWet_ to determine when a wet.
const filmRadiationModel & radiation() const
Return const access to the radiation model.
virtual void correctThermoFields()
Correct the thermo fields.
const dimensionedVector & g() const
Return the accleration due to gravity.
virtual void evolveRegion()
Evolve the film equations.
scalar deltaWet_
Threshold film thickness beyond which the film is considered 'wet'.
volScalarField hsSp_
Energy / [J/m2/s].
Base class for film radiation models.
virtual void transferPrimaryRegionThermoFields()
Transfer thermo fields from the primary region to the film region.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
const SLGThermo & thermo_
Reference to the SLGThermo.
tmp< scalarField > Qconvp(const label patchI) const
Return the convective heat energy from primary region to film.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
volScalarField Ts_
Temperature - surface / [K].
volScalarField primaryMassPCTrans_
Film mass evolved via phase change.
virtual void updateSubmodels()
Update the film sub-models.
virtual const volScalarField & T() const
Return the film mean temperature [K].
PtrList< volScalarField > YPrimary_
List of specie mass fractions / [0-1].
void operator=(const thermoSingleLayer &)
Disallow default bitwise assignment.
volScalarField TPrimary_
Temperature / [K].
virtual tmp< DimensionedField< scalar, volMesh > > Srho() const
Return total mass source - Eulerian phase only.
Generic dimensioned Type class.
virtual tmp< DimensionedField< scalar, volMesh > > Sh() const
Return enthalpy source - Eulerian phase only.
Mesh data needed to do the Finite Volume discretisation.
scalar Tmin_
Minimum temperature limit (optional)
virtual tmp< fvScalarMatrix > q(volScalarField &hs) const
Return the wall/surface heat transfer term for the enthalpy equation.
virtual void preEvolveRegion()
Pre-evolve film hook.
const volScalarField & hsSp() const
Energy / [J/m2/s].
volScalarField hsSpPrimary_
Energy / [J/m2/s].
volScalarField hs_
Sensible enthalpy / [J/kg].
const volScalarField & hsSpPrimary() const
Energy / [J/m2/s].
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const phaseChangeModel & phaseChange() const
Return const access to the phase change model.
scalar Tmax_
Maximum temperature limit (optional)
const heatTransferModel & htcw() const
Return const access to the (wall) heat transfer model.
virtual void addSources(const label patchI, const label faceI, const scalar massSource, const vector &momentumSource, const scalar pressureSource, const scalar energySource)
External hook to add sources to the film.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
volScalarField kappa_
Thermal conductivity / [W/m/K].
bool hydrophilic_
Activation flag.
thermoSingleLayer(const thermoSingleLayer &)
Disallow default bitwise copy construct.
autoPtr< filmRadiationModel > radiation_
Radiation.
virtual void correctAlpha()
Correct film coverage field.
scalar hydrophilicWetScale_
Length scale applied to deltaWet_ to determine when a dry.
const volScalarField & TPrimary() const
Temperature / [K].
virtual const volScalarField & Tw() const
Return the film wall temperature [K].
Base class for surface film viscosity models.
autoPtr< heatTransferModel > htcw_
Heat transfer coefficient bewteen wall and film [W/m2/K].
virtual const volScalarField & Ts() const
Return the film surface temperature [K].
Generic GeometricField class.
tmp< scalarField > Qconvw(const label patchI) const
Return the convective heat energy from film to wall.
Base class for surface film phase change models.
virtual void updateSurfaceTemperatures()
Correct the film surface and wall temperatures.
virtual void transferPrimaryRegionSourceFields()
Transfer source fields from the primary region to the film region.