بدون توضیح

Snow c7f1dba5ad Corrected cfd file query logic 8 سال پیش
hdpg1d c7f1dba5ad Corrected cfd file query logic 8 سال پیش
test 7016eff45d Completed cfg file query 8 سال پیش
.gitignore 9071da17ce Updated ignore list 8 سال پیش
.travis.yml 421d8c303d Updated tests 8 سال پیش
LICENSE e57d36cd1c Initial commit 8 سال پیش
MANIFEST.in 7016eff45d Completed cfg file query 8 سال پیش
README.md 56edc650d1 Updated readme 8 سال پیش
requirements.txt ed84c1bb70 Added a seperate requirement file 8 سال پیش
setup.py 7016eff45d Completed cfg file query 8 سال پیش

README.md

Table of Contents

HDPG1D

This is a python package that solves 1-Dimensional PDEs using hybridizable discontinuous Petrov-Galerkin discretization, a novel FEA discretization that ensures the best solution quality without extra stablization mechanism. The following image shows the solution of 1D inviscid Burger's equation using HDPG discretization.

\frac{\partial u}{\partial t} + \frac{1}{2} \frac{\partial u^2}{\partial x} = 0, \quad \text{in } \Omega \in [0,1].

Notice that the oscillations near the shock are well controlled even without any artificial stablization mechanism.

The main task of this project is to build an automated CFD framework based on HPDG discretization and robust adaptive mesh refinement. The solver is currently capable of solving 1D convection-diffusion equations and is being actively developed.

Install

In the souce directory:

python setup.py sdist
cd dist/
pip install hdpg1d

Usage

In terminal, call:

PGsolve

Follow the prompts to setup the problem, visualize the solution, and check the convergence.