Algorithmic Generation of Realistic 3D Graphics for Liquid Surfaces Within Arbitrary-Form Vessels in a Virtual Laboratory and Application in Flow Simulation

Hellenic Open University has developed Onlabs, a virtual biology laboratory designed to safely and effectively prepare its students for hands-on work in the university’s on-site labs. This platform simulates key experimental processes, such as 10X TBE solution preparation, agarose gel preparation an...

Full description

Saved in:
Bibliographic Details
Main Authors: Dimitrios S. Karpouzas, Vasilis Zafeiropoulos, Dimitris Kalles
Format: Article
Language:English
Published: MDPI AG 2025-03-01
Series:Computers
Subjects:
Online Access:https://www.mdpi.com/2073-431X/14/3/112
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850204309834170368
author Dimitrios S. Karpouzas
Vasilis Zafeiropoulos
Dimitris Kalles
author_facet Dimitrios S. Karpouzas
Vasilis Zafeiropoulos
Dimitris Kalles
author_sort Dimitrios S. Karpouzas
collection DOAJ
description Hellenic Open University has developed Onlabs, a virtual biology laboratory designed to safely and effectively prepare its students for hands-on work in the university’s on-site labs. This platform simulates key experimental processes, such as 10X TBE solution preparation, agarose gel preparation and electrophoresis, which involve liquid transfers between bottles. However, accurately depicting liquid volumes and their flow within complex-shaped laboratory vessels, such as Erlenmeyer flasks and burettes, remains a challenge. This paper addresses this limitation by introducing a unified parametric framework for modeling circular cross-section pipes, including straight pipes with a constant diameter, curved pipes with a constant diameter and straight conical pipes. Analytical expressions are developed to define the position and orientation of points along a pipe’s central axis, as well as the surface geometry of composite pipes formed by combining these elements in planar configurations. Moreover, the process of surface discretization with finite triangular elements is analyzed with the aim of optimizing their representation during the algorithmic implementation. The functions of the current length with respect to the volume of each considered container shape are developed. Finally, the methodology for handling and combining the analytical expressions during the filling of a composite pipe is explained, the filling of certain characteristic bottles is implemented and the results of the implementations are presented. The primary goal is to enable the precise algorithmic generation of 3D graphics representing the surfaces of liquids within various laboratory vessels and, subsequently, the simulation of their flow. By leveraging these parametric models, liquid volumes can be accurately visualized, reflecting the vessels’ geometries and improving the realism of simulations and the filling of various vessels can be realistically simulated.
format Article
id doaj-art-04f26bc63ef04da2b8a01eed0580b9ea
institution OA Journals
issn 2073-431X
language English
publishDate 2025-03-01
publisher MDPI AG
record_format Article
series Computers
spelling doaj-art-04f26bc63ef04da2b8a01eed0580b9ea2025-08-20T02:11:18ZengMDPI AGComputers2073-431X2025-03-0114311210.3390/computers14030112Algorithmic Generation of Realistic 3D Graphics for Liquid Surfaces Within Arbitrary-Form Vessels in a Virtual Laboratory and Application in Flow SimulationDimitrios S. Karpouzas0Vasilis Zafeiropoulos1Dimitris Kalles2School of Science and Technology, Hellenic Open University, 26335 Patras, GreeceSchool of Science and Technology, Hellenic Open University, 26335 Patras, GreeceSchool of Science and Technology, Hellenic Open University, 26335 Patras, GreeceHellenic Open University has developed Onlabs, a virtual biology laboratory designed to safely and effectively prepare its students for hands-on work in the university’s on-site labs. This platform simulates key experimental processes, such as 10X TBE solution preparation, agarose gel preparation and electrophoresis, which involve liquid transfers between bottles. However, accurately depicting liquid volumes and their flow within complex-shaped laboratory vessels, such as Erlenmeyer flasks and burettes, remains a challenge. This paper addresses this limitation by introducing a unified parametric framework for modeling circular cross-section pipes, including straight pipes with a constant diameter, curved pipes with a constant diameter and straight conical pipes. Analytical expressions are developed to define the position and orientation of points along a pipe’s central axis, as well as the surface geometry of composite pipes formed by combining these elements in planar configurations. Moreover, the process of surface discretization with finite triangular elements is analyzed with the aim of optimizing their representation during the algorithmic implementation. The functions of the current length with respect to the volume of each considered container shape are developed. Finally, the methodology for handling and combining the analytical expressions during the filling of a composite pipe is explained, the filling of certain characteristic bottles is implemented and the results of the implementations are presented. The primary goal is to enable the precise algorithmic generation of 3D graphics representing the surfaces of liquids within various laboratory vessels and, subsequently, the simulation of their flow. By leveraging these parametric models, liquid volumes can be accurately visualized, reflecting the vessels’ geometries and improving the realism of simulations and the filling of various vessels can be realistically simulated.https://www.mdpi.com/2073-431X/14/3/112fluid simulationliquid simulationvirtual labsvirtual reality
spellingShingle Dimitrios S. Karpouzas
Vasilis Zafeiropoulos
Dimitris Kalles
Algorithmic Generation of Realistic 3D Graphics for Liquid Surfaces Within Arbitrary-Form Vessels in a Virtual Laboratory and Application in Flow Simulation
Computers
fluid simulation
liquid simulation
virtual labs
virtual reality
title Algorithmic Generation of Realistic 3D Graphics for Liquid Surfaces Within Arbitrary-Form Vessels in a Virtual Laboratory and Application in Flow Simulation
title_full Algorithmic Generation of Realistic 3D Graphics for Liquid Surfaces Within Arbitrary-Form Vessels in a Virtual Laboratory and Application in Flow Simulation
title_fullStr Algorithmic Generation of Realistic 3D Graphics for Liquid Surfaces Within Arbitrary-Form Vessels in a Virtual Laboratory and Application in Flow Simulation
title_full_unstemmed Algorithmic Generation of Realistic 3D Graphics for Liquid Surfaces Within Arbitrary-Form Vessels in a Virtual Laboratory and Application in Flow Simulation
title_short Algorithmic Generation of Realistic 3D Graphics for Liquid Surfaces Within Arbitrary-Form Vessels in a Virtual Laboratory and Application in Flow Simulation
title_sort algorithmic generation of realistic 3d graphics for liquid surfaces within arbitrary form vessels in a virtual laboratory and application in flow simulation
topic fluid simulation
liquid simulation
virtual labs
virtual reality
url https://www.mdpi.com/2073-431X/14/3/112
work_keys_str_mv AT dimitriosskarpouzas algorithmicgenerationofrealistic3dgraphicsforliquidsurfaceswithinarbitraryformvesselsinavirtuallaboratoryandapplicationinflowsimulation
AT vasiliszafeiropoulos algorithmicgenerationofrealistic3dgraphicsforliquidsurfaceswithinarbitraryformvesselsinavirtuallaboratoryandapplicationinflowsimulation
AT dimitriskalles algorithmicgenerationofrealistic3dgraphicsforliquidsurfaceswithinarbitraryformvesselsinavirtuallaboratoryandapplicationinflowsimulation