Interface problem solver based on the phase-field methodology
Project description
Automatic Construction of Phasefield Approximations from Sharp-Interface Models
The title says it all: this module uses a simple description of a sharp
interface problem to derive a phasefield approximation which can then be
solved using a finite-element toolbox. The domain specific language
UFL is used both for defining the sharp interface model and for
the weak formulation of the phasefield approximation. The resulting UFL form
can then be inserted into any of the finite element packages available
which can take UFL forms as an input. A class for evolving the solution
over time is available based on dune and fenics.
The bindings for the dune
package include both local grid refinement and
coarsening. This makes it easy to track the interface with a fine grid
while a coarser grid can be used away from the interface. This is essential
for evolving phasefield models efficiently. In addition the dune
stepper
also provides an efficient solver for obstacle problems so that double
obstacle potentials can be used in the modelling. This solver is based
on tnmg.
So far this module has been tested with:
- two phase models including additional bulk equations, e.g., for the temperature
- multphase models
- single phase models, e.g., crack propagation problems
Installation
The easiest way to test this module is using the docker
container provided.
Assuming docker
is available on your system simply running the script
rundune.sh
will download the docker image for the dune-fem
package and start the container. Within the container running the
phasefield.sh
script will complete the installation - this step takes
some time but is only required the first time the docker container is set
up. Within the docker container /host
points to the folder from which
rundune.sh
was started, e.g., the root folder of this repository.
Some examples are contained in the tutorials
folder.
More information on using the docker container can be found
here including some information for MAC and Windows user.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file phasefield-0.0.1.tar.gz
.
File metadata
- Download URL: phasefield-0.0.1.tar.gz
- Upload date:
- Size: 37.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41a6a9fc9d76e95196be6f190d47f8366e4babc61017794290c4da164d7aa413 |
|
MD5 | 7da1a570fb0d67c5b10d287941bc08c0 |
|
BLAKE2b-256 | 35e5c3915a96f73b430390dce1b6a12ade542b1443a378ca6f59a77c5c7b22f9 |