A semi-automatic approach based on the method of manufactured solutions to assess the convergence order in OpenFOAM

Detalhes bibliográficos
Autor(a) principal: Ramôa, Bruno Manuel Oliveira
Data de Publicação: 2022
Outros Autores: Costa, Ricardo Daniel Pereira da, Chinesta, Francisco, Nóbrega, J. M.
Tipo de documento: Artigo
Idioma: eng
Título da fonte: Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
Texto Completo: https://hdl.handle.net/1822/84223
Resumo: Code verification is an intricate but crucial part of numerical code development. Due to the complexity of the partial differential equations, an analytical solution might not exist. In those situations and aiming at proving that the code is solving appropriately the governing equations, the method of manufactured solutions (MMS) is a powerful tool. In this method, a source term is derived to enforce the solution to a predetermined function. By performing a mesh refinement study, one can verify if the code is correctly solving the desired equations. In this work, a methodology that allows the automation of the MMS within the OpenFOAM© framework is proposed. The developed computational framework comprises a set of tools prepared, in an open-source environment, for the symbolic computation of the associated source term, and to generate the code required for its implementation as well as appropriate boundary conditions and functions to calculate the error norms.
id RCAP_4adba30712ef19d0546f7ed509d9db14
oai_identifier_str oai:repositorium.sdum.uminho.pt:1822/84223
network_acronym_str RCAP
network_name_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository_id_str https://opendoar.ac.uk/repository/7160
spelling A semi-automatic approach based on the method of manufactured solutions to assess the convergence order in OpenFOAMManufactured solutionsCode verificationEngenharia e Tecnologia::Engenharia MecânicaCode verification is an intricate but crucial part of numerical code development. Due to the complexity of the partial differential equations, an analytical solution might not exist. In those situations and aiming at proving that the code is solving appropriately the governing equations, the method of manufactured solutions (MMS) is a powerful tool. In this method, a source term is derived to enforce the solution to a predetermined function. By performing a mesh refinement study, one can verify if the code is correctly solving the desired equations. In this work, a methodology that allows the automation of the MMS within the OpenFOAM© framework is proposed. The developed computational framework comprises a set of tools prepared, in an open-source environment, for the symbolic computation of the associated source term, and to generate the code required for its implementation as well as appropriate boundary conditions and functions to calculate the error norms.OpenFOAM® Governance InitiativeUniversidade do MinhoRamôa, Bruno Manuel OliveiraCosta, Ricardo Daniel Pereira daChinesta, FranciscoNóbrega, J. M.2022-06-112022-06-11T00:00:00Zinfo:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/articleapplication/pdfhttps://hdl.handle.net/1822/84223eng2753-816810.51560/ofj.v2.75https://journal.openfoam.com/index.php/ofj/article/view/75info:eu-repo/semantics/openAccessreponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiainstacron:RCAAP2024-05-11T07:13:57Zoai:repositorium.sdum.uminho.pt:1822/84223Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireinfo@rcaap.ptopendoar:https://opendoar.ac.uk/repository/71602025-05-28T16:19:48.226418Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiafalse
dc.title.none.fl_str_mv A semi-automatic approach based on the method of manufactured solutions to assess the convergence order in OpenFOAM
title A semi-automatic approach based on the method of manufactured solutions to assess the convergence order in OpenFOAM
spellingShingle A semi-automatic approach based on the method of manufactured solutions to assess the convergence order in OpenFOAM
Ramôa, Bruno Manuel Oliveira
Manufactured solutions
Code verification
Engenharia e Tecnologia::Engenharia Mecânica
title_short A semi-automatic approach based on the method of manufactured solutions to assess the convergence order in OpenFOAM
title_full A semi-automatic approach based on the method of manufactured solutions to assess the convergence order in OpenFOAM
title_fullStr A semi-automatic approach based on the method of manufactured solutions to assess the convergence order in OpenFOAM
title_full_unstemmed A semi-automatic approach based on the method of manufactured solutions to assess the convergence order in OpenFOAM
title_sort A semi-automatic approach based on the method of manufactured solutions to assess the convergence order in OpenFOAM
author Ramôa, Bruno Manuel Oliveira
author_facet Ramôa, Bruno Manuel Oliveira
Costa, Ricardo Daniel Pereira da
Chinesta, Francisco
Nóbrega, J. M.
author_role author
author2 Costa, Ricardo Daniel Pereira da
Chinesta, Francisco
Nóbrega, J. M.
author2_role author
author
author
dc.contributor.none.fl_str_mv Universidade do Minho
dc.contributor.author.fl_str_mv Ramôa, Bruno Manuel Oliveira
Costa, Ricardo Daniel Pereira da
Chinesta, Francisco
Nóbrega, J. M.
dc.subject.por.fl_str_mv Manufactured solutions
Code verification
Engenharia e Tecnologia::Engenharia Mecânica
topic Manufactured solutions
Code verification
Engenharia e Tecnologia::Engenharia Mecânica
description Code verification is an intricate but crucial part of numerical code development. Due to the complexity of the partial differential equations, an analytical solution might not exist. In those situations and aiming at proving that the code is solving appropriately the governing equations, the method of manufactured solutions (MMS) is a powerful tool. In this method, a source term is derived to enforce the solution to a predetermined function. By performing a mesh refinement study, one can verify if the code is correctly solving the desired equations. In this work, a methodology that allows the automation of the MMS within the OpenFOAM© framework is proposed. The developed computational framework comprises a set of tools prepared, in an open-source environment, for the symbolic computation of the associated source term, and to generate the code required for its implementation as well as appropriate boundary conditions and functions to calculate the error norms.
publishDate 2022
dc.date.none.fl_str_mv 2022-06-11
2022-06-11T00:00:00Z
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/article
format article
status_str publishedVersion
dc.identifier.uri.fl_str_mv https://hdl.handle.net/1822/84223
url https://hdl.handle.net/1822/84223
dc.language.iso.fl_str_mv eng
language eng
dc.relation.none.fl_str_mv 2753-8168
10.51560/ofj.v2.75
https://journal.openfoam.com/index.php/ofj/article/view/75
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv application/pdf
dc.publisher.none.fl_str_mv OpenFOAM® Governance Initiative
publisher.none.fl_str_mv OpenFOAM® Governance Initiative
dc.source.none.fl_str_mv reponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron:RCAAP
instname_str FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron_str RCAAP
institution RCAAP
reponame_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
collection Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository.name.fl_str_mv Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
repository.mail.fl_str_mv info@rcaap.pt
_version_ 1833595881022029824