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ório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
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ório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
repository_id_str 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ório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)instname:Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informaçãoinstacron:RCAAP2023-12-23T01:35:55Zoai:repositorium.sdum.uminho.pt:1822/84223Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireopendoar:71602024-03-19T19:45:10.860100Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos) - Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informaçãofalse
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ório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
instname:Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação
instacron:RCAAP
instname_str Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação
instacron_str RCAAP
institution RCAAP
reponame_str Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
collection Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
repository.name.fl_str_mv Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos) - Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação
repository.mail.fl_str_mv
_version_ 1799133015268392960