[{"content":"","date":null,"permalink":"https://laurencemcglashan.com/blog/","section":"Blog","summary":"","title":"Blog"},{"content":" Note: This is a placeholder post. Replace with your actual writing.\nFirst post. More to come.\n","date":"January 1, 2024","permalink":"https://laurencemcglashan.com/blog/hello-world/","section":"Blog","summary":"First post. A placeholder to get things started.","title":"Hello World"},{"content":"","date":null,"permalink":"https://laurencemcglashan.com/","section":"Laurence McGlashan","summary":"","title":"Laurence McGlashan"},{"content":"","date":null,"permalink":"https://laurencemcglashan.com/tags/meta/","section":"Tags","summary":"","title":"Meta"},{"content":"","date":null,"permalink":"https://laurencemcglashan.com/tags/","section":"Tags","summary":"","title":"Tags"},{"content":"","date":null,"permalink":"https://laurencemcglashan.com/tags/algorithms/","section":"Tags","summary":"","title":"Algorithms"},{"content":"An interactive tool for computing Delaunay triangulations and their dual Voronoi diagrams in the browser. Click anywhere on the canvas to place points; the triangulation updates in real time.\nCoordinates x = - y = - Display Delaunay Voronoi Circumcircles Insert point x = y = Add point Save PNG Clear Left click: add point\nRight click: remove point The algorithm is a brute-force O(n⁴) implementation of the Bowyer–Watson criterion: for every triple of points, a circumcircle is constructed and validated (no other point may lie inside it). Shared edges are tracked to derive the dual Voronoi diagram without a separate pass.\nWritten in vanilla JavaScript against the HTML5 Canvas API, circa 2012.\n","date":"January 1, 2012","permalink":"https://laurencemcglashan.com/projects/delaunay/","section":"Projects","summary":"An interactive canvas app for computing and visualising Delaunay triangulations and Voronoi diagrams.","title":"Delaunay Triangulator"},{"content":"","date":null,"permalink":"https://laurencemcglashan.com/tags/geometry/","section":"Tags","summary":"","title":"Geometry"},{"content":"","date":null,"permalink":"https://laurencemcglashan.com/tags/javascript/","section":"Tags","summary":"","title":"JavaScript"},{"content":"","date":null,"permalink":"https://laurencemcglashan.com/projects/","section":"Projects","summary":"","title":"Projects"},{"content":"","date":null,"permalink":"https://laurencemcglashan.com/tags/c++/","section":"Tags","summary":"","title":"C++"},{"content":"","date":null,"permalink":"https://laurencemcglashan.com/tags/cambridge/","section":"Tags","summary":"","title":"Cambridge"},{"content":"","date":null,"permalink":"https://laurencemcglashan.com/tags/cfd/","section":"Tags","summary":"","title":"CFD"},{"content":"","date":null,"permalink":"https://laurencemcglashan.com/tags/openfoam/","section":"Tags","summary":"","title":"OpenFOAM"},{"content":"CoMo Group, Department of Chemical Engineering, University of Cambridge\nMultiphase flows (gas-liquid contactors, bubble columns, reactors) are ubiquitous in industry but notoriously difficult to model. This research coupled Population Balance Equations (PBEs) with computational fluid dynamics to predict the size distribution of a dispersed phase (droplets, bubbles) within turbulent flow fields.\nThe core numerical methods implemented were the Quadrature Method of Moments (QMoM) and Direct Quadrature Method of Moments (DQMoM), integrated into OpenFOAM. The primary test case was a rotating disc contactor (toluene/water), used to validate predictions of droplet size distribution against experimental data.\nMethods: QMoM · DQMoM · Euler/Euler · OpenFOAM · C++\nDownload presentation (PDF)\n","date":"March 30, 2010","permalink":"https://laurencemcglashan.com/projects/phd/","section":"Projects","summary":"Coupling population balance equations with CFD to model turbulent, multiphase flows in industrial equipment.","title":"PhD Research: Computational Modelling of Multiphase Flows"},{"content":"","date":null,"permalink":"https://laurencemcglashan.com/tags/research/","section":"Tags","summary":"","title":"Research"},{"content":"Department of Chemical Engineering, University of Cambridge · Supervised by Dr. Markus Kraft\nThis Certificate of Postgraduate Study (CPGS) dissertation established the theoretical groundwork for CFD modelling of turbulent, reactive, two-phase flow. Written in the first year of the PhD programme, it surveyed and implemented the building blocks required for the full coupled model.\nKey contributions included: implementation and comparison of k-ε and Large Eddy Simulation (LES) turbulence models for a bubble column; integration of the MoMEC algorithm (a PDF-based chemical source term closure) into a commercial CFD solver; and a literature review of two-phase flow modelling approaches, identifying DQMoM as the path forward for solving particle size distributions in bubbly flow.\nMethods: Finite Volume Method · RANS / LES · PDF methods · MoMEC · Euler/Euler · Euler/Lagrange\nDownload dissertation (PDF) · Poster (JPG)\n","date":"June 13, 2008","permalink":"https://laurencemcglashan.com/projects/cpgs/","section":"Projects","summary":"First-year PhD dissertation laying the theoretical foundations for modelling turbulent, reactive, two-phase flows using CFD.","title":"CPGS Dissertation: Towards a CFD Model for Turbulent, Reactive, Two-Phase Flow"},{"content":"","date":null,"permalink":"https://laurencemcglashan.com/tags/turbulence/","section":"Tags","summary":"","title":"Turbulence"},{"content":"","date":null,"permalink":"https://laurencemcglashan.com/tags/matlab/","section":"Tags","summary":"","title":"MATLAB"},{"content":"Department of Engineering, University of Cambridge (CET IIB)\nThis MEng research project simulated the nonlinear propagation of ultrashort laser pulses through optical fibres to generate supercontinuum light (broadband white light) in the ultraviolet. The work was entirely computational, implementing a numerical solver from scratch in MATLAB.\nThe governing equation was the Generalised Nonlinear Schrödinger Equation (GNLSE), solved using the Split Step Fourier Method (SSFM). The solver was validated against known analytic solutions (optical solitons, Raman soliton self-frequency shift) and published results before being used to explore how fibre parameters and laser wavelength affect spectral broadening into the UV, a regime of practical interest for spectroscopy and metrology.\nMethods: GNLSE · Split Step Fourier Method · Soliton dynamics · Raman scattering · MATLAB\nDownload report (PDF)\n","date":"June 1, 2007","permalink":"https://laurencemcglashan.com/projects/masters/","section":"Projects","summary":"Numerical simulation of supercontinuum generation in optical fibres, targeting the ultraviolet end of the spectrum.","title":"MEng Research Project: Supercontinuum Generation in the Ultraviolet"},{"content":"","date":null,"permalink":"https://laurencemcglashan.com/tags/optics/","section":"Tags","summary":"","title":"Optics"},{"content":"","date":null,"permalink":"https://laurencemcglashan.com/categories/","section":"Categories","summary":"","title":"Categories"}]