Scientific presentation in universities or research centers (Scientific presentations in universities or research centers)
Physical units in UFL
HABERA, Michal; ZILIAN, Andreas
2025
 

Files


Full Text
fenics2025-physical-units.pdf
Author postprint (12.35 MB)
Download

All documents in ORBilu are protected by a user license.

Send to



Details



Keywords :
physical units, Unified Form Language, dimensional analysis
Abstract :
[en] The Unified Form Language (UFL) is a domain-specific language designed for finite element discretisation of partial differential equations (PDEs). However, UFL does not natively support the representation of physical units, which can lead to inconsistencies when formulating PDEs involving different physical quantities. In this work, we introduce a framework to manage physical units in UFL expressions through two key steps: (1) units transformation and (2) homogeneous factorisation. During the transformation step, dimensional quantities are incorporated into existing UFL expressions. These quantities are derived from the physical unit system provided by SymPy. The subsequent factorisation step enables the extraction of dimensional quantities from homogeneous expressions. This framework offers multiple levels of consistency checks, including dimensional consistency, unit consistency, and scaling consistency. It can be used to validate existing UFL codes, analyse the scaling of terms in PDEs, and derive dimensionless numbers, providing valuable insights and reducing potential model flaws. This functionality is implemented in the dolfiny framework.
Disciplines :
Computer science
Author, co-author :
HABERA, Michal ;  University of Luxembourg > Faculty of Science, Technology and Medicine (FSTM) > Department of Engineering (DoE)
ZILIAN, Andreas  ;  University of Luxembourg > Faculty of Science, Technology and Medicine (FSTM) > Department of Engineering (DoE)
Language :
English
Title :
Physical units in UFL
Publication date :
18 June 2025
Event name :
FEniCS 2025
Event organizer :
University of Groningen
Event place :
Groningen, Netherlands
Event date :
18.06.2025
Audience :
International
Focus Area :
Computational Sciences
Additional URL :
Available on ORBilu :
since 30 June 2025

Statistics


Number of views
149 (19 by Unilu)
Number of downloads
60 (1 by Unilu)

Bibliography


Similar publications



Contact ORBilu