Coder Social home page Coder Social logo

boorlakov / fengine Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 295 KB

Homework assignments for equations of mathematical physics

License: MIT License

C# 100.00%
nonlinear finite-element-method finite-difference-method hyperbolic-equations parabolic-equations elliptic-equations homework-assignments avalonia

fengine's Introduction

Fengine

.NET

Engine for building and solving PDE using finite elements method

e. g.:

$$-\text{div(}\lambda\text{grad} u) + \gamma u = f$$

or

$$-\text{div(}\lambda\text{grad} u) + \chi \frac{\partial^2 u}{\partial t^2} + \sigma \frac{\partial u}{\partial t} = f$$

fengine's People

Contributors

boorlakov avatar poleley avatar

Stargazers

 avatar

Watchers

 avatar

fengine's Issues

Добавить метод Ньютона

Реализовать и протестировать метод Ньютона как на бекенде, так и учесть опцию на фронтенде

Проблема с получением ответа через `SolveWithSimpleIteration`

Описание проблемы
При запуске простой наиболее простой и возможной задачи, ответ не сходится с ожидаемым.

Чтобы воспроизвести
Шаги, чтобы воспроизвести ошибки:

  1. Откройте тестовый проект FiniteElementsMethodTests
  2. Откройте файл FemSolverTest
  3. Наведитесь на соответствующий тест FemSolverWithSimpleIterationTest_WhenPassSimpleFuncAndNonUniformGrid_ShouldReturnCorrectResult
  4. Запустите в режиме Debug
  5. Смотрите на полученный результат и сравните его с ожидаемым

Ожидаемое поведение
Простой массив значений {2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3.0}

Screenshots
Screenshot 2022-03-15 at 18 38 35

Desktop:

  • OS: [MacOS]
  • IDE: [Rider]
  • Version: [2021.3.3]
  • .NET Version: 6.0.1

Дополнительная информация
Возможно, ответ не сходится из-за неправильного формирования функции uK, которая впоследствии интегрируется. Возможно требуется передавать кусочно заданную функцию, а не всю, как это есть сейчас. Задача тяжелая, требуется расследование

Добавить коэффициент релаксации

Необходимо добавить коэфициент релаксации для ускорения сходимости простой итерации.

Коэф. релаксации должен уметь вводиться напрямую пользователем и уметь вычисляться автоматически как минимизация функционала.

  • Учет коэф. релаксации в методе (backend)
  • Отображение на стороне UI как дополительное поле с параметрами (автоматическое вычисление, или задается пользователем) (frontend)

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.