Giter Club home page Giter Club logo

ikarusshowcasepython's Introduction

Python

(Trimmed) IGA showcase using Ikarus' python bindings

This workspace provides an example for IGA analysis using Ikarus with Python.

You can use the workspace with the provided devcontainer. Everything should be set up automatically for you. The only dependency is Docker with WSL2 integration. It is also possible to run in a Github codespace.

Usage

Run main.py in the src folder. Change parameters in the main function as you like. (Warning, refinement bigger than 6 can lead to rather long computation times).

If you have a windowing server (like X) available you can also run the plot function to display the displacement contour plot.

Troubleshooting

If Ikarus doesn't install / compile itself automatically you can run:

pip install --pre pyikarus --verbose --upgrade --no-build-isolation

If Python isn't able to find Ikarus, make sure to be in the correct python venv. Run pip -V. This should return something similar to

pip 23.3.1 from /dune/dune-common/build-cmake/dune-env/lib/python3.11/site-packages/pip (python 3.11)

If this is not the case enable the venv via

source /dune/dune-common/build-cmake/dune-env/bin/activate

LICENSE: If not otherwise stated: MIT

ikarusshowcasepython's People

Contributors

henrij22 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.