Coder Social home page Coder Social logo

life-hts's Introduction

This repository contains numerical experiments codes for my gradutaion thesis and initialy based on life-hts. I also referenced the example model of GetDP.

This is example to run my codes.

gmsh relaxation.geo -2
getdp relaxation.pro -solve MagDynHTime
getdp relaxation.pro -pos MagDynH
gmsh res/j.pos

I also wrote the Dockerfile as a example. To run this, type and run following commands. If you want to visualize the result, open the file under src/relax/2D/relaxation/res by Gmsh on Host. Tested on Ubuntu 20.10.

sudo docker build -t life-hts .
sudo docker run -it --rm  -v $PWD/src/relax/2D/relaxation:/onelab-Linux64/src life-hts

Below one is original README from life-hts for a reference purpose.

Life-HTS

Liège university Finite Element models for High-Temperature Superconductors - 2019

http://www.life-hts.uliege.be

Description

This project contains files for modeling systems containing high-temperature superconductors (HTS) with the GetDP software (http://getdp.info/), using Gmsh as mesh generator (http://gmsh.info/).

To launch a simulation:

  • Download and install current versions of GetDP and Gmsh (see http://getdp.info/ and http://gmsh.info/ for full instructions). Below, it is assumed that these programs can be launched from the command line using getdp and gmsh (with aliases).

  • Clone or download this repository.

  • Choose a model, enter the corresponding directory. Run Gmsh for meshing and GetDP for resolution. Below, an example is given for the cylinder problem:

gmsh cylinder.geo -2
getdp cylinder -solve MagDyn -verbose 3
getdp cylinder -pos MagDyn -verbose 3
gmsh res/b.pos

The first command generates a mesh of dimension 2 (the cylinder model is axisymmetric). To mesh the cube geometry, the command is thus gmsh cube.geo -3.

The second command performs the time integration and the third command processes the results to generate output files (the verbosity level 3 will give information about each nonlinear iteration within each time step, it can be decreased if less information is needed).

As an example, the last command will open the output file containing the magnetic flux density distribution in the Gmsh interface.

life-hts's People

Contributors

geuzaine avatar nindanaoto avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.