https://github.com/gjankowiak/dajlr.2024

https://github.com/gjankowiak/dajlr.2024

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.0%) to scientific vocabulary
Last synced: 5 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: gjankowiak
  • Language: Julia
  • Default Branch: master
  • Size: 4.45 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 2 years ago · Last pushed 10 months ago
Metadata Files
Readme

README.md

Numerical gradient flow evolving heterogeneous elastic wires

As described in:

[dAJLR] Dall'Acqua, Jankowiak, Langer, Rupp, Conservation, convergence, and computation for evolving heterogeneous elastic wires.

See the preprint on the arXiv or the published version.

The core code is implemented in a separate package: ModulatedCurves.jl.

Installation

  • Install Julia
  • Clone this repository: git clone https://github.com/gjankowiak/dAJLR.2024 && cd dAJLR.2024
  • Start a new project: julia --project=.
  • Get the packages, the will also pull all dependencies: ] add https://github.com/gjankowiak/ModulatedCurves.jl

Usage

  • Try with the default set of parameters: include("flow.jl")

  • To run the code, you can call the flow function by passing the path to a configuration file. For some of the figures, configuration files are in the figures directory. For examples, the solution in Figure 11 (a) is obtained with: flow("figures/fig11/a.toml") The results will be output to the figures/results directory.

  • You can edit the newly created config.params.toml and function_definitions.jl run it again!

The energy plots (Figures 8 and 9) can be generated with include("show_energy") show_energy("figures/results/fig8") show_energy("figures/results/fig9") The resulting .pdf file will be located in the corresponding result directory.

Capture of an hand-drawn initial curve

The capture directory contains two scripts that can be used to capture mouse/pen table input to use as initial data for the curve. They require opencv, numpy and matplotlib. First run python capture.py, draw a curve with the mouse and hit ESC when done. Then run python postproc.py, which will output a .csv file usable as initial data (see the filename key in the configuration files, i.e. figures/fig12.toml).

Note that in this case, the initial density $\rho$ will be constant along the curve.

Owner

  • Name: Gaspard Jankowiak
  • Login: gjankowiak
  • Kind: user
  • Location: graz.at

GitHub Events

Total
  • Push event: 2
Last Year
  • Push event: 2