Nowadays, the evaluation of the transport and thermodynamic properties in computational fluid dynamics (CFD) analysis is based on common real gas equations (such as Redlich-Kwong and Peng-Robinson equations of state) and polynomial models. Such quantities are not always accurate: very large pressure ranges, working conditions close to the critical point or phase change could introduce an error during the computation of the thermophysical properties of interest. Moreover, the computational effort of numerical simulations is strongly affected by the evaluation of such properties. In light of these considerations, and to extend the modeling capabilities of CFD software suites, a fluid thermophysical property library can be included in the computation of the quantities required for the solution of the flow field. The focus of this work is the coupling of an open source CFD tool (OpenFOAM) with the open source CoolProp library. The proposed wrapper is intended to provide a connection between the most popular open-source thermophysical library and one of the most used open-source CFD software. CoolFOAM extends the thermophysical modeling possibilities of OpenFOAM. The formal implementation of this library follows the coding standards of the CFD suite.

CoolFOAM: The CoolProp wrapper for OpenFOAM

Fadiga E.
Primo
;
Casari N.
Secondo
;
Suman A.
Penultimo
;
Pinelli M.
Ultimo
2020

Abstract

Nowadays, the evaluation of the transport and thermodynamic properties in computational fluid dynamics (CFD) analysis is based on common real gas equations (such as Redlich-Kwong and Peng-Robinson equations of state) and polynomial models. Such quantities are not always accurate: very large pressure ranges, working conditions close to the critical point or phase change could introduce an error during the computation of the thermophysical properties of interest. Moreover, the computational effort of numerical simulations is strongly affected by the evaluation of such properties. In light of these considerations, and to extend the modeling capabilities of CFD software suites, a fluid thermophysical property library can be included in the computation of the quantities required for the solution of the flow field. The focus of this work is the coupling of an open source CFD tool (OpenFOAM) with the open source CoolProp library. The proposed wrapper is intended to provide a connection between the most popular open-source thermophysical library and one of the most used open-source CFD software. CoolFOAM extends the thermophysical modeling possibilities of OpenFOAM. The formal implementation of this library follows the coding standards of the CFD suite.
2020
Fadiga, E.; Casari, N.; Suman, A.; Pinelli, M.
File in questo prodotto:
File Dimensione Formato  
1-s2.0-S0010465519303777-main.pdf

solo gestori archivio

Descrizione: versione editoriale
Tipologia: Full text (versione editoriale)
Licenza: DRM non definito
Dimensione 1.37 MB
Formato Adobe PDF
1.37 MB Adobe PDF   Visualizza/Apri   Richiedi una copia
j.cpc.2019.107047.pdf

accesso aperto

Descrizione: Post-print
Tipologia: Post-print
Licenza: Creative commons
Dimensione 2 MB
Formato Adobe PDF
2 MB Adobe PDF Visualizza/Apri

I documenti in SFERA sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11392/2415230
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 9
  • ???jsp.display-item.citation.isi??? 6
social impact