BELFEM 0.9.0
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 // flag telling if this is a liquid polynomial according to CEA
105 bool mLiquidFlag = false;
106
107 // flag telling if intermediate polynomials have been calculated
108 bool mFinalizedFlag = false;
109
110 bool mHaveComponents = false;
111
115
117 ( RefGas:: * mFunctionCp ) ( const real T ) const ;
118
120 ( RefGas:: * mFunctiondCpdT ) ( const real T ) const ;
121
123 ( RefGas:: * mFunctiond2CpdT2 ) ( const real T ) const ;
124
126 ( RefGas:: * mFunctionH ) ( const real T ) const ;
127
129 ( RefGas:: * mFunctionS ) ( const real T ) const ;
130
132 ( RefGas:: * mFunctiondSdT ) ( const real T ) const ;
133
135 ( RefGas:: * mFunctionMu ) ( const real T ) const ;
136
138 ( RefGas:: * mFunctiondMudT ) ( const real T ) const ;
139
141 ( RefGas:: * mFunctiond2MudT2 ) ( const real T ) const ;
142
144 ( RefGas:: * mFunctionLambda ) ( const real T ) const ;
145
147 ( RefGas:: * mFunctiondLambdadT ) ( const real T ) const ;
148
150 ( RefGas:: * mFunctiond2LambdadT2 ) ( const real T ) const ;
151
155
156//------------------------------------------------------------------------------
157 public:
158//------------------------------------------------------------------------------
159
160 RefGas( const string & aLabel );
161
162//------------------------------------------------------------------------------
163
164 ~RefGas();
165
166//------------------------------------------------------------------------------
167
168 // owns raw polynomial pointers and holds a reference into mData
169 RefGas( const RefGas & ) = delete;
170 RefGas & operator=( const RefGas & ) = delete;
171
172//------------------------------------------------------------------------------
173
174 inline const string &
175 label() const;
176
177//------------------------------------------------------------------------------
178
182 inline real
183 component_multiplicity( const string & aLabel ) const;
184
185//------------------------------------------------------------------------------
186
190 inline const real &
191 M() const;
192
193//------------------------------------------------------------------------------
194
198 inline real
200
201//------------------------------------------------------------------------------
202
203 inline bool
204 is_liquid() const;
205//------------------------------------------------------------------------------
206
242
243 real
244 Cp( const real T ) const;
245
246//------------------------------------------------------------------------------
247
248 real
249 H( const real T ) const;
250
251//------------------------------------------------------------------------------
252
253 real
254 S( const real T ) const;
255
256//------------------------------------------------------------------------------
257
258 real
259 dSdT( const real T ) const;
260
261//------------------------------------------------------------------------------
262
263 real
264 dCpdT( const real T ) const;
265
266//------------------------------------------------------------------------------
267
268 real
269 d2CpdT2( const real T ) const;
270
271//------------------------------------------------------------------------------
272
273 real
274 cp( const real T ) const;
275
276//------------------------------------------------------------------------------
277
278 real
279 h( const real T ) const;
280
281//------------------------------------------------------------------------------
282
283 real
284 h_ref() const;
285
286//------------------------------------------------------------------------------
287
288 real
289 H_ref() const;
290
291//------------------------------------------------------------------------------
292
293 real
294 s( const real T ) const;
295
296//------------------------------------------------------------------------------
297
298 real
299 dcpdT( const real T ) const;
300
301//------------------------------------------------------------------------------
302
303 real
304 d2cpdT2( const real T ) const;
305
307
308//------------------------------------------------------------------------------
309
326
327 real
328 mu( const real T ) const;
329
330//------------------------------------------------------------------------------
331
332 real
333 dmudT( const real T ) const;
334
335//------------------------------------------------------------------------------
336
337 real
338 d2mudT2( const real T ) const;
339
340//------------------------------------------------------------------------------
341
342 real
343 lambda( const real T ) const;
344
345//------------------------------------------------------------------------------
346
347 real
348 dlambdadT( const real T ) const;
349
350//------------------------------------------------------------------------------
351
352 real
353 d2lambdadT2( const real T ) const;
354
356
357//------------------------------------------------------------------------------
358
369
370 inline bool
371 has_thermo() const;
372
373//------------------------------------------------------------------------------
374
375 inline bool
376 has_conductivity() const;
377
378//------------------------------------------------------------------------------
379
380 inline bool
381 has_viscosity() const;
382
383
384//------------------------------------------------------------------------------
385
386 inline bool
387 has_components() const;
388
389//------------------------------------------------------------------------------
390
391 inline bool
392 is_noble() const;
393
395
396//------------------------------------------------------------------------------
397
407 void
408 set_mode( const RefGasMode & aMode );
409
410//------------------------------------------------------------------------------
411
415 inline GasData *
416 data();
417
418//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
419
423 inline const GasData *
424 data() const;
425
426
427//------------------------------------------------------------------------------
428
432 inline Spline *
433 heat_spline();
434
435//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
436
440 inline const Spline *
441 heat_spline() const;
442
443//------------------------------------------------------------------------------
444
448 inline Spline *
450
451//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
452
456 inline const Spline *
457 viscosity_spline() const;
458
459//------------------------------------------------------------------------------
460
464 inline Spline *
466
467//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
468
472 inline const Spline *
473 conductivity_spline() const;
474
475//------------------------------------------------------------------------------
476
477
478//------------------------------------------------------------------------------
479 protected:
480//------------------------------------------------------------------------------
481
485 void
486 finalize();
487
488//------------------------------------------------------------------------------
489
490 void
492 const Vector< real > & T,
493 SpMatrix & aHelpMatrix );
494
495
496//------------------------------------------------------------------------------
497
501 void
502 add_component( const string & aLabel, const real aValue );
503
504//------------------------------------------------------------------------------
505
510 void
511 set_molar_mass( const real aMolarMass );
512
513//------------------------------------------------------------------------------
514
518 void
519 set_reference_formation_enthalpy( const real aDeltaHf );
520
521//------------------------------------------------------------------------------
522
527 void
528 set_reference_enthalpy( const real aHref );
529
530//------------------------------------------------------------------------------
531
532 void
534
535
536//------------------------------------------------------------------------------
537
538 void
540
541//------------------------------------------------------------------------------
542
543 void
545
546//------------------------------------------------------------------------------
547
548 void
549 add_heat_poly( HeatPoly * aHeatPoly );
550
551//------------------------------------------------------------------------------
552
553 void
554 add_transport_poly( TransportPoly * aTransportPoly );
555
556//------------------------------------------------------------------------------
557
558 void
560
561//------------------------------------------------------------------------------
562
563 void
565
566//------------------------------------------------------------------------------
567
568 void
569 create_glue_polys_heat( const uint & aNumberOfOriginalPolynomials );
570
571//------------------------------------------------------------------------------
572
573 void
575
576//------------------------------------------------------------------------------
577
578 void
579 create_hot_poly_heat( const uint & aNumberOfOriginalPolynomials );
580
581//------------------------------------------------------------------------------
582
583 void
584 fix_reference_points( const uint & aStart, const uint & aEnd );
585
586//------------------------------------------------------------------------------
587
588 const HeatPoly *
589 find_heat_poly( const real T ) const;
590
591//------------------------------------------------------------------------------
592
593 const TransportPoly *
594 find_viscosity_poly( const real T ) const;
595
596//------------------------------------------------------------------------------
597
598 const TransportPoly *
599 find_conductivity_poly( const real T ) const;
600
601//------------------------------------------------------------------------------
602
603 void
605
606//------------------------------------------------------------------------------
607
608 void
610
611//------------------------------------------------------------------------------
612
613 void
616 const uint & aNumberOfOriginalPolynomials );
617
618//------------------------------------------------------------------------------
619
620 void
622 const uint & aNumberOfOriginalPolynomials );
623
624//------------------------------------------------------------------------------
625
626 void
628
629//------------------------------------------------------------------------------
630
631 real
632 zero( const real T ) const;
633
634//------------------------------------------------------------------------------
635
636 real
637 poly_Cp( const real T ) const;
638
639//------------------------------------------------------------------------------
640
641 real
642 poly_dCpdT( const real T ) const;
643
644//------------------------------------------------------------------------------
645
646 real
647 poly_d2CpdT2( const real T ) const;
648
649//------------------------------------------------------------------------------
650
651 real
652 poly_H( const real T ) const;
653
654//------------------------------------------------------------------------------
655
656 real
657 poly_S( const real T ) const;
658
659//------------------------------------------------------------------------------
660
661 real
662 poly_dSdT( const real T ) const;
663
664//------------------------------------------------------------------------------
665
666 real
667 poly_Mu( const real T ) const;
668
669//------------------------------------------------------------------------------
670
671 real
672 poly_dMudT( const real T ) const;
673
674//------------------------------------------------------------------------------
675
676 real
677 poly_d2MudT2( const real T ) const;
678
679//------------------------------------------------------------------------------
680
681 real
682 poly_Lambda( const real T ) const;
683
684//------------------------------------------------------------------------------
685
686 real
687 poly_dLambdadT( const real T ) const;
688
689//------------------------------------------------------------------------------
690
691 real
692 poly_d2LambdadT2( const real T ) const;
693
694//------------------------------------------------------------------------------
695
696 real
697 spline_Cp( const real T ) const;
698
699//------------------------------------------------------------------------------
700
701 real
702 spline_dCpdT( const real T ) const;
703
704//------------------------------------------------------------------------------
705
706 real
707 spline_H( const real T ) const;
708
709//------------------------------------------------------------------------------
710
711 real
712 spline_S( const real T ) const;
713
714//------------------------------------------------------------------------------
715
716 real
717 spline_dSdT( const real T ) const;
718
719//------------------------------------------------------------------------------
720
721 real
722 spline_Mu( const real T ) const;
723
724//------------------------------------------------------------------------------
725
726 real
727 spline_dMudT( const real T ) const;
728
729//------------------------------------------------------------------------------
730
731 real
732 spline_d2MudT2( const real T ) const;
733
734//------------------------------------------------------------------------------
735
736 real
737 spline_Lambda( const real T ) const;
738
739//------------------------------------------------------------------------------
740
741 real
742 spline_dLambdadT( const real T ) const;
743
744//------------------------------------------------------------------------------
745
746 real
747 spline_d2LambdadT2( const real T ) const;
748
749//------------------------------------------------------------------------------
750
751 void
752 fix_switches();
753
754//------------------------------------------------------------------------------
755
756 };
757//------------------------------------------------------------------------------
758
759 const string &
761 {
762 return mData.label();
763 }
764
765// ------------------------------------------------------------------------------
766
767 GasData *
769 {
770 return &mData;
771 }
772
773// ------------------------------------------------------------------------------
774
775 const GasData *
777 {
778 return & mData;
779 }
780
781// ------------------------------------------------------------------------------
782
783 real
784 RefGas::component_multiplicity( const string & aLabel ) const
785 {
786 return mData.component_multiplicity( aLabel );
787 }
788
789// ------------------------------------------------------------------------------
790
791 bool
793 {
794 return mLiquidFlag;
795 }
796
797// ------------------------------------------------------------------------------
798
799 const real &
800 RefGas::M() const
801 {
802 return mData.M();
803 }
804
805// ------------------------------------------------------------------------------
806
807 real
809 {
810 return mData.Hf();
811 }
812
813// ------------------------------------------------------------------------------
814
815 bool
817 {
818 return mHaveThermo;
819 }
820
821//------------------------------------------------------------------------------
822
823 bool
825 {
826 return mHaveConductivity;
827 }
828
829//------------------------------------------------------------------------------
830
831 bool
833 {
834 return mHaveViscosity ;
835 }
836
837
838//------------------------------------------------------------------------------
839
840 bool
842 {
843 return mHaveComponents;
844 }
845
846//------------------------------------------------------------------------------
847
848 bool
850 {
851 return mAmNoble;
852 }
853
854//------------------------------------------------------------------------------
855
856 Spline *
858 {
859 return & mHeatSpline;
860 }
861
862// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
863
864 const Spline *
866 {
867 return & mHeatSpline;
868 }
869
870//------------------------------------------------------------------------------
871
872 Spline *
874 {
875 return & mViscositySpline;
876 }
877
878// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
879
880 const Spline *
882 {
883 return & mViscositySpline;
884 }
885
886//------------------------------------------------------------------------------
887
888 Spline *
893
894// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
895
896 const Spline *
898 {
899 return & mConductivitySpline;
900 }
901
902//------------------------------------------------------------------------------
903 }
904}
905#endif //BELFEM_CL_GT_THERMO_HPP
Cell is a wrapper around the standard vector.
Definition cl_Cell.hpp:42
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:105
bool is_noble() const
Definition cl_GT_RefGas.hpp:849
real poly_d2MudT2(const real T) const
Definition cl_GT_RefGas.cpp:1090
real(RefGas::*) mFunctiond2MudT2(const real T) const
Definition cl_GT_RefGas.hpp:141
real(RefGas::*) mFunctionS(const real T) const
Definition cl_GT_RefGas.hpp:129
real cp(const real T) const
Definition cl_GT_RefGas.cpp:1288
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:1027
RefGas & operator=(const RefGas &)=delete
real d2CpdT2(const real T) const
Definition cl_GT_RefGas.cpp:970
void set_component_flag()
Definition cl_GT_RefGas.cpp:113
real poly_dCpdT(const real T) const
Definition cl_GT_RefGas.cpp:1059
real s(const real T) const
Definition cl_GT_RefGas.cpp:1304
real poly_dMudT(const real T) const
Definition cl_GT_RefGas.cpp:1082
Spline * viscosity_spline()
expose viscosity spline
Definition cl_GT_RefGas.hpp:873
friend InputThermo
Definition cl_GT_RefGas.hpp:152
real spline_d2LambdadT2(const real T) const
Definition cl_GT_RefGas.cpp:1202
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:1122
real reference_formation_enthalpy() const
reference formation enthalpy
Definition cl_GT_RefGas.hpp:808
real h(const real T) const
Definition cl_GT_RefGas.cpp:1296
real(RefGas::*) mFunctiond2CpdT2(const real T) const
Definition cl_GT_RefGas.hpp:123
GasData mData
Definition cl_GT_RefGas.hpp:84
bool has_viscosity() const
Definition cl_GT_RefGas.hpp:832
real S(const real T) const
Definition cl_GT_RefGas.cpp:946
bool mFinalizedFlag
Definition cl_GT_RefGas.hpp:108
void set_liquid_flag()
Definition cl_GT_RefGas.cpp:97
real lambda(const real T) const
Definition cl_GT_RefGas.cpp:1003
void delete_heat_polys()
Definition cl_GT_RefGas.cpp:159
real spline_d2MudT2(const real T) const
Definition cl_GT_RefGas.cpp:1178
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:834
real poly_S(const real T) const
Definition cl_GT_RefGas.cpp:1043
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:1146
const string & label() const
Definition cl_GT_RefGas.hpp:760
Spline * heat_spline()
expose heat spline
Definition cl_GT_RefGas.hpp:857
void add_transport_poly(TransportPoly *aTransportPoly)
Definition cl_GT_RefGas.cpp:130
GasData * data()
expose data object
Definition cl_GT_RefGas.hpp:768
bool has_conductivity() const
Definition cl_GT_RefGas.hpp:824
real spline_H(const real T) const
Definition cl_GT_RefGas.cpp:1138
real dSdT(const real T) const
Definition cl_GT_RefGas.cpp:954
real(RefGas::*) mFunctionLambda(const real T) const
Definition cl_GT_RefGas.hpp:144
real poly_H(const real T) const
Definition cl_GT_RefGas.cpp:1035
real component_multiplicity(const string &aLabel) const
return the composition if the element exists
Definition cl_GT_RefGas.hpp:784
Spline * conductivity_spline()
expose conductivity spline
Definition cl_GT_RefGas.hpp:889
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:1328
bool has_thermo() const
Definition cl_GT_RefGas.hpp:816
real poly_d2CpdT2(const real T) const
Definition cl_GT_RefGas.cpp:1066
real dcpdT(const real T) const
Definition cl_GT_RefGas.cpp:1312
real(RefGas::*) mFunctiondSdT(const real T) const
Definition cl_GT_RefGas.hpp:132
Spline mViscositySpline
Definition cl_GT_RefGas.hpp:113
Spline mConductivitySpline
Definition cl_GT_RefGas.hpp:114
real(RefGas::*) mFunctiondLambdadT(const real T) const
Definition cl_GT_RefGas.hpp:147
real dlambdadT(const real T) const
Definition cl_GT_RefGas.cpp:1011
real dmudT(const real T) const
Definition cl_GT_RefGas.cpp:986
bool has_components() const
Definition cl_GT_RefGas.hpp:841
RefGas(const string &aLabel)
Definition cl_GT_RefGas.cpp:40
void create_splines(const Vector< real > &T, SpMatrix &aHelpMatrix)
Definition cl_GT_RefGas.cpp:1210
real poly_dSdT(const real T) const
Definition cl_GT_RefGas.cpp:1051
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:962
real(RefGas::*) mFunctionCp(const real T) const
Definition cl_GT_RefGas.hpp:117
void finalize_thermo()
Definition cl_GT_RefGas.cpp:204
real d2lambdadT2(const real T) const
Definition cl_GT_RefGas.cpp:1019
const real & M() const
molar mass in kg/Mol
Definition cl_GT_RefGas.hpp:800
real poly_dLambdadT(const real T) const
Definition cl_GT_RefGas.cpp:1106
real spline_Lambda(const real T) const
Definition cl_GT_RefGas.cpp:1186
void create_hot_poly_heat(const uint &aNumberOfOriginalPolynomials)
Definition cl_GT_RefGas.cpp:724
real spline_dSdT(const real T) const
Definition cl_GT_RefGas.cpp:1154
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:813
void delete_transport_polys()
Definition cl_GT_RefGas.cpp:177
real spline_dCpdT(const real T) const
Definition cl_GT_RefGas.cpp:1130
real zero(const real T) const
Definition cl_GT_RefGas.cpp:907
real poly_Mu(const real T) const
Definition cl_GT_RefGas.cpp:1074
real poly_d2LambdadT2(const real T) const
Definition cl_GT_RefGas.cpp:1114
real H_ref() const
Definition cl_GT_RefGas.cpp:914
real spline_Mu(const real T) const
Definition cl_GT_RefGas.cpp:1162
real h_ref() const
Definition cl_GT_RefGas.cpp:922
bool is_liquid() const
Definition cl_GT_RefGas.hpp:792
real(RefGas::*) mFunctionMu(const real T) const
Definition cl_GT_RefGas.hpp:135
Spline mHeatSpline
Definition cl_GT_RefGas.hpp:112
void fix_reference_points(const uint &aStart, const uint &aEnd)
Definition cl_GT_RefGas.cpp:746
real d2cpdT2(const real T) const
Definition cl_GT_RefGas.cpp:1320
RefGas(const RefGas &)=delete
real(RefGas::*) mFunctiondCpdT(const real T) const
Definition cl_GT_RefGas.hpp:120
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:791
real(RefGas::*) mFunctiond2LambdadT2(const real T) const
Definition cl_GT_RefGas.hpp:150
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:770
friend RefGasFactory
Definition cl_GT_RefGas.hpp:154
real mu(const real T) const
Definition cl_GT_RefGas.cpp:978
bool mHaveComponents
Definition cl_GT_RefGas.hpp:110
real Cp(const real T) const
Definition cl_GT_RefGas.cpp:930
void unset_liquid_flag()
Definition cl_GT_RefGas.cpp:105
real spline_dMudT(const real T) const
Definition cl_GT_RefGas.cpp:1170
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:138
real(RefGas::*) mFunctionH(const real T) const
Definition cl_GT_RefGas.hpp:126
real poly_Lambda(const real T) const
Definition cl_GT_RefGas.cpp:1098
real spline_dLambdadT(const real T) const
Definition cl_GT_RefGas.cpp:1194
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:995
real H(const real T) const
Definition cl_GT_RefGas.cpp:938
friend InputTransport
Definition cl_GT_RefGas.hpp:153
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