88#ifndef Foam_functionObjects_thermoCoupleProbes_H
89#define Foam_functionObjects_thermoCoupleProbes_H
153 const word& fieldName,
154 const Field<Type>& values,
155 const scalar timeValue
159 thermoCoupleProbes(
const thermoCoupleProbes&) =
delete;
162 void operator=(
const thermoCoupleProbes&) =
delete;
180 const bool loadFromFiles =
false,
192 virtual label
nEqns()
const;
220 virtual bool write();
232 #include "thermoCoupleProbes.txx"
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
ODESystem()
Construct null.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Fundamental fluid thermodynamic properties.
Reads fields from the time directories and adds them to the mesh database for further post-processing...
Sample probe for temperature using a thermocouple.
const fluidThermo & thermo_
Fluid thermo reference.
scalar Cp_
Thermocouple heat capacity.
word UName_
Name of the velocity field.
scalar rho_
Thermocouple density.
virtual void jacobian(const scalar t, const scalarField &y, scalarField &dfdt, scalarSquareMatrix &dfdy) const
Calculate the Jacobian of the system.
scalar d_
Thermocouple diameter.
scalar epsilon_
Thermocouple emissivity.
word radiationFieldName_
Name of the incident radiation field.
autoPtr< ODESolver > odeSolver_
ODESolver.
virtual void derivatives(const scalar x, const scalarField &y, scalarField &dydx) const
Calculate the derivatives in dydx.
TypeName("thermoCoupleProbes")
Runtime type information.
virtual label nEqns() const
Number of ODE's to solve.
virtual ~thermoCoupleProbes()=default
Destructor.
virtual bool execute()
Execute the function-object operations.
scalarField Ttc_
Cached thermocouple temperature.
virtual bool write()
Write the function-object results.
virtual bool read(const dictionary &)
Read the function-object dictionary.
probes(const word &name, const Time &runTime, const dictionary &dict, const bool loadFromFiles=false, const bool readFields=true)
Construct from Time and dictionary.
A class for handling words, derived from Foam::string.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
SquareMatrix< scalar > scalarSquareMatrix
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.