BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
cl_GT_HeatPolyCustom.hpp
Go to the documentation of this file.
1/*
2 * BELFEM -- The Berkeley Lab Finite Element Framework
3 * Copyright (c) 2026, The Regents of the University of California,
4 * through Lawrence Berkeley National Laboratory (subject to receipt of any required
5 * approvals from the U.S. Dept. of Energy). All rights reserved.
6 *
7 * Developers: Christian Messe, Gregory Giard
8 *
9 * See the top-level LICENSE file for the complete license and disclaimer.
10 */
11
12#ifndef BELFEM_CL_GT_HEATPOLYCUSTOM_HPP
13#define BELFEM_CL_GT_HEATPOLYCUSTOM_HPP
14
15#include "cl_Vector.hpp"
16#include "cl_GT_HeatPoly.hpp"
17
18namespace belfem
19{
20 namespace gastables
21 {
22//------------------------------------------------------------------------------
23
28 class HeatPolyCustom : public HeatPoly
29 {
30 // exponents
31 const Vector<real> mExponents;
32
33 const uint mNumberOfCoeffs;
34
35//------------------------------------------------------------------------------
36 public:
37//------------------------------------------------------------------------------
38
40 const real aTmin,
41 const real aTmax,
42 const real aEnthalpyConstant,
43 const real aEntropyConstant,
44 const Vector<real> & aCoefficients,
45 const Vector<real> & aExponents );
46
47//------------------------------------------------------------------------------
48
49 ~HeatPolyCustom() = default;
50
51//------------------------------------------------------------------------------
52
53 real
54 Cp( const real T ) const;
55
56//------------------------------------------------------------------------------
57
58 real
59 H( const real T ) const;
60
61//------------------------------------------------------------------------------
62
63 real
64 S( const real T ) const;
65
66//------------------------------------------------------------------------------
67
68 real
69 dSdT( const real T ) const;
70
71//------------------------------------------------------------------------------
72
73 real
74 dCpdT( const real T ) const;
75
76//------------------------------------------------------------------------------
77
78 real
79 d2CpdT2( const real T ) const;
80
81//------------------------------------------------------------------------------
82 };
83 } /* namespace gastables */
84} /* namespace belfem */
85#endif //BELFEM_CL_GT_HEATPOLYCUSTOM_HPP
Column vector.
Definition cl_BZ_Vector.hpp:41
real Cp(const real T) const
Definition cl_GT_HeatPolyCustom.cpp:45
real d2CpdT2(const real T) const
Definition cl_GT_HeatPolyCustom.cpp:154
real S(const real T) const
Definition cl_GT_HeatPolyCustom.cpp:87
real dCpdT(const real T) const
Definition cl_GT_HeatPolyCustom.cpp:129
HeatPolyCustom(const real aTmin, const real aTmax, const real aEnthalpyConstant, const real aEntropyConstant, const Vector< real > &aCoefficients, const Vector< real > &aExponents)
Definition cl_GT_HeatPolyCustom.cpp:22
real dSdT(const real T) const
Definition cl_GT_HeatPolyCustom.cpp:108
real H(const real T) const
Definition cl_GT_HeatPolyCustom.cpp:65
HeatPoly(const real aTmin, const real aTmax, const real aEnthalpyConstant, const real aEntropyConstant, const Vector< real > &aCoefficients)
Definition cl_GT_HeatPoly.cpp:20
Definition cl_Gas.hpp:33
USER GUIDES:
Definition cl_Capacitor.cpp:16
unsigned int uint
Definition typedefs.hpp:30
double real
Definition typedefs.hpp:36