BELFEM 0.9.4
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
cl_GT_RefGas.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_REFGAS_HPP
13#define BELFEM_CL_GT_REFGAS_HPP
14
15#include "typedefs.hpp"
16
17#include "cl_Map.hpp"
18#include "cl_Cell.hpp"
19
20#include "cl_Spline.hpp"
21
22#include "cl_GT_GasData.hpp"
23#include "cl_GT_HeatPoly.hpp"
25
26namespace belfem
27{
28 namespace gastables
29 {
30
31 class InputThermo;
32 class InputTransport;
33 class RefGasFactory;
34
43 enum class RefGasMode
44 {
45 POLY = 0,
46 SPLINE = 1,
47 UNDEFINED = 2
48 };
49
75 class RefGas
76 {
77//------------------------------------------------------------------------------
78 protected:
79//------------------------------------------------------------------------------
80
81 // flag telling if this is a noble gas
82 const bool mAmNoble;
83
85
86 const string & mLabel;
87
88 // heat polynomials
90
91 // transport polynomials
94
95 // flag telling if this gas has thermo data
96 bool mHaveThermo = false;
97
98 // flag telling if this gas has viscosity data
99 bool mHaveViscosity = false;
100
101 // flag telling if this gas has conductivity data
102 bool mHaveConductivity = false;
103
104 // viscosity / conductivity synthesized from critical data into the
105 // spline only: the polynomial list holds just the empty placeholder,
106 // so POLY mode must read the spline for them
109
110 // flag telling if this is a liquid polynomial according to CEA
111 bool mLiquidFlag = false;
112
113 // flag telling if intermediate polynomials have been calculated
114 bool mFinalizedFlag = false;
115
116 bool mHaveComponents = false;
117
121
123 ( RefGas:: * mFunctionCp ) ( const real T ) const ;
124
126 ( RefGas:: * mFunctiondCpdT ) ( const real T ) const ;
127
129 ( RefGas:: * mFunctiond2CpdT2 ) ( const real T ) const ;
130
132 ( RefGas:: * mFunctionH ) ( const real T ) const ;
133
135 ( RefGas:: * mFunctionS ) ( const real T ) const ;
136
138 ( RefGas:: * mFunctiondSdT ) ( const real T ) const ;
139
141 ( RefGas:: * mFunctionMu ) ( const real T ) const ;
142
144 ( RefGas:: * mFunctiondMudT ) ( const real T ) const ;
145
147 ( RefGas:: * mFunctiond2MudT2 ) ( const real T ) const ;
148
150 ( RefGas:: * mFunctionLambda ) ( const real T ) const ;
151
153 ( RefGas:: * mFunctiondLambdadT ) ( const real T ) const ;
154
156 ( RefGas:: * mFunctiond2LambdadT2 ) ( const real T ) const ;
157
161
162//------------------------------------------------------------------------------
163 public:
164//------------------------------------------------------------------------------
165
166 RefGas( const string & aLabel );
167
168//------------------------------------------------------------------------------
169
170 ~RefGas();
171
172//------------------------------------------------------------------------------
173
174 // owns raw polynomial pointers and holds a reference into mData
175 RefGas( const RefGas & ) = delete;
176 RefGas & operator=( const RefGas & ) = delete;
177
178//------------------------------------------------------------------------------
179
180 inline const string &
181 label() const;
182
183//------------------------------------------------------------------------------
184
188 inline real
189 component_multiplicity( const string & aLabel ) const;
190
191//------------------------------------------------------------------------------
192
196 inline const real &
197 M() const;
198
199//------------------------------------------------------------------------------
200
204 inline real
206
207//------------------------------------------------------------------------------
208
209 inline bool
210 is_liquid() const;
211//------------------------------------------------------------------------------
212
248
249 real
250 Cp( const real T ) const;
251
252//------------------------------------------------------------------------------
253
254 real
255 H( const real T ) const;
256
257//------------------------------------------------------------------------------
258
259 real
260 S( const real T ) const;
261
262//------------------------------------------------------------------------------
263
264 real
265 dSdT( const real T ) const;
266
267//------------------------------------------------------------------------------
268
269 real
270 dCpdT( const real T ) const;
271
272//------------------------------------------------------------------------------
273
274 real
275 d2CpdT2( const real T ) const;
276
277//------------------------------------------------------------------------------
278
279 real
280 cp( const real T ) const;
281
282//------------------------------------------------------------------------------
283
284 real
285 h( const real T ) const;
286
287//------------------------------------------------------------------------------
288
289 real
290 h_ref() const;
291
292//------------------------------------------------------------------------------
293
294 real
295 H_ref() const;
296
297//------------------------------------------------------------------------------
298
299 real
300 s( const real T ) const;
301
302//------------------------------------------------------------------------------
303
304 real
305 dcpdT( const real T ) const;
306
307//------------------------------------------------------------------------------
308
309 real
310 d2cpdT2( const real T ) const;
311
313
314//------------------------------------------------------------------------------
315
332
333 real
334 mu( const real T ) const;
335
336//------------------------------------------------------------------------------
337
338 real
339 dmudT( const real T ) const;
340
341//------------------------------------------------------------------------------
342
343 real
344 d2mudT2( const real T ) const;
345
346//------------------------------------------------------------------------------
347
348 real
349 lambda( const real T ) const;
350
351//------------------------------------------------------------------------------
352
353 real
354 dlambdadT( const real T ) const;
355
356//------------------------------------------------------------------------------
357
358 real
359 d2lambdadT2( const real T ) const;
360
362
363//------------------------------------------------------------------------------
364
375
376 inline bool
377 has_thermo() const;
378
379//------------------------------------------------------------------------------
380
381 inline bool
382 has_conductivity() const;
383
384//------------------------------------------------------------------------------
385
386 inline bool
387 has_viscosity() const;
388
389
390//------------------------------------------------------------------------------
391
392 inline bool
393 has_components() const;
394
395//------------------------------------------------------------------------------
396
397 inline bool
398 is_noble() const;
399
401
402//------------------------------------------------------------------------------
403
413 void
414 set_mode( const RefGasMode & aMode );
415
416//------------------------------------------------------------------------------
417
421 inline GasData *
422 data();
423
424//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
425
429 inline const GasData *
430 data() const;
431
432
433//------------------------------------------------------------------------------
434
438 inline Spline *
439 heat_spline();
440
441//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
442
446 inline const Spline *
447 heat_spline() const;
448
449//------------------------------------------------------------------------------
450
454 inline Spline *
456
457//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
458
462 inline const Spline *
463 viscosity_spline() const;
464
465//------------------------------------------------------------------------------
466
470 inline Spline *
472
473//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
474
478 inline const Spline *
479 conductivity_spline() const;
480
481//------------------------------------------------------------------------------
482
483
484//------------------------------------------------------------------------------
485 protected:
486//------------------------------------------------------------------------------
487
491 void
492 finalize();
493
494//------------------------------------------------------------------------------
495
496 void
498 const Vector< real > & T,
499 SpMatrix & aHelpMatrix );
500
501
502//------------------------------------------------------------------------------
503
507 void
508 add_component( const string & aLabel, const real aValue );
509
510//------------------------------------------------------------------------------
511
516 void
517 set_molar_mass( const real aMolarMass );
518
519//------------------------------------------------------------------------------
520
524 void
525 set_reference_formation_enthalpy( const real aDeltaHf );
526
527//------------------------------------------------------------------------------
528
533 void
534 set_reference_enthalpy( const real aHref );
535
536//------------------------------------------------------------------------------
537
538 void
540
541
542//------------------------------------------------------------------------------
543
544 void
546
547//------------------------------------------------------------------------------
548
549 void
551
552//------------------------------------------------------------------------------
553
554 void
555 add_heat_poly( HeatPoly * aHeatPoly );
556
557//------------------------------------------------------------------------------
558
559 void
560 add_transport_poly( TransportPoly * aTransportPoly );
561
562//------------------------------------------------------------------------------
563
564 void
566
567//------------------------------------------------------------------------------
568
569 void
571
572//------------------------------------------------------------------------------
573
574 void
575 create_glue_polys_heat( const uint & aNumberOfOriginalPolynomials );
576
577//------------------------------------------------------------------------------
578
579 void
581
582//------------------------------------------------------------------------------
583
584 void
585 create_hot_poly_heat( const uint & aNumberOfOriginalPolynomials );
586
587//------------------------------------------------------------------------------
588
589 void
590 fix_reference_points( const uint & aStart, const uint & aEnd );
591
592//------------------------------------------------------------------------------
593
594 const HeatPoly *
595 find_heat_poly( const real T ) const;
596
597//------------------------------------------------------------------------------
598
599 const TransportPoly *
600 find_viscosity_poly( const real T ) const;
601
602//------------------------------------------------------------------------------
603
604 const TransportPoly *
605 find_conductivity_poly( const real T ) const;
606
607//------------------------------------------------------------------------------
608
609 void
611
612//------------------------------------------------------------------------------
613
614 void
616
617//------------------------------------------------------------------------------
618
619 void
622 const uint & aNumberOfOriginalPolynomials );
623
624//------------------------------------------------------------------------------
625
626 void
628 const uint & aNumberOfOriginalPolynomials );
629
630//------------------------------------------------------------------------------
631
632 void
634
635//------------------------------------------------------------------------------
636
637 real
638 zero( const real T ) const;
639
640//------------------------------------------------------------------------------
641
642 real
643 poly_Cp( const real T ) const;
644
645//------------------------------------------------------------------------------
646
647 real
648 poly_dCpdT( const real T ) const;
649
650//------------------------------------------------------------------------------
651
652 real
653 poly_d2CpdT2( const real T ) const;
654
655//------------------------------------------------------------------------------
656
657 real
658 poly_H( const real T ) const;
659
660//------------------------------------------------------------------------------
661
662 real
663 poly_S( const real T ) const;
664
665//------------------------------------------------------------------------------
666
667 real
668 poly_dSdT( const real T ) const;
669
670//------------------------------------------------------------------------------
671
672 real
673 poly_Mu( const real T ) const;
674
675//------------------------------------------------------------------------------
676
677 real
678 poly_dMudT( const real T ) const;
679
680//------------------------------------------------------------------------------
681
682 real
683 poly_d2MudT2( const real T ) const;
684
685//------------------------------------------------------------------------------
686
687 real
688 poly_Lambda( const real T ) const;
689
690//------------------------------------------------------------------------------
691
692 real
693 poly_dLambdadT( const real T ) const;
694
695//------------------------------------------------------------------------------
696
697 real
698 poly_d2LambdadT2( const real T ) const;
699
700//------------------------------------------------------------------------------
701
702 real
703 spline_Cp( const real T ) const;
704
705//------------------------------------------------------------------------------
706
707 real
708 spline_dCpdT( const real T ) const;
709
710//------------------------------------------------------------------------------
711
712 real
713 spline_H( const real T ) const;
714
715//------------------------------------------------------------------------------
716
717 real
718 spline_S( const real T ) const;
719
720//------------------------------------------------------------------------------
721
722 real
723 spline_dSdT( const real T ) const;
724
725//------------------------------------------------------------------------------
726
727 real
728 spline_Mu( const real T ) const;
729
730//------------------------------------------------------------------------------
731
732 real
733 spline_dMudT( const real T ) const;
734
735//------------------------------------------------------------------------------
736
737 real
738 spline_d2MudT2( const real T ) const;
739
740//------------------------------------------------------------------------------
741
742 real
743 spline_Lambda( const real T ) const;
744
745//------------------------------------------------------------------------------
746
747 real
748 spline_dLambdadT( const real T ) const;
749
750//------------------------------------------------------------------------------
751
752 real
753 spline_d2LambdadT2( const real T ) const;
754
755//------------------------------------------------------------------------------
756
757 void
758 fix_switches();
759
760//------------------------------------------------------------------------------
761
762 };
763//------------------------------------------------------------------------------
764
765 const string &
767 {
768 return mData.label();
769 }
770
771// ------------------------------------------------------------------------------
772
773 GasData *
775 {
776 return &mData;
777 }
778
779// ------------------------------------------------------------------------------
780
781 const GasData *
783 {
784 return & mData;
785 }
786
787// ------------------------------------------------------------------------------
788
789 real
790 RefGas::component_multiplicity( const string & aLabel ) const
791 {
792 return mData.component_multiplicity( aLabel );
793 }
794
795// ------------------------------------------------------------------------------
796
797 bool
799 {
800 return mLiquidFlag;
801 }
802
803// ------------------------------------------------------------------------------
804
805 const real &
806 RefGas::M() const
807 {
808 return mData.M();
809 }
810
811// ------------------------------------------------------------------------------
812
813 real
815 {
816 return mData.Hf();
817 }
818
819// ------------------------------------------------------------------------------
820
821 bool
823 {
824 return mHaveThermo;
825 }
826
827//------------------------------------------------------------------------------
828
829 bool
831 {
832 return mHaveConductivity;
833 }
834
835//------------------------------------------------------------------------------
836
837 bool
839 {
840 return mHaveViscosity ;
841 }
842
843
844//------------------------------------------------------------------------------
845
846 bool
848 {
849 return mHaveComponents;
850 }
851
852//------------------------------------------------------------------------------
853
854 bool
856 {
857 return mAmNoble;
858 }
859
860//------------------------------------------------------------------------------
861
862 Spline *
864 {
865 return & mHeatSpline;
866 }
867
868// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
869
870 const Spline *
872 {
873 return & mHeatSpline;
874 }
875
876//------------------------------------------------------------------------------
877
878 Spline *
880 {
881 return & mViscositySpline;
882 }
883
884// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
885
886 const Spline *
888 {
889 return & mViscositySpline;
890 }
891
892//------------------------------------------------------------------------------
893
894 Spline *
899
900// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
901
902 const Spline *
904 {
905 return & mConductivitySpline;
906 }
907
908//------------------------------------------------------------------------------
909 }
910}
911#endif //BELFEM_CL_GT_THERMO_HPP
A bounds-checked wrapper around std::vector.
Definition cl_Cell.hpp:45
Sparse matrix in CSR or CSC format.
Definition cl_SpMatrix.hpp:52
Cubic spline on a uniform grid, C2, with natural, parabolic or clamped boundary conditions.
Definition cl_Spline.hpp:45
The per species property record: the scalar data that describe a gas but do not depend on the state.
Definition cl_GT_GasData.hpp:58
const real & Hf() const
Definition cl_GT_GasData.hpp:402
const string & label() const
Definition cl_GT_GasData.hpp:346
const real & M() const
Definition cl_GT_GasData.hpp:378
real component_multiplicity(const string &aLabel) const
Definition cl_GT_GasData.hpp:444
One temperature interval of the caloric description of a species.
Definition cl_GT_HeatPoly.hpp:47
a class that can read the thermo.inp
Definition cl_GT_InputThermo.hpp:30
Reader for trans.inp, the CEA transport property table.
Definition cl_GT_InputTransport.hpp:41
Builds RefGas objects from the shipped data tables.
Definition cl_GT_RefGasFactory.hpp:59
bool mLiquidFlag
Definition cl_GT_RefGas.hpp:111
bool is_noble() const
Definition cl_GT_RefGas.hpp:855
bool mConductivitySynthesized
Definition cl_GT_RefGas.hpp:108
real poly_d2MudT2(const real T) const
Definition cl_GT_RefGas.cpp:1106
real(RefGas::*) mFunctiond2MudT2(const real T) const
Definition cl_GT_RefGas.hpp:147
real(RefGas::*) mFunctionS(const real T) const
Definition cl_GT_RefGas.hpp:135
real cp(const real T) const
Definition cl_GT_RefGas.cpp:1306
void create_glue_polys_heat(const uint &aNumberOfOriginalPolynomials)
Definition cl_GT_RefGas.cpp:334
real poly_Cp(const real T) const
Definition cl_GT_RefGas.cpp:1043
RefGas & operator=(const RefGas &)=delete
real d2CpdT2(const real T) const
Definition cl_GT_RefGas.cpp:986
void set_component_flag()
Definition cl_GT_RefGas.cpp:113
real poly_dCpdT(const real T) const
Definition cl_GT_RefGas.cpp:1075
real s(const real T) const
Definition cl_GT_RefGas.cpp:1322
real poly_dMudT(const real T) const
Definition cl_GT_RefGas.cpp:1098
Spline * viscosity_spline()
expose viscosity spline
Definition cl_GT_RefGas.hpp:879
friend InputThermo
Definition cl_GT_RefGas.hpp:158
real spline_d2LambdadT2(const real T) const
Definition cl_GT_RefGas.cpp:1218
void create_glue_polys_transport(Cell< TransportPoly * > &aPolys, const uint &aNumberOfOriginalPolynomials)
Definition cl_GT_RefGas.cpp:464
void finalize_transport()
Definition cl_GT_RefGas.cpp:283
real spline_Cp(const real T) const
Definition cl_GT_RefGas.cpp:1138
real reference_formation_enthalpy() const
reference formation enthalpy
Definition cl_GT_RefGas.hpp:814
real h(const real T) const
Definition cl_GT_RefGas.cpp:1314
real(RefGas::*) mFunctiond2CpdT2(const real T) const
Definition cl_GT_RefGas.hpp:129
GasData mData
Definition cl_GT_RefGas.hpp:84
bool has_viscosity() const
Definition cl_GT_RefGas.hpp:838
real S(const real T) const
Definition cl_GT_RefGas.cpp:962
bool mFinalizedFlag
Definition cl_GT_RefGas.hpp:114
void set_liquid_flag()
Definition cl_GT_RefGas.cpp:97
real lambda(const real T) const
Definition cl_GT_RefGas.cpp:1019
void delete_heat_polys()
Definition cl_GT_RefGas.cpp:159
real spline_d2MudT2(const real T) const
Definition cl_GT_RefGas.cpp:1194
void create_cryo_poly_transport(Cell< TransportPoly * > &aPolys)
Definition cl_GT_RefGas.cpp:435
void set_mode(const RefGasMode &aMode)
Switch between evaluating the CEA polynomials directly and evaluating the splines sampled off them.
Definition cl_GT_RefGas.cpp:831
real poly_S(const real T) const
Definition cl_GT_RefGas.cpp:1059
void create_cryo_poly_heat()
Definition cl_GT_RefGas.cpp:646
void finalize()
to be called by RefGasFactory once all polynomials have been read
Definition cl_GT_RefGas.cpp:320
real spline_S(const real T) const
Definition cl_GT_RefGas.cpp:1162
const string & label() const
Definition cl_GT_RefGas.hpp:766
Spline * heat_spline()
expose heat spline
Definition cl_GT_RefGas.hpp:863
void add_transport_poly(TransportPoly *aTransportPoly)
Definition cl_GT_RefGas.cpp:130
GasData * data()
expose data object
Definition cl_GT_RefGas.hpp:774
bool has_conductivity() const
Definition cl_GT_RefGas.hpp:830
real spline_H(const real T) const
Definition cl_GT_RefGas.cpp:1154
real dSdT(const real T) const
Definition cl_GT_RefGas.cpp:970
real(RefGas::*) mFunctionLambda(const real T) const
Definition cl_GT_RefGas.hpp:150
real poly_H(const real T) const
Definition cl_GT_RefGas.cpp:1051
real component_multiplicity(const string &aLabel) const
return the composition if the element exists
Definition cl_GT_RefGas.hpp:790
Spline * conductivity_spline()
expose conductivity spline
Definition cl_GT_RefGas.hpp:895
void add_component(const string &aLabel, const real aValue)
to be called by InputThermo
Definition cl_GT_RefGas.cpp:64
const bool mAmNoble
Definition cl_GT_RefGas.hpp:82
void add_heat_poly(HeatPoly *aHeatPoly)
Definition cl_GT_RefGas.cpp:121
void fix_switches()
Definition cl_GT_RefGas.cpp:1346
bool has_thermo() const
Definition cl_GT_RefGas.hpp:822
real poly_d2CpdT2(const real T) const
Definition cl_GT_RefGas.cpp:1082
real dcpdT(const real T) const
Definition cl_GT_RefGas.cpp:1330
real(RefGas::*) mFunctiondSdT(const real T) const
Definition cl_GT_RefGas.hpp:138
bool mViscositySynthesized
Definition cl_GT_RefGas.hpp:107
Spline mViscositySpline
Definition cl_GT_RefGas.hpp:119
Spline mConductivitySpline
Definition cl_GT_RefGas.hpp:120
real(RefGas::*) mFunctiondLambdadT(const real T) const
Definition cl_GT_RefGas.hpp:153
real dlambdadT(const real T) const
Definition cl_GT_RefGas.cpp:1027
real dmudT(const real T) const
Definition cl_GT_RefGas.cpp:1002
bool has_components() const
Definition cl_GT_RefGas.hpp:847
RefGas(const string &aLabel)
Definition cl_GT_RefGas.cpp:40
void create_splines(const Vector< real > &T, SpMatrix &aHelpMatrix)
Definition cl_GT_RefGas.cpp:1226
real poly_dSdT(const real T) const
Definition cl_GT_RefGas.cpp:1067
void create_hot_poly_transport(Cell< TransportPoly * > &aPolys, const uint &aNumberOfOriginalPolynomials)
Definition cl_GT_RefGas.cpp:622
real dCpdT(const real T) const
Definition cl_GT_RefGas.cpp:978
real(RefGas::*) mFunctionCp(const real T) const
Definition cl_GT_RefGas.hpp:123
void finalize_thermo()
Definition cl_GT_RefGas.cpp:204
real d2lambdadT2(const real T) const
Definition cl_GT_RefGas.cpp:1035
const real & M() const
molar mass in kg/Mol
Definition cl_GT_RefGas.hpp:806
real poly_dLambdadT(const real T) const
Definition cl_GT_RefGas.cpp:1122
real spline_Lambda(const real T) const
Definition cl_GT_RefGas.cpp:1202
void create_hot_poly_heat(const uint &aNumberOfOriginalPolynomials)
Definition cl_GT_RefGas.cpp:721
real spline_dSdT(const real T) const
Definition cl_GT_RefGas.cpp:1170
const string & mLabel
Definition cl_GT_RefGas.hpp:86
Cell< TransportPoly * > mConductivityPolys
Definition cl_GT_RefGas.hpp:93
const TransportPoly * find_conductivity_poly(const real T) const
Definition cl_GT_RefGas.cpp:810
void delete_transport_polys()
Definition cl_GT_RefGas.cpp:177
real spline_dCpdT(const real T) const
Definition cl_GT_RefGas.cpp:1146
real zero(const real T) const
Definition cl_GT_RefGas.cpp:923
real poly_Mu(const real T) const
Definition cl_GT_RefGas.cpp:1090
real poly_d2LambdadT2(const real T) const
Definition cl_GT_RefGas.cpp:1130
real H_ref() const
Definition cl_GT_RefGas.cpp:930
real spline_Mu(const real T) const
Definition cl_GT_RefGas.cpp:1178
real h_ref() const
Definition cl_GT_RefGas.cpp:938
bool is_liquid() const
Definition cl_GT_RefGas.hpp:798
real(RefGas::*) mFunctionMu(const real T) const
Definition cl_GT_RefGas.hpp:141
Spline mHeatSpline
Definition cl_GT_RefGas.hpp:118
void fix_reference_points(const uint &aStart, const uint &aEnd)
Definition cl_GT_RefGas.cpp:743
real d2cpdT2(const real T) const
Definition cl_GT_RefGas.cpp:1338
RefGas(const RefGas &)=delete
real(RefGas::*) mFunctiondCpdT(const real T) const
Definition cl_GT_RefGas.hpp:126
void set_reference_enthalpy(const real aHref)
set the reference enthalpy H(298.15 K) - H(0 K) in J/mol, as read from the thermo....
Definition cl_GT_RefGas.cpp:89
const TransportPoly * find_viscosity_poly(const real T) const
Definition cl_GT_RefGas.cpp:788
real(RefGas::*) mFunctiond2LambdadT2(const real T) const
Definition cl_GT_RefGas.hpp:156
void set_reference_formation_enthalpy(const real aDeltaHf)
set the formation enthalpy in J/mol
Definition cl_GT_RefGas.cpp:81
const HeatPoly * find_heat_poly(const real T) const
Definition cl_GT_RefGas.cpp:767
friend RefGasFactory
Definition cl_GT_RefGas.hpp:160
real mu(const real T) const
Definition cl_GT_RefGas.cpp:994
bool mHaveComponents
Definition cl_GT_RefGas.hpp:116
real Cp(const real T) const
Definition cl_GT_RefGas.cpp:946
void unset_liquid_flag()
Definition cl_GT_RefGas.cpp:105
real spline_dMudT(const real T) const
Definition cl_GT_RefGas.cpp:1186
Cell< HeatPoly * > mHeatPolys
Definition cl_GT_RefGas.hpp:89
Cell< TransportPoly * > mViscosityPolys
Definition cl_GT_RefGas.hpp:92
void set_molar_mass(const real aMolarMass)
set the molar mass
Definition cl_GT_RefGas.cpp:73
bool mHaveThermo
Definition cl_GT_RefGas.hpp:96
real(RefGas::*) mFunctiondMudT(const real T) const
Definition cl_GT_RefGas.hpp:144
real(RefGas::*) mFunctionH(const real T) const
Definition cl_GT_RefGas.hpp:132
real poly_Lambda(const real T) const
Definition cl_GT_RefGas.cpp:1114
real spline_dLambdadT(const real T) const
Definition cl_GT_RefGas.cpp:1210
bool mHaveConductivity
Definition cl_GT_RefGas.hpp:102
bool mHaveViscosity
Definition cl_GT_RefGas.hpp:99
real d2mudT2(const real T) const
Definition cl_GT_RefGas.cpp:1011
real H(const real T) const
Definition cl_GT_RefGas.cpp:954
friend InputTransport
Definition cl_GT_RefGas.hpp:159
One temperature interval of the transport description of a species.
Definition cl_GT_TransportPoly.hpp:62
Definition cl_Gas.hpp:33
RefGasMode
how a RefGas evaluates its properties
Definition cl_GT_RefGas.hpp:44
@ POLY
Definition cl_GT_RefGas.hpp:45
@ SPLINE
Definition cl_GT_RefGas.hpp:46
USER GUIDES:
Definition cl_Capacitor.cpp:16
unsigned int uint
Definition typedefs.hpp:30
double real
Definition typedefs.hpp:36