{"id":{"repo_id":"buffalo","oai_identifier":"oai:ubir.buffalo.edu:10477/88695"},"canonical_url":"https://search.ndltd.org/etd/buffalo/oai:ubir.buffalo.edu:10477/88695","repository":{"repo_id":"buffalo","name":"Buffalo","base_url":"https://ubir.buffalo.edu/oai/request"},"display":{"title":"Enabling Computational Methods for Discretization of Partial Differential Equation Models Using Stencil Composition","abstract":"Partial differential equations (PDEs) are numerically solved using a discretization technique which involves approximating the derivative terms in a PDE using a numerical method. One such numerical method is the finite difference method (FDM), in which a linear PDE is discretized at a central point via a linear combination of neighboring points. This combination along with their associated weights is called a \"stencil\". This dissertation explores a computational method using a certain FDM technique, called \"stencil composition\", whereby one stencil is composed with another stencil, enabling discretization of PDE-based models. Contributions towards the development of this technique have been extensively explained in this work. Focusing on the composition of derivative stencils, stencil composition allows (for example) two stencils with arbitrary derivative orders of 'a' and 'b' to be composed in order to obtain a stencil with a derivative order of 'a+b'. This \"composed\" stencil can then be used to create the matrix required for discretization of a PDE. PDEs which are written as a series of derivatives, or multiple applications of differential operators, will benefit greatly from the proposed research work. In any PDE model, the end result is typically written as a series of sparse matrix-matrix products. It is often advantageous to obtain a single matrix which represents this system of differential equations. Stencil composition allows for obtaining the stencil of the final system before the matrix is formed, therefore not relying on the sparsity pattern of individual stencils for their matrix-matrix products. For the software implementation of the computational method, a whole new class called \"PetscFD\" has been introduced, which extends the support for FDM-based discretizations in the PETSc software library. The objective is to add another discretization technology in PETSc alongside PetscFE and PetscFV to solve PDE-based problems. The main idea behind PetscFD is to enable the generation of matrices which can be directly used to solve a linear system using KSP or to create Jacobian matrices and residuals to be passed to SNES or TS nonlinear solvers. This dissertation also serves as a manual for the usage of PetscFD class, highlighting all the important functions and demonstrating their usage with the help of code excerpts to solve PDE-based problems. Adaptive mesh refinements (AMR) is also possible using PetscFD. Algorithms and refinement operations are illustrated for adaptively refining a grid. Adaptive grids are used to statically solve a PDE problem. The results obtained are compared to those from uniform refinements to measure the effectiveness of static AMR. The implementation of stencil composition in PetscFD is validated using several PDE-based models and their performance analyses. The effectiveness of these methods are investigated using convergence tests and static-scaling analysis. A comparative study is done in the end for results obtained using composition of compact and non-compact stencils.","abstract_html":"Partial differential equations (PDEs) are numerically solved using a discretization technique which involves approximating the derivative terms in a PDE using a numerical method. One such numerical method is the finite difference method (FDM), in which a linear PDE is discretized at a central point via a linear combination of neighboring points. This combination along with their associated weights is called a &quot;stencil&quot;. This dissertation explores a computational method using a certain FDM technique, called &quot;stencil composition&quot;, whereby one stencil is composed with another stencil, enabling discretization of PDE-based models. Contributions towards the development of this technique have been extensively explained in this work. Focusing on the composition of derivative stencils, stencil composition allows (for example) two stencils with arbitrary derivative orders of &#x27;a&#x27; and &#x27;b&#x27; to be composed in order to obtain a stencil with a derivative order of &#x27;a+b&#x27;. This &quot;composed&quot; stencil can then be used to create the matrix required for discretization of a PDE. PDEs which are written as a series of derivatives, or multiple applications of differential operators, will benefit greatly from the proposed research work. In any PDE model, the end result is typically written as a series of sparse matrix-matrix products. It is often advantageous to obtain a single matrix which represents this system of differential equations. Stencil composition allows for obtaining the stencil of the final system before the matrix is formed, therefore not relying on the sparsity pattern of individual stencils for their matrix-matrix products. For the software implementation of the computational method, a whole new class called &quot;PetscFD&quot; has been introduced, which extends the support for FDM-based discretizations in the PETSc software library. The objective is to add another discretization technology in PETSc alongside PetscFE and PetscFV to solve PDE-based problems. The main idea behind PetscFD is to enable the generation of matrices which can be directly used to solve a linear system using KSP or to create Jacobian matrices and residuals to be passed to SNES or TS nonlinear solvers. This dissertation also serves as a manual for the usage of PetscFD class, highlighting all the important functions and demonstrating their usage with the help of code excerpts to solve PDE-based problems. Adaptive mesh refinements (AMR) is also possible using PetscFD. Algorithms and refinement operations are illustrated for adaptively refining a grid. Adaptive grids are used to statically solve a PDE problem. The results obtained are compared to those from uniform refinements to measure the effectiveness of static AMR. The implementation of stencil composition in PetscFD is validated using several PDE-based models and their performance analyses. The effectiveness of these methods are investigated using convergence tests and static-scaling analysis. A comparative study is done in the end for results obtained using composition of compact and non-compact stencils.","abstract_has_math":false,"creators":["Mishra, Abhishek; 0000-0001-7445-066X"],"institution":"State University of New York at Buffalo","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":["Salac, David","Computational and Data Enabled Sciences"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2022,"date_issued":"2022","date_published":"2022","updated_at":"2026-11-19T07:10:25Z","subjects":["computational physics","applied mathematics"],"languages":["eng"],"rights":["Copyright retained by author. Users of works found in University at Buffalo Institutional Repository (UBIR) are responsible for identifying and contacting the copyright owner for permission to reuse. University at Buffalo Libraries do not manage rights for copyright-protected works and cannot assist with permissions."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10477/88695","outbound_label":"Handle","outbound_source":"dc:identifier","record_url":"https://hdl.handle.net/10477/88695","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Abuffalo%3Aoai%3Aubir.buffalo.edu%3A10477%2F88695","prefix":"oai_dc"},"source_record":{"url":"https://ubir.buffalo.edu/oai/request?verb=GetRecord&metadataPrefix=qdc&identifier=oai%3Aubir.buffalo.edu%3A10477%2F88695","prefix":"qdc"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Salac, David","Computational and Data Enabled Sciences"]},{"key":"dc:creator","label":"Author","values":["Mishra, Abhishek; 0000-0001-7445-066X"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2025-09-18T05:46:47Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-09-18T05:46:47Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2025-09-18T05:46:47Z"]},{"key":"dc:date.issued","label":"Date","values":["2022"]},{"key":"dc:publisher","label":"Institution","values":["State University of New York at Buffalo"]},{"key":"dc:type","label":"Dc Type","values":["Text","Dissertation"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["computational physics","applied mathematics"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["Copyright retained by author. Users of works found in University at Buffalo Institutional Repository (UBIR) are responsible for identifying and contacting the copyright owner for permission to reuse. University at Buffalo Libraries do not manage rights for copyright-protected works and cannot assist with permissions."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["http://hdl.handle.net/10477/88695"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Partial differential equations (PDEs) are numerically solved using a discretization technique which involves approximating the derivative terms in a PDE using a numerical method. One such numerical method is the finite difference method (FDM), in which a linear PDE is discretized at a central point via a linear combination of neighboring points. This combination along with their associated weights is called a \"stencil\". This dissertation explores a computational method using a certain FDM technique, called \"stencil composition\", whereby one stencil is composed with another stencil, enabling discretization of PDE-based models. Contributions towards the development of this technique have been extensively explained in this work. Focusing on the composition of derivative stencils, stencil composition allows (for example) two stencils with arbitrary derivative orders of 'a' and 'b' to be composed in order to obtain a stencil with a derivative order of 'a+b'. This \"composed\" stencil can then be used to create the matrix required for discretization of a PDE. PDEs which are written as a series of derivatives, or multiple applications of differential operators, will benefit greatly from the proposed research work. In any PDE model, the end result is typically written as a series of sparse matrix-matrix products. It is often advantageous to obtain a single matrix which represents this system of differential equations. Stencil composition allows for obtaining the stencil of the final system before the matrix is formed, therefore not relying on the sparsity pattern of individual stencils for their matrix-matrix products. For the software implementation of the computational method, a whole new class called \"PetscFD\" has been introduced, which extends the support for FDM-based discretizations in the PETSc software library. The objective is to add another discretization technology in PETSc alongside PetscFE and PetscFV to solve PDE-based problems. The main idea behind PetscFD is to enable the generation of matrices which can be directly used to solve a linear system using KSP or to create Jacobian matrices and residuals to be passed to SNES or TS nonlinear solvers. This dissertation also serves as a manual for the usage of PetscFD class, highlighting all the important functions and demonstrating their usage with the help of code excerpts to solve PDE-based problems. Adaptive mesh refinements (AMR) is also possible using PetscFD. Algorithms and refinement operations are illustrated for adaptively refining a grid. Adaptive grids are used to statically solve a PDE problem. The results obtained are compared to those from uniform refinements to measure the effectiveness of static AMR. The implementation of stencil composition in PetscFD is validated using several PDE-based models and their performance analyses. The effectiveness of these methods are investigated using convergence tests and static-scaling analysis. A comparative study is done in the end for results obtained using composition of compact and non-compact stencils.","**To request an accessible version of the file(s) associated with this item, contact library@buffalo.edu. Please include the item's persistent URL [http://hdl.handle.net/. . .] in your request.**"]},{"key":"dc:title","label":"Title","values":["Enabling Computational Methods for Discretization of Partial Differential Equation Models Using Stencil Composition"]}]}],"canonical_facts":{"dc:contributor":["Salac, David","Computational and Data Enabled Sciences"],"dc:creator":["Mishra, Abhishek; 0000-0001-7445-066X"],"dc:date":["2025-09-18T05:46:47Z"],"dc:date.available":["2025-09-18T05:46:47Z"],"dc:date.created":["2025-09-18T05:46:47Z"],"dc:date.issued":["2022"],"dc:description.abstract":["Partial differential equations (PDEs) are numerically solved using a discretization technique which involves approximating the derivative terms in a PDE using a numerical method. One such numerical method is the finite difference method (FDM), in which a linear PDE is discretized at a central point via a linear combination of neighboring points. This combination along with their associated weights is called a \"stencil\". This dissertation explores a computational method using a certain FDM technique, called \"stencil composition\", whereby one stencil is composed with another stencil, enabling discretization of PDE-based models. Contributions towards the development of this technique have been extensively explained in this work. Focusing on the composition of derivative stencils, stencil composition allows (for example) two stencils with arbitrary derivative orders of 'a' and 'b' to be composed in order to obtain a stencil with a derivative order of 'a+b'. This \"composed\" stencil can then be used to create the matrix required for discretization of a PDE. PDEs which are written as a series of derivatives, or multiple applications of differential operators, will benefit greatly from the proposed research work. In any PDE model, the end result is typically written as a series of sparse matrix-matrix products. It is often advantageous to obtain a single matrix which represents this system of differential equations. Stencil composition allows for obtaining the stencil of the final system before the matrix is formed, therefore not relying on the sparsity pattern of individual stencils for their matrix-matrix products. For the software implementation of the computational method, a whole new class called \"PetscFD\" has been introduced, which extends the support for FDM-based discretizations in the PETSc software library. The objective is to add another discretization technology in PETSc alongside PetscFE and PetscFV to solve PDE-based problems. The main idea behind PetscFD is to enable the generation of matrices which can be directly used to solve a linear system using KSP or to create Jacobian matrices and residuals to be passed to SNES or TS nonlinear solvers. This dissertation also serves as a manual for the usage of PetscFD class, highlighting all the important functions and demonstrating their usage with the help of code excerpts to solve PDE-based problems. Adaptive mesh refinements (AMR) is also possible using PetscFD. Algorithms and refinement operations are illustrated for adaptively refining a grid. Adaptive grids are used to statically solve a PDE problem. The results obtained are compared to those from uniform refinements to measure the effectiveness of static AMR. The implementation of stencil composition in PetscFD is validated using several PDE-based models and their performance analyses. The effectiveness of these methods are investigated using convergence tests and static-scaling analysis. A comparative study is done in the end for results obtained using composition of compact and non-compact stencils.","**To request an accessible version of the file(s) associated with this item, contact library@buffalo.edu. Please include the item's persistent URL [http://hdl.handle.net/. . .] in your request.**"],"dc:identifier":["http://hdl.handle.net/10477/88695"],"dc:language":["eng"],"dc:publisher":["State University of New York at Buffalo"],"dc:rights":["Copyright retained by author. Users of works found in University at Buffalo Institutional Repository (UBIR) are responsible for identifying and contacting the copyright owner for permission to reuse. University at Buffalo Libraries do not manage rights for copyright-protected works and cannot assist with permissions."],"dc:subject":["computational physics","applied mathematics"],"dc:title":["Enabling Computational Methods for Discretization of Partial Differential Equation Models Using Stencil Composition"],"dc:type":["Text","Dissertation"]},"updated_at":"2026-11-19T07:10:25Z"}