arb finite volume solver
New version 0.50 uploaded (1/12/14).
What is arb?
arb is a software package designed to solve arbitrary partial differential equations on unstructured meshes using an implicit finite volume method. The primary strengths of arb are:
- All equations and variables are defined using `maths-type' expressions written by the user, and hence can be easily tailored to each application;
- All equations are solved simultaneously using a Newton-Raphson method, so implicitly discretised equations can be solved efficiently; and
- The unstructured mesh over which the equations are solved can be componsed of all sorts of convex polygons/polyhedrons. One, two and three dimensional domains can be used (simultaneously).
arb is open-source software that is released under the GNU General Public Licence (GPL). The copyright of arb is held by Dalton Harvie.
A diffusion problem:
The image (right) shows the solution to the following diffusion problem solved over a 2D domain:
This set of equations is represented by the following in arb:
CELL_EQUATION <T transport>
"-celldiv(<D>*facegrad(<T>))" ON <domain>
# diffusion equation
FACE_EQUATION <T hole>
"-<D>*facegrad(<T>)-<hole flux>" ON <hole>
# specified heat flux through hole surface
FACE_EQUATION <T walls> "<T>-1.0d0" ON <walls>
# set temperature on walls
This problem is included with the arb distribution. You can browse the arb input file here.
Steady-state flow around a cylinder:The two-dimensional flow around a cylinder is a CFD benchmark test problem. Here the Reynolds number based on the cylinder diameter and maximum velocity is 20, producing steady-state results.
This problem is also included with the arb distribution. You can browse the arb input file here.
What is needed to run arb?
In terms of coding content arb consists of fortran 95, perl and shell scripts. arb requires a UNIX type environment to run, and has been tested on both the Apple OsX and ubuntu linux platforms.
arb depends on certain third party programs and libraries, including:
- A fortran compiler; the Intel compiler ifort or GNU compiler gfortran;
- The computer algebra system maxima;
- A sparse matrix linear solver: UMFPACK, pardiso (included with ifort) or a Harwell Subroutine Library routine; and
- The mesh generation and post-processing package gmsh.
By combining gfortran with the UMFPACK sparse linear solver, arb can be run using freely available GPL licensed software.
Try it out
Getting up and running is straightforward.
On recent versions of ubuntu (tested on 10.04 and 12.04) the following commands will download all the necessary software, run a test simulation and visualise the results:
liblapack-dev libblas-dev gmsh curl gnuplot
tar -xf latest.tar
Installation on OsX takes a bit more time and is detailed in the manual. The procedure is known to work on OsX 10.6 and previously I had it working on OsX 10.4.
Further details for both platforms can be found in the manual.
If you use arb to conduct research, please cite it using the publication given below. I am keen to hear of your experiences using arb and also of any feature requests that you have and bugs that you find - drop me an email with `arb' in the subject line.
Where is arb going?
arb is under active development, although updates to this website have not occurred regularly. Previously the major focus was on developing the language feature set - application of arb to different types of problems (in particular multiphase and non-Newtonian flows) will become the next development focus. For a summary of the development history and the roughly planned direction see this file.
J. D. Berry, A. E. Foong, C. E. Lade, C. J. C. Biscombe, M. R. Davidson, and D. J. E. Harvie. Electroviscous resistance of nanofluidic bends. Phys. Rev. E, 90:043008, Oct 2014a. doi:10.1103/PhysRevE.90.043008. URL http://link.aps.org/doi/10.1103/PhysRevE.90.043008.
J.D. Berry, M.R. Davidson, and D.J.E. Harvie. Electroviscous flow through nanofluidic junctions. Applied Mathematical Modelling, 38(17-18):4215–4225, September 2014b. ISSN 0307904X. doi:10.1016/j.apm.2014.02.018. URL http://linkinghub.elsevier.com/retrieve/pii/S0307904X14000754.
Joseph D. Berry, Malcolm R. Davidson, and Dalton J.E. Harvie. Electroviscous flow through a microfluidic T-junction. In Ninth International Conference on CFD in the Minerals and Process Industries, CSIRO, Melbourne, Australia, Dec 10th – 12th 2012a. Link.
Joseph D. Berry, Andrew E. Foong, Cathy Lade, Edward Ross, Elina E. Faisal, Christian Biscombe, Malcolm R. Davidson, and Dalton J.E. Harvie. Electroviscous flow through microfluidic contractions, bends and junctions. In 10th International Symposium on Electrokinetic Phenomena, Tsuksuba, Japan, May 20th – 24th 2012b. Presentation.
Christian J.C. Biscombe, Malcolm R. Davidson, and Dalton J.E. Harvie. Electrokinetic flow in parallel channels: Circuit modelling for microfluidics and membranes. Colloids and Surfaces A: Physicochemical and Engineering Aspects, 440 (0):63 – 73, 2014. ISSN 0927-7757. doi:http://dx.doi.org/10.1016/j.colsurfa.2012.10.037. URL http://www.sciencedirect.com/science/article/pii/S0927775712007224. The 10th International Symposium on Electrokinetic Phenomena.
Noel A. Brennan and Dalton J.E. Harvie. Steady-state oxygen consumption profiles in the cornea. In 2012 Gordon Conference on the Biology and Pathobiology of the Cornea, Ventura, CA, USA, March 25th –30th 2012. Poster.
Davide Ciceri, Lachlan R Mason, Dalton JE Harvie, Jilska M Perera, and Geoffrey W Stevens. Modelling of interfacial mass transfer in microfluidic solvent extraction: part ii. heterogeneous transport with chemical reaction. Microfluidics and Nanofluidics, 14(1-2):213–224, 2013.
Davide Ciceri, Lachlan R Mason, Dalton JE Harvie, Jilska M Perera, and Geoffrey W Stevens. Extraction kinetics of fe (iii) by di-(2-ethylhexyl) phosphoric acid using a y–y shaped microfluidic device. Chemical Engineering Research and Design, 92:571–580, 2014. doi:10.1016/j.cherd.2013.08.033.
Dewi P. Go, Dalton J. E. Harvie, Nicolin Tirtaatmadja, Sally L. Gras, and Andrea J. O’Connor. A simple, scalable process for the production of porous polymer microspheres by ink-jetting combined with thermally induced phase separation. Particle & Particle Systems Characterization, pages n/a–n/a, January 2014. ISSN 09340866. doi:10.1002/ppsc.201300298. URL http://doi.wiley.com/10.1002/ppsc.201300298.
D.P. Go, D.J.E. Harvie, S.L. Gras, and A.J. O’Connor. Ink-jetting combined with phase separation to produce highly porous microspheres for bioactive molecule delivery. In 22nd ASBTE together with the 5th Indo-Australian Conference on Biomaterials, Implants and Tissue Engineering, Barossa Valley, South Australia, April 2nd – 5th 2013. Presentation.
Dalton J. E. Harvie. An implicit finite volume method for arbitrary transport equations. ANZIAM J. (CTAC2010), 52:C1126–C1145, March 2012. Link.
WEI-LUN HSU, Dalton J.E. Harvie, Malcolm R. Davidson, Helen Jeong, Ewa M. Goldys, and David Inglis. Concentration gradient focusing and separation in a silica nanofluidic channel with a non-uniform electroosmotic flow. Lab Chip, pages –, 2014. doi:10.1039/C4LC00504J. URL http://dx.doi.org/10.1039/C4LC00504J.
Wei-Lun Hsu, David W. Inglis, Helen Jeong, David E. Dunstan, Malcolm R. Davidson, Ewa M. Goldys, and Dalton J. E. Harvie. Stationary chemical gradients for concentration gradient-based separation and focusing in nanofluidic channels. Langmuir, 30(18):5337–5348, 2014a. doi:10.1021/la500206b. URL http://pubs.acs.org/doi/abs/10.1021/la500206b.
Wei-Lun Hsu, David W. Inglis, Michael A. Startsev, Ewa M. Goldys, Malcolm R. Davidson, and Dalton J.E. Harvie. Isoelectric focusing in a silica nanofluidic channel: Effects of electromigration and electroosmosis. Analytical Chemistry, 86(17):8711–8718, 2014b. ISSN 0003-2700. doi:10.1021/ac501875u. URL http://dx.doi.org/10.1021/ac501875u.
W.L. Hsu, M. A. Startsev, D. W. Inglis, E. M. Goldys, M. R. Davidson, and D. J. E. Harvie. Dna focusing in nanofluidic channels. In The 17th International Conference on Miniaturized Systems for Chemistry and Life Sciences The 17th International Conference on The 17th International Conference on Miniaturized Systems for Chemistry and Life Sciences (MicroTAS 2013), October 2013 2013.
L. R. Mason, G. W. Stevens, and D. J. E. Harvie. Subgrid CFD film-drainage modelling: Application to buoyancy-driven droplet–wall collisions in emulsions. In 19th Australasian Fluid Mechanics Conference, Melbourne, Australia, 2014.
Lachlan R. Mason, Geoffrey W. Stevens, and Dalton J.E. Harvie. Multi-scale volume of fluid modelling of droplet coalescence. In Ninth International Conference on CFD in the Minerals and Process Industries, CSIRO, Melbourne, Australia, Dec 10th – 12th 2012. Link. Outstanding student paper award.
Lachlan R Mason, Davide Ciceri, Dalton JE Harvie, Jilska M Perera, and Geoffrey W Stevens. Modelling of interfacial mass transfer in microfluidic solvent extraction: part i. heterogenous transport. Microfluidics and Nanofluidics, 14(1-2):197–212, 2013.