MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
hfluid_.h
Go to the documentation of this file.
1 /* $Header: /var/cvs/mbdyn/mbdyn/mbdyn-1.0/mbdyn/hydr/hfluid_.h,v 1.26 2017/01/12 14:46:32 masarati Exp $ */
2 /*
3  * MBDyn (C) is a multibody analysis code.
4  * http://www.mbdyn.org
5  *
6  * Copyright (C) 1996-2017
7  *
8  * Pierangelo Masarati <masarati@aero.polimi.it>
9  * Paolo Mantegazza <mantegazza@aero.polimi.it>
10  *
11  * Dipartimento di Ingegneria Aerospaziale - Politecnico di Milano
12  * via La Masa, 34 - 20156 Milano, Italy
13  * http://www.aero.polimi.it
14  *
15  * Changing this copyright notice is forbidden.
16  *
17  * This program is free software; you can redistribute it and/or modify
18  * it under the terms of the GNU General Public License as published by
19  * the Free Software Foundation (version 2 of the License).
20  *
21  *
22  * This program is distributed in the hope that it will be useful,
23  * but WITHOUT ANY WARRANTY; without even the implied warranty of
24  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25  * GNU General Public License for more details.
26  *
27  * You should have received a copy of the GNU General Public License
28  * along with this program; if not, write to the Free Software
29  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
30  */
31 
32 /*
33  * Copyright 1999-2000 Lamberto Puggelli <puggelli@tiscalinet.it>
34  * Dipartimento di Ingegneria Aerospaziale - Politecnico di Milano
35  */
36 
37 #ifndef HFLUID__H
38 #define HFLUID__H
39 
40 #include <hfluid.h>
41 
42 /* IncompressibleHydraulicFluid - begin */
43 
45  protected:
48 
49  public:
50  IncompressibleHydraulicFluid(unsigned int Label,
51  const doublereal& dDensity,
52  const doublereal& dViscosity = 0.,
53  const doublereal& dPres0 = -1.,
54  const doublereal& dTemp0 = -1.)
55  : HydraulicFluid(Label, dPres0, dTemp0),
56  dDensity(dDensity), dViscosity(dViscosity) {
57  NO_OP;
58  };
60  : HydraulicFluid(HF),
62  NO_OP;
63  };
64 
66  NO_OP;
67  };
68 
69  /* crea una copia dell'HF */
70  HydraulicFluid* pCopy(void) const {
71  HydraulicFluid* pHF = NULL;
75  return pHF;
76  };
77 
78  doublereal dGetDensity(void) const {
79  return dDensity;
80  };
81  doublereal dGetDensity(const doublereal& /* dPres */ ) const {
82  return dDensity;
83  };
84  doublereal dGetDensity(const doublereal& /* dPres */ , const doublereal& /* dTemp */ ) const {
85  return dDensity;
86  };
87 
89  return 0.;
90  };
91  doublereal dGetDensityDPres(const doublereal& /* dPres */ ) const {
92  return 0.;
93  };
94  doublereal dGetDensityDPres(const doublereal& /* dPres */ , const doublereal& /* dTemp */ ) const {
95  return 0.;
96  };
97 
99  return 0.;
100  };
101  doublereal dGetDensityDTemp(const doublereal& /* dPres */ ) const {
102  return 0.;
103  };
104  doublereal dGetDensityDTemp(const doublereal& /* dPres */ , const doublereal& /* dTemp */ ) const {
105  return 0.;
106  };
107 
108  doublereal dGetViscosity(void) const {
109  return dViscosity;
110  };
111 
112  doublereal dGetViscosity(const doublereal& /* dPres */ ) const {
113  return dViscosity;
114  };
115 
116  doublereal dGetViscosity(const doublereal& /* dPres */ , const doublereal& /* dTemp */ ) const {
117  return dViscosity;
118  };
119 };
120 
121 /* IncompressibleHydraulicFluid - end */
122 
123 
124 /* LinearCompressibleHydraulicFluid - begin */
125 
127  protected:
132 
133  public:
134  LinearCompressibleHydraulicFluid(unsigned int Label,
135  const doublereal& dDens,
136  const doublereal& dB,
137  const doublereal& dPr0,
138  const doublereal& dVisc = 0.,
139  const doublereal dTp0 = -1.)
140  : HydraulicFluid(Label, dPr0, dTp0),
141  dDensity(dDens),
142  dBeta(dB),
143  dDensityDPres(0.),
144  dViscosity(dVisc) {
145  if (dB == 0.) {
147  }
148  (doublereal&)dDensityDPres = dDens/dB;
149  };
150 
152  : HydraulicFluid(HF),
153  dDensity(HF.dDensity),
154  dBeta(HF.dBeta),
155  dDensityDPres(0.),
156  dViscosity(HF.dViscosity) {
157  if (dBeta == 0.) {
159  }
161  };
162 
164  NO_OP;
165  };
166 
167  /* crea una copia dell'HF */
168  HydraulicFluid* pCopy(void) const {
169  HydraulicFluid* pHF = NULL;
173  return pHF;
174  };
175 
176  /* densita' */
177  virtual doublereal dGetDensity(void) const {
178  return dDensity;
179  };
180  virtual doublereal dGetDensity(const doublereal& dPres) const {
181  return dDensity+(dPres-dPres0)*dDensityDPres;
182  };
183  virtual doublereal dGetDensity(const doublereal& dPres,
184  const doublereal& /* dTemp */) const {
185  return dGetDensity(dPres);
186  };
187 
188 
189  virtual doublereal dGetDensityDPres(void) const {
190  return dDensityDPres;
191  };
192  virtual doublereal dGetDensityDPres(const doublereal& /* dPres */ ) const {
193  return dDensityDPres;
194  };
195  virtual doublereal dGetDensityDPres(const doublereal& /* dPres */ , const doublereal& /* dTemp */ ) const {
196  return dDensityDPres;
197  };
198 
199  virtual doublereal dGetDensityDTemp(void) const {
200  return 0.;
201  };
202  virtual doublereal dGetDensityDTemp(const doublereal& /* dPres */ ) const {
203  return 0.;
204  };
205  virtual doublereal dGetDensityDTemp(const doublereal& /* dPres */ , const doublereal& /* dTemp */ ) const {
206  return 0.;
207  };
208 
209  doublereal dGetViscosity(void) const {
210  return dViscosity;
211  };
212 
213  doublereal dGetViscosity(const doublereal& /* dPres */ ) const {
214  return dViscosity;
215  };
216 
217  doublereal dGetViscosity(const doublereal& /* dPres */ , const doublereal& /* dTemp */ ) const {
218  return dViscosity;
219  };
220 };
221 
222 /* LinearCompressibleHydraulicFluid - end */
223 
224 
225 /* LinearCompressibleTHydraulicFluid - begin */
226 
229  protected:
230  const doublereal dAlpha; /* mettere il nome vero */
232 
233  public:
235  const doublereal& dDensity,
236  const doublereal& dBeta,
237  const doublereal& dPres0,
238  const doublereal& dAlpha,
239  const doublereal& dTemp0,
240  const doublereal& dViscosity = 0.)
241  : LinearCompressibleHydraulicFluid(Label, dDensity, dBeta, dPres0, dViscosity, dTemp0),
242  dAlpha(dAlpha),
243  dDensityDTemp(0.) {
244  (doublereal&)dDensityDTemp = -dDensity*dAlpha;
245  };
246 
249  dAlpha(HF.dAlpha),
250  dDensityDTemp(0.) {
252  };
253 
255  NO_OP;
256  };
257 
258  /* crea una copia dell'HF */
259  HydraulicFluid* pCopy(void) const {
260  HydraulicFluid* pHF = NULL;
264  return pHF;
265  };
266 
267  /* densita' */
268  doublereal dGetDensity(const doublereal& dPres, const doublereal& dTemp) const {
270  };
271 
272 
274  return dDensityDTemp;
275  };
276  doublereal dGetDensityDTemp(const doublereal& /* dPres */ ) const {
277  return dDensityDTemp;
278  };
279  doublereal dGetDensityDTemp(const doublereal& /* dPres */ , const doublereal& /* dTemp */ ) const {
280  return dDensityDTemp;
281  };
282 };
283 
284 /* LinearCompressibleTHydraulicFluid - end */
285 
286 
287 /* SuperHydraulicFluid - begin */
288 
289 static const doublereal a = 2.e-5;
290 static const doublereal dPresRif = .2*101325.;
291 static const doublereal dRhoZero = 977.*1.e-2;
292 
294  protected:
299 
300  public:
301  SuperHydraulicFluid(unsigned int Label,
302  const doublereal& dDens,
303  const doublereal& dB,
304  const doublereal& dPr0,
305  const doublereal& dVisc = 0.,
306  const doublereal dTp0 = -1.)
307  : HydraulicFluid(Label, dPr0, dTp0),
308  dDensity(dDens),
309  dBeta(dB),
310  dDensityDPres(0.),
311  dViscosity(dVisc) {
312  if (dB == 0.) {
314  }
315  (doublereal&)dDensityDPres = dDens/dB;
316  };
317 
319  : HydraulicFluid(HF),
320  dDensity(HF.dDensity),
321  dBeta(HF.dBeta),
322  dDensityDPres(0.),
323  dViscosity(HF.dViscosity) {
324  if (dBeta == 0.) {
326  }
328  };
329 
331  NO_OP;
332  };
333 
334  /* crea una copia dell'HF */
335  HydraulicFluid* pCopy(void) const {
336  HydraulicFluid* pHF = NULL;
339  SuperHydraulicFluid(*this));
340  return pHF;
341  };
342 
343  enum { DEFAULT, ZERO, SMALL, INFTY, TANH };
344  static const int type = TANH;
345 
346  /* densita' */
347  virtual doublereal dGetDensity(void) const {
348  return dDensity;
349  };
350 
351  virtual doublereal dGetDensity(const doublereal& dPres) const {
352  switch (type) {
353  case DEFAULT:
354  default:
355  return dDensity+(dPres-dPres0)*dDensityDPres;
356  case ZERO:
357  if (dPres <= dPres0) {
358  return dDensity;
359  }
360  return dDensity+(dPres-dPres0)*dDensityDPres;
361 
362  case SMALL:
363  if (dPres <= 0.) {
364  return dDensity-dPres0*dDensityDPres+dPres*dDensityDPres*1.e-3;
365  }
366  return dDensity+(dPres-dPres0)*dDensityDPres;
367 
368  case INFTY:
369  if (dPres <= 0.) {
370  return dDensity-dPres0*dDensityDPres+dPres*1.e6;
371  }
372  return dDensity+(dPres-dPres0)*dDensityDPres;
373  case TANH:
374  doublereal d = ::dRhoZero+dDensity*.5*(1. + tanh(::a*(dPres-::dPresRif)));
375  if (dPres > ::dPresRif) {
376  d += (dPres-::dPresRif)*dDensityDPres;
377  }
378  return d;
379  }
380  };
381  virtual doublereal dGetDensity(const doublereal& dPres,
382  const doublereal& /* dTemp */ ) const {
383  return dGetDensity(dPres);
384  };
385 
386 
387  virtual doublereal dGetDensityDPres(void) const {
388  return dDensityDPres;
389  };
390 
391  virtual doublereal dGetDensityDPres(const doublereal& dPres) const {
392  switch (type) {
393  case DEFAULT:
394  default:
395  return dDensityDPres;
396  case ZERO:
397  if (dPres <= 0.) {
398  return 0.;
399  }
400  return dDensityDPres;
401  case SMALL:
402  if (dPres <= 0.) {
403  return dDensityDPres*1.e-3;
404  }
405  return dDensityDPres;
406  case INFTY:
407  if (dPres <= 0.) {
408  return 1.e6;
409  }
410  return dDensityDPres;
411  case TANH:
412  doublereal d = ::a*dDensity*.5/pow(cosh(::a*(dPres-::dPresRif)), 2);
413  if (dPres > ::dPresRif) {
414  d += dDensityDPres;
415  }
416  return d;
417  }
418  };
419  virtual doublereal dGetDensityDPres(const doublereal& dPres, const doublereal& /* dTemp */ ) const {
420  return dGetDensityDPres(dPres);
421  };
422 
423  virtual doublereal dGetDensityDTemp(void) const {
424  return 0.;
425  };
426  virtual doublereal dGetDensityDTemp(const doublereal& /* dPres */ ) const {
427  return 0.;
428  };
429  virtual doublereal dGetDensityDTemp(const doublereal& /* dPres */ , const doublereal& /* dTemp */ ) const {
430  return 0.;
431  };
432 
433  doublereal dGetViscosity(void) const {
434  return dViscosity;
435  };
436 
437  doublereal dGetViscosity(const doublereal& dPres) const {
438  if (dPres < ::dPresRif) {
439  return 1.e-6*dViscosity;
440  }
441  return dViscosity;
442  };
443 
444  doublereal dGetViscosity(const doublereal& dPres, const doublereal& /* dTemp */ ) const {
445  return dGetViscosity(dPres);
446  };
447 };
448 
449 /* SuperHydraulicFluid - end */
450 
451 /* ExpHydraulicFluid - begin */
452 
454  protected:
459 
460  public:
461  ExpHydraulicFluid(unsigned int Label,
462  const doublereal& dDens,
463  const doublereal& dB,
464  const doublereal& dPr0,
465  const doublereal& dPs,
466  const doublereal& dVisc = 0.,
467  const doublereal dTp0 = -1.)
468  : HydraulicFluid(Label, dPr0, dTp0),
469  dDensity(dDens),
470  dBeta(dB),
471  dViscosity(dVisc),
472  dPsat(dPs) {
473  if (dB == 0.) {
475  }
476  };
477 
479  : HydraulicFluid(HF),
480  dDensity(HF.dDensity),
481  dBeta(HF.dBeta),
483  dPsat(HF.dPsat) {
484  if (dBeta == 0.) {
486  }
487  };
488 
489  virtual ~ExpHydraulicFluid() {
490  NO_OP;
491  };
492 
493  /* crea una copia dell'HF */
494  HydraulicFluid* pCopy(void) const {
495  HydraulicFluid* pHF = NULL;
498  ExpHydraulicFluid(*this));
499  return pHF;
500  };
501 
502  /* densita' */
503  virtual doublereal dGetDensity(void) const {
504  return dDensity;
505  };
506 
507  virtual doublereal dGetDensity(const doublereal& dPres) const {
508  /*
509  * Inspired by AMESim's simple saturating fluid
510  */
511  if (dPres >= dPsat) {
512  return dDensity*exp((dPres-dPres0)/dBeta);
513  } else {
514  return dDensity*exp(1000.*(dPres-dPres0)/dBeta);
515  }
516  };
517  virtual doublereal dGetDensity(const doublereal& dPres,
518  const doublereal& /* dTemp */ ) const {
519  return dGetDensity(dPres);
520  };
521 
522 
523  virtual doublereal dGetDensityDPres(void) const {
524  return dDensity/dBeta;
525  };
526 
527  virtual doublereal dGetDensityDPres(const doublereal& dPres) const {
528  if (dPres >= dPsat) {
529  return dDensity/dBeta*exp((dPres-dPres0)/dBeta);
530  } else {
531  return dDensity*1000./dBeta*exp(1000.*(dPres-dPres0)/dBeta);
532  }
533  };
534 
535  virtual doublereal dGetDensityDPres(const doublereal& dPres, const doublereal& /* dTemp */ ) const {
536  return dGetDensityDPres(dPres);
537  };
538 
539  virtual doublereal dGetDensityDTemp(void) const {
540  return 0.;
541  };
542  virtual doublereal dGetDensityDTemp(const doublereal& /* dPres */ ) const {
543  return 0.;
544  };
545  virtual doublereal dGetDensityDTemp(const doublereal& /* dPres */ , const doublereal& /* dTemp */ ) const {
546  return 0.;
547  };
548 
549  doublereal dGetViscosity(void) const {
550  return dViscosity;
551  };
552 
553  doublereal dGetViscosity(const doublereal& dPres) const {
554  if (dPres >= dPsat) {
555  return dViscosity;
556  } else {
557  return 0.;
558  }
559  };
560 
561  doublereal dGetViscosity(const doublereal& dPres, const doublereal& /* dTemp */ ) const {
562  return dGetViscosity(dPres);
563  };
564 };
565 
566 /* ExpHydraulicFluid - end */
567 
568 #endif /* HFLUID__H */
GradientExpression< UnaryExpr< FuncTanh, Expr > > tanh(const GradientExpression< Expr > &u)
Definition: gradient.h:2982
GradientExpression< UnaryExpr< FuncExp, Expr > > exp(const GradientExpression< Expr > &u)
Definition: gradient.h:2975
doublereal dGetDensityDPres(const doublereal &, const doublereal &) const
Definition: hfluid_.h:94
virtual doublereal dGetDensityDPres(void) const
Definition: hfluid_.h:189
virtual doublereal dGetDensity(const doublereal &dPres) const
Definition: hfluid_.h:180
doublereal dGetDensity(const doublereal &dPres, const doublereal &dTemp) const
Definition: hfluid_.h:268
const doublereal dViscosity
Definition: hfluid_.h:131
GradientExpression< BinaryExpr< FuncPow, LhsExpr, RhsExpr > > pow(const GradientExpression< LhsExpr > &u, const GradientExpression< RhsExpr > &v)
Definition: gradient.h:2961
const doublereal dViscosity
Definition: hfluid_.h:47
#define MBDYN_EXCEPT_ARGS
Definition: except.h:63
LinearCompressibleHydraulicFluid(unsigned int Label, const doublereal &dDens, const doublereal &dB, const doublereal &dPr0, const doublereal &dVisc=0., const doublereal dTp0=-1.)
Definition: hfluid_.h:134
doublereal dGetViscosity(void) const
Definition: hfluid_.h:433
doublereal dGetViscosity(const doublereal &dPres, const doublereal &) const
Definition: hfluid_.h:561
virtual doublereal dGetDensityDTemp(const doublereal &) const
Definition: hfluid_.h:426
const doublereal dDensityDPres
Definition: hfluid_.h:297
virtual doublereal dGetDensityDPres(void) const
Definition: hfluid_.h:387
HydraulicFluid * pCopy(void) const
Definition: hfluid_.h:259
virtual doublereal dGetDensity(void) const
Definition: hfluid_.h:347
doublereal dGetDensityDTemp(void) const
Definition: hfluid_.h:273
virtual doublereal dGetDensityDPres(const doublereal &dPres, const doublereal &) const
Definition: hfluid_.h:535
virtual doublereal dGetDensity(const doublereal &dPres) const
Definition: hfluid_.h:507
IncompressibleHydraulicFluid(unsigned int Label, const doublereal &dDensity, const doublereal &dViscosity=0., const doublereal &dPres0=-1., const doublereal &dTemp0=-1.)
Definition: hfluid_.h:50
virtual doublereal dGetDensity(const doublereal &dPres) const
Definition: hfluid_.h:351
doublereal dGetDensityDPres(const doublereal &) const
Definition: hfluid_.h:91
virtual doublereal dGetDensity(void) const
Definition: hfluid_.h:503
static const doublereal dRhoZero
Definition: hfluid_.h:291
SuperHydraulicFluid(unsigned int Label, const doublereal &dDens, const doublereal &dB, const doublereal &dPr0, const doublereal &dVisc=0., const doublereal dTp0=-1.)
Definition: hfluid_.h:301
virtual doublereal dGetDensityDTemp(void) const
Definition: hfluid_.h:199
doublereal dGetViscosity(void) const
Definition: hfluid_.h:549
ExpHydraulicFluid(const ExpHydraulicFluid &HF)
Definition: hfluid_.h:478
doublereal dGetViscosity(const doublereal &dPres) const
Definition: hfluid_.h:553
#define NO_OP
Definition: myassert.h:74
virtual doublereal dGetDensityDPres(const doublereal &dPres) const
Definition: hfluid_.h:527
virtual doublereal dGetDensityDTemp(void) const
Definition: hfluid_.h:539
HydraulicFluid * pCopy(void) const
Definition: hfluid_.h:335
const doublereal dDensity
Definition: hfluid_.h:455
doublereal dGetViscosity(const doublereal &dPres, const doublereal &) const
Definition: hfluid_.h:444
doublereal dGetViscosity(const doublereal &, const doublereal &) const
Definition: hfluid_.h:116
doublereal dGetDensity(void) const
Definition: hfluid_.h:78
doublereal dGetViscosity(void) const
Definition: hfluid_.h:209
static const doublereal dPresRif
Definition: hfluid_.h:290
virtual doublereal dGetDensityDTemp(const doublereal &, const doublereal &) const
Definition: hfluid_.h:429
const doublereal dBeta
Definition: hfluid_.h:296
IncompressibleHydraulicFluid(const IncompressibleHydraulicFluid &HF)
Definition: hfluid_.h:59
doublereal dGetDensity(const doublereal &) const
Definition: hfluid_.h:81
virtual doublereal dGetDensityDTemp(const doublereal &) const
Definition: hfluid_.h:542
const doublereal dDensityDPres
Definition: hfluid_.h:130
GradientExpression< UnaryExpr< FuncCosh, Expr > > cosh(const GradientExpression< Expr > &u)
Definition: gradient.h:2981
doublereal dGetViscosity(const doublereal &, const doublereal &) const
Definition: hfluid_.h:217
virtual doublereal dGetDensityDTemp(const doublereal &, const doublereal &) const
Definition: hfluid_.h:205
const doublereal dDensity
Definition: hfluid_.h:46
static const int type
Definition: hfluid_.h:344
doublereal dGetDensityDTemp(const doublereal &) const
Definition: hfluid_.h:276
virtual doublereal dGetDensity(void) const
Definition: hfluid_.h:177
doublereal dGetDensity(const doublereal &, const doublereal &) const
Definition: hfluid_.h:84
virtual doublereal dGetDensity(const doublereal &dPres, const doublereal &) const
Definition: hfluid_.h:381
const doublereal dPres0
Definition: hfluid.h:48
virtual ~LinearCompressibleHydraulicFluid()
Definition: hfluid_.h:163
HydraulicFluid * pCopy(void) const
Definition: hfluid_.h:168
virtual doublereal dGetDensityDTemp(const doublereal &, const doublereal &) const
Definition: hfluid_.h:545
const doublereal dDensity
Definition: hfluid_.h:128
LinearCompressibleHydraulicFluid(const LinearCompressibleHydraulicFluid &HF)
Definition: hfluid_.h:151
doublereal dGetDensityDTemp(const doublereal &, const doublereal &) const
Definition: hfluid_.h:104
virtual doublereal dGetDensityDTemp(const doublereal &) const
Definition: hfluid_.h:202
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
Definition: mynewmem.h:698
const doublereal dDensity
Definition: hfluid_.h:295
LinearCompressibleTHydraulicFluid(const LinearCompressibleTHydraulicFluid &HF)
Definition: hfluid_.h:247
HydraulicFluid * pCopy(void) const
Definition: hfluid_.h:494
const doublereal dPsat
Definition: hfluid_.h:458
virtual ~ExpHydraulicFluid()
Definition: hfluid_.h:489
ExpHydraulicFluid(unsigned int Label, const doublereal &dDens, const doublereal &dB, const doublereal &dPr0, const doublereal &dPs, const doublereal &dVisc=0., const doublereal dTp0=-1.)
Definition: hfluid_.h:461
virtual doublereal dGetDensityDPres(const doublereal &dPres) const
Definition: hfluid_.h:391
virtual doublereal dGetDensity(const doublereal &dPres, const doublereal &) const
Definition: hfluid_.h:517
const doublereal dBeta
Definition: hfluid_.h:456
SuperHydraulicFluid(const SuperHydraulicFluid &HF)
Definition: hfluid_.h:318
doublereal dGetViscosity(const doublereal &dPres) const
Definition: hfluid_.h:437
doublereal dGetDensityDTemp(const doublereal &) const
Definition: hfluid_.h:101
doublereal dGetViscosity(void) const
Definition: hfluid_.h:108
virtual doublereal dGetDensityDPres(const doublereal &dPres, const doublereal &) const
Definition: hfluid_.h:419
HydraulicFluid * pCopy(void) const
Definition: hfluid_.h:70
doublereal dGetDensityDPres(void) const
Definition: hfluid_.h:88
doublereal dGetDensityDTemp(void) const
Definition: hfluid_.h:98
virtual doublereal dGetDensity(const doublereal &dPres, const doublereal &) const
Definition: hfluid_.h:183
const doublereal dViscosity
Definition: hfluid_.h:298
static const doublereal a
Definition: hfluid_.h:289
const doublereal dTemp0
Definition: hfluid.h:49
virtual doublereal dGetDensityDTemp(void) const
Definition: hfluid_.h:423
const doublereal dViscosity
Definition: hfluid_.h:457
double doublereal
Definition: colamd.c:52
virtual doublereal dGetDensityDPres(const doublereal &) const
Definition: hfluid_.h:192
const doublereal dDensityDTemp
Definition: hfluid_.h:231
doublereal dGetViscosity(const doublereal &) const
Definition: hfluid_.h:213
virtual doublereal dGetDensityDPres(const doublereal &, const doublereal &) const
Definition: hfluid_.h:195
doublereal dGetViscosity(const doublereal &) const
Definition: hfluid_.h:112
virtual doublereal dGetDensityDPres(void) const
Definition: hfluid_.h:523
doublereal dGetDensityDTemp(const doublereal &, const doublereal &) const
Definition: hfluid_.h:279
virtual ~SuperHydraulicFluid()
Definition: hfluid_.h:330
LinearCompressibleTHydraulicFluid(unsigned int Label, const doublereal &dDensity, const doublereal &dBeta, const doublereal &dPres0, const doublereal &dAlpha, const doublereal &dTemp0, const doublereal &dViscosity=0.)
Definition: hfluid_.h:234