General Template Units for the Finite Volume Method in Box-Shaped Domains

In this work, we develop an extension of the Curiously Recurring Template Pattern (CRTP), which allows us to organize three related concepts in a class hierarchy. Generalizations, specializations and special procedures are the concepts that we use to define and implement several tools. We call these...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:ACM transactions on mathematical software 2016-08, Vol.43 (1), p.1-32
Hauptverfasser: Cruz, Luis M. De La, Ramos, Eduardo
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page 32
container_issue 1
container_start_page 1
container_title ACM transactions on mathematical software
container_volume 43
creator Cruz, Luis M. De La
Ramos, Eduardo
description In this work, we develop an extension of the Curiously Recurring Template Pattern (CRTP), which allows us to organize three related concepts in a class hierarchy. Generalizations, specializations and special procedures are the concepts that we use to define and implement several tools. We call these tools general template units because they are well-defined building blocks (units) for numerically solving partial differential equations (PDEs), are based on the use of templates of the C++ language, and can be applied in the solution of different kinds of problems. We focus on the solution of PDEs using the Finite Volume Method (FVM) in box-shaped domains. The three concepts just mentioned are intensively used to generate optimized codes for each case study. The convenience of our approach is highlighted in the numerical solutions of the examples of application, including laminar thermal convection, turbulent thermal convection, as well as a two-phase flow model in porous media, all of them in one, two, and three dimensions. The mathematical models of these examples were obtained using the axiomatic formulation, which provides generality, simplicity, and clarity to tackle any continuum mechanics application. The ideas explained in this work are quite simple but powerful in solving fluid dynamics problems, in which the conservativeness of the FVM is an important feature. The techniques developed in this work allow us to swap easily between numerical schemes for computing the coefficients obtained by applying the FVM.
doi_str_mv 10.1145/2835175
format Article
fullrecord <record><control><sourceid>proquest_cross</sourceid><recordid>TN_cdi_proquest_miscellaneous_1855385586</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>1855385586</sourcerecordid><originalsourceid>FETCH-LOGICAL-c258t-73e7fe9d4243229e03f044f8b43b87e4450171d4002afc2220797c320605546e3</originalsourceid><addsrcrecordid>eNotkE9Lw0AUxBdRsFbxK-xNL9G3f153c9RqtVDxYOs1bJO3NJJk424K-u2NtIdhGPgxDMPYtYA7ITTeS6tQGDxhE4FoMiNzPGUTgNxmCgHO2UVKXwAghRETtnyhjqJr-JravnED8U1XD4n7EPmwI76ox0j8MzT7lvgbDbtQ8brjj-En-9i5nir-FFpXd-mSnXnXJLo6-pRtFs_r-Wu2en9Zzh9WWSnRDplRZDzllZZaSZkTKA9ae7vVamsNaY0wDqv0OND5UkoJJjelkjADRD0jNWW3h94-hu89paFo61RS07iOwj4VwiKqUXY2ojcHtIwhpUi-6GPduvhbCCj-zyqOZ6k_B01Ykg</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>1855385586</pqid></control><display><type>article</type><title>General Template Units for the Finite Volume Method in Box-Shaped Domains</title><source>ACM Digital Library Complete</source><creator>Cruz, Luis M. De La ; Ramos, Eduardo</creator><creatorcontrib>Cruz, Luis M. De La ; Ramos, Eduardo</creatorcontrib><description>In this work, we develop an extension of the Curiously Recurring Template Pattern (CRTP), which allows us to organize three related concepts in a class hierarchy. Generalizations, specializations and special procedures are the concepts that we use to define and implement several tools. We call these tools general template units because they are well-defined building blocks (units) for numerically solving partial differential equations (PDEs), are based on the use of templates of the C++ language, and can be applied in the solution of different kinds of problems. We focus on the solution of PDEs using the Finite Volume Method (FVM) in box-shaped domains. The three concepts just mentioned are intensively used to generate optimized codes for each case study. The convenience of our approach is highlighted in the numerical solutions of the examples of application, including laminar thermal convection, turbulent thermal convection, as well as a two-phase flow model in porous media, all of them in one, two, and three dimensions. The mathematical models of these examples were obtained using the axiomatic formulation, which provides generality, simplicity, and clarity to tackle any continuum mechanics application. The ideas explained in this work are quite simple but powerful in solving fluid dynamics problems, in which the conservativeness of the FVM is an important feature. The techniques developed in this work allow us to swap easily between numerical schemes for computing the coefficients obtained by applying the FVM.</description><identifier>ISSN: 0098-3500</identifier><identifier>EISSN: 1557-7295</identifier><identifier>DOI: 10.1145/2835175</identifier><language>eng</language><subject>Computational fluid dynamics ; Convection modes ; Finite volume method ; Laminar flow ; Mathematical analysis ; Mathematical models ; Partial differential equations ; Porous media</subject><ispartof>ACM transactions on mathematical software, 2016-08, Vol.43 (1), p.1-32</ispartof><lds50>peer_reviewed</lds50><woscitedreferencessubscribed>false</woscitedreferencessubscribed><citedby>FETCH-LOGICAL-c258t-73e7fe9d4243229e03f044f8b43b87e4450171d4002afc2220797c320605546e3</citedby><cites>FETCH-LOGICAL-c258t-73e7fe9d4243229e03f044f8b43b87e4450171d4002afc2220797c320605546e3</cites></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>314,780,784,27924,27925</link.rule.ids></links><search><creatorcontrib>Cruz, Luis M. De La</creatorcontrib><creatorcontrib>Ramos, Eduardo</creatorcontrib><title>General Template Units for the Finite Volume Method in Box-Shaped Domains</title><title>ACM transactions on mathematical software</title><description>In this work, we develop an extension of the Curiously Recurring Template Pattern (CRTP), which allows us to organize three related concepts in a class hierarchy. Generalizations, specializations and special procedures are the concepts that we use to define and implement several tools. We call these tools general template units because they are well-defined building blocks (units) for numerically solving partial differential equations (PDEs), are based on the use of templates of the C++ language, and can be applied in the solution of different kinds of problems. We focus on the solution of PDEs using the Finite Volume Method (FVM) in box-shaped domains. The three concepts just mentioned are intensively used to generate optimized codes for each case study. The convenience of our approach is highlighted in the numerical solutions of the examples of application, including laminar thermal convection, turbulent thermal convection, as well as a two-phase flow model in porous media, all of them in one, two, and three dimensions. The mathematical models of these examples were obtained using the axiomatic formulation, which provides generality, simplicity, and clarity to tackle any continuum mechanics application. The ideas explained in this work are quite simple but powerful in solving fluid dynamics problems, in which the conservativeness of the FVM is an important feature. The techniques developed in this work allow us to swap easily between numerical schemes for computing the coefficients obtained by applying the FVM.</description><subject>Computational fluid dynamics</subject><subject>Convection modes</subject><subject>Finite volume method</subject><subject>Laminar flow</subject><subject>Mathematical analysis</subject><subject>Mathematical models</subject><subject>Partial differential equations</subject><subject>Porous media</subject><issn>0098-3500</issn><issn>1557-7295</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2016</creationdate><recordtype>article</recordtype><recordid>eNotkE9Lw0AUxBdRsFbxK-xNL9G3f153c9RqtVDxYOs1bJO3NJJk424K-u2NtIdhGPgxDMPYtYA7ITTeS6tQGDxhE4FoMiNzPGUTgNxmCgHO2UVKXwAghRETtnyhjqJr-JravnED8U1XD4n7EPmwI76ox0j8MzT7lvgbDbtQ8brjj-En-9i5nir-FFpXd-mSnXnXJLo6-pRtFs_r-Wu2en9Zzh9WWSnRDplRZDzllZZaSZkTKA9ae7vVamsNaY0wDqv0OND5UkoJJjelkjADRD0jNWW3h94-hu89paFo61RS07iOwj4VwiKqUXY2ojcHtIwhpUi-6GPduvhbCCj-zyqOZ6k_B01Ykg</recordid><startdate>20160801</startdate><enddate>20160801</enddate><creator>Cruz, Luis M. De La</creator><creator>Ramos, Eduardo</creator><scope>AAYXX</scope><scope>CITATION</scope><scope>7SC</scope><scope>7TB</scope><scope>8FD</scope><scope>FR3</scope><scope>JQ2</scope><scope>KR7</scope><scope>L7M</scope><scope>L~C</scope><scope>L~D</scope></search><sort><creationdate>20160801</creationdate><title>General Template Units for the Finite Volume Method in Box-Shaped Domains</title><author>Cruz, Luis M. De La ; Ramos, Eduardo</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c258t-73e7fe9d4243229e03f044f8b43b87e4450171d4002afc2220797c320605546e3</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2016</creationdate><topic>Computational fluid dynamics</topic><topic>Convection modes</topic><topic>Finite volume method</topic><topic>Laminar flow</topic><topic>Mathematical analysis</topic><topic>Mathematical models</topic><topic>Partial differential equations</topic><topic>Porous media</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>Cruz, Luis M. De La</creatorcontrib><creatorcontrib>Ramos, Eduardo</creatorcontrib><collection>CrossRef</collection><collection>Computer and Information Systems Abstracts</collection><collection>Mechanical &amp; Transportation Engineering Abstracts</collection><collection>Technology Research Database</collection><collection>Engineering Research Database</collection><collection>ProQuest Computer Science Collection</collection><collection>Civil Engineering Abstracts</collection><collection>Advanced Technologies Database with Aerospace</collection><collection>Computer and Information Systems Abstracts – Academic</collection><collection>Computer and Information Systems Abstracts Professional</collection><jtitle>ACM transactions on mathematical software</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Cruz, Luis M. De La</au><au>Ramos, Eduardo</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>General Template Units for the Finite Volume Method in Box-Shaped Domains</atitle><jtitle>ACM transactions on mathematical software</jtitle><date>2016-08-01</date><risdate>2016</risdate><volume>43</volume><issue>1</issue><spage>1</spage><epage>32</epage><pages>1-32</pages><issn>0098-3500</issn><eissn>1557-7295</eissn><abstract>In this work, we develop an extension of the Curiously Recurring Template Pattern (CRTP), which allows us to organize three related concepts in a class hierarchy. Generalizations, specializations and special procedures are the concepts that we use to define and implement several tools. We call these tools general template units because they are well-defined building blocks (units) for numerically solving partial differential equations (PDEs), are based on the use of templates of the C++ language, and can be applied in the solution of different kinds of problems. We focus on the solution of PDEs using the Finite Volume Method (FVM) in box-shaped domains. The three concepts just mentioned are intensively used to generate optimized codes for each case study. The convenience of our approach is highlighted in the numerical solutions of the examples of application, including laminar thermal convection, turbulent thermal convection, as well as a two-phase flow model in porous media, all of them in one, two, and three dimensions. The mathematical models of these examples were obtained using the axiomatic formulation, which provides generality, simplicity, and clarity to tackle any continuum mechanics application. The ideas explained in this work are quite simple but powerful in solving fluid dynamics problems, in which the conservativeness of the FVM is an important feature. The techniques developed in this work allow us to swap easily between numerical schemes for computing the coefficients obtained by applying the FVM.</abstract><doi>10.1145/2835175</doi><tpages>32</tpages></addata></record>
fulltext fulltext
identifier ISSN: 0098-3500
ispartof ACM transactions on mathematical software, 2016-08, Vol.43 (1), p.1-32
issn 0098-3500
1557-7295
language eng
recordid cdi_proquest_miscellaneous_1855385586
source ACM Digital Library Complete
subjects Computational fluid dynamics
Convection modes
Finite volume method
Laminar flow
Mathematical analysis
Mathematical models
Partial differential equations
Porous media
title General Template Units for the Finite Volume Method in Box-Shaped Domains
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-25T10%3A09%3A04IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_cross&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=General%20Template%20Units%20for%20the%20Finite%20Volume%20Method%20in%20Box-Shaped%20Domains&rft.jtitle=ACM%20transactions%20on%20mathematical%20software&rft.au=Cruz,%20Luis%20M.%20De%20La&rft.date=2016-08-01&rft.volume=43&rft.issue=1&rft.spage=1&rft.epage=32&rft.pages=1-32&rft.issn=0098-3500&rft.eissn=1557-7295&rft_id=info:doi/10.1145/2835175&rft_dat=%3Cproquest_cross%3E1855385586%3C/proquest_cross%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_pqid=1855385586&rft_id=info:pmid/&rfr_iscdi=true