Skip to main content

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 model 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 model 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 is available here including some information for MAC and Windows user.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phasefield-1.0.1.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

phasefield-1.0.1-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

File details

Details for the file phasefield-1.0.1.tar.gz.

File metadata

  • Download URL: phasefield-1.0.1.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.7.3

File hashes

Hashes for phasefield-1.0.1.tar.gz
Algorithm Hash digest
SHA256 fb354d669c1d6d49acc3fab2ff94427364a1422e8271bc29e68f3b1d0f0b7f82
MD5 b8913bcec851b86ab1088d3852cee6fd
BLAKE2b-256 518bc9f3a306d5615d9403cd525c7f42a9c1e1999f42f59dae1b3bcb17be02b2

See more details on using hashes here.

File details

Details for the file phasefield-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: phasefield-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 36.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.7.3

File hashes

Hashes for phasefield-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 150493abcfbc5cc80cc4d9989a9e2ca3146023882c326b53d394cc21e7deb786
MD5 3d5665da11800729394bad8a22d72d6f
BLAKE2b-256 c9f347d629a59b979945022998971b82febbe975bad9108d493e06132ebacba8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page