A Semi-Automatic Approach Based on the Method of Manufactured Solutions to Assess the Convergence Order in OpenFOAM

Bruno Bruno, R. Costa, F. Chinesta, J. M. Nóbrega
{"title":"A Semi-Automatic Approach Based on the Method of Manufactured Solutions to Assess the Convergence Order in OpenFOAM","authors":"Bruno Bruno, R. Costa, F. Chinesta, J. M. Nóbrega","doi":"10.51560/ofj.v2.75","DOIUrl":null,"url":null,"abstract":"Code verification is an intricate and crucial part of code developed. Due to the nature of the partial differential equations being solved, an analytical solution might not exit. To prove that the code is solving the correct equations, the method of manufactured solutions (MMS) is the go to approach. In this method we create a forcing term to drive the solution to a predetermined function. \nBy performing a mesh refinement study, we can verify if the code is solving correctly the governing equations. In this work, we present the procedure of MMS as well as a tool developed in an open-source software for symbolic computation of the forcing term, appropriate boundary conditions and error norm computation withing the OpenFOAM® framework.","PeriodicalId":252778,"journal":{"name":"OpenFOAM® Journal","volume":"191 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"OpenFOAM® Journal","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.51560/ofj.v2.75","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Code verification is an intricate and crucial part of code developed. Due to the nature of the partial differential equations being solved, an analytical solution might not exit. To prove that the code is solving the correct equations, the method of manufactured solutions (MMS) is the go to approach. In this method we create a forcing term to drive the solution to a predetermined function. By performing a mesh refinement study, we can verify if the code is solving correctly the governing equations. In this work, we present the procedure of MMS as well as a tool developed in an open-source software for symbolic computation of the forcing term, appropriate boundary conditions and error norm computation withing the OpenFOAM® framework.
基于制造解法的OpenFOAM收敛阶的半自动评估方法
代码验证是代码开发中一个复杂而关键的部分。由于要解的偏微分方程的性质,可能不存在解析解。为了证明代码解的是正确的方程,采用了人工解法(MMS)。在这种方法中,我们创建一个强迫项来驱动解到预定函数。通过执行网格细化研究,我们可以验证代码是否正确地求解控制方程。在这项工作中,我们介绍了MMS的过程以及在OpenFOAM®框架内用于强制项符号计算、适当边界条件和误差范数计算的开源软件中开发的工具。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信