UNAMalla 6
A 2D block structured mesh generator in Julia
System and Software Requirements
8 GiB of RAM memory
x86-64 Architecture
Graphics support for OpenGL
Julia v1.6.2 and up
Jupyter Notebook
UNAMalla 6β was tested on Debian 10 and 11, Windows 10 and MacOS El Capitan.
Compressed Files
Source code in JL format
Regions in XYZ format
Original regions in the directory polydata are from the PolySeg data
Original regions in the directory mexico_water_bodies are from the AmeriGEOSS data
ISO image with UNAMalla 6β v0.1
Installation Instructions
Steps for UNAMalla 6β v0.3
Enter in Package Manager mode by typing
]
and install Pluto v0.19.32
(v1.10) pkg> add Pluto@0.19.32
(v1.10) pkg> pin Pluto@0.19.32
Steps for UNAMalla 6β v0.1-0.2
Enter in Package Manager mode by typing
]
an add the packages required by our mesher:
(v1.10) pkg> add FileIO PrettyTables Colors Conda WebIO PlotlyJS Gtk IJulia Optim Cbc JuMP ImageMagick Makie@0.14.2 GLMakie@0.4.2 CairoMakie
Install Jupyter Notebook 6 and its WebIO extension via Conda.
julia> using Conda; Conda.add("notebook=6.4.8";channel="conda-forge");
julia> Conda.pip_interop(true); Conda.pip("install", "webio_jupyter_extension");
Start the the Jupyter Notebook for the first time. Shutdown Jupyter afterwards.
julia> using IJulia; notebook();
Optional Step. UNAMalla 6β v0.1-0.2 use the external program DUDE2D for Automatic Region Decomposition. We provide a compiled file dude2d_nogl
in the subdirectory dude2d
for Debian 10 and 11. In order to use it you need the following:
Add permissions to the file
dude2d_nogl
to run it as an executable fileInstall the packages
libmpfr6
andlibcgal13
Link the libraries:
sudo ln -s /usr/lib/x86_64-linux-gnu/libmpfr.so.6 /usr/lib/x86_64-linux-gnu/libmpfr.so.4
sudo ln -s /usr/lib/x86_64-linux-gnu/libCGAL.so.13 /usr/lib/x86_64-linux-gnu/libCGAL.so.12
In other linux distributions you need to download and compile DUDE2D with the nogl option on your own.
Steps for EditBoundary.jl
Enter in Package Manager mode by typing
]
an add the package
(v1.10) pkg> add EditBoundary
Steps for EditBoundary β
Follow the same installation as UNAMalla 6β v0.1
Still can't use UNAMalla 6β?
If the above steps fail, you can use a Live USB with UNAMalla 6β preinstalled. Basically, you boot your computer from an USB drive to launch a Operating system (OS). This require the following requirements:
A USB drive with at least 8 GiB of storage (data will be lost)
A program to flash OS Images to USB drives
Our ISO image with UNAMalla 6β
We use a customized MX Linux distribution to launch our mesh generator in a Live USB.
Steps to burn our OS image to a USB drive
Download our OS image with UNAMalla 6β
Burn the OS image into a USB drive using an external program.
Ubuntu users can use the Startup Disk Creator. Advanced linux users also can use the commad
dd
with superuser privileges.Etcher is a cross-platform program to flash OS Images to USB drives.
Warning: Be careful to identify the appropiate label for your USB drive in the above programs.