ashwinvis / caeroc Goto Github PK
View Code? Open in Web Editor NEWโด๐ฉ Compressible Aerodynamics Calculator for Python
License: GNU General Public License v3.0
โด๐ฉ Compressible Aerodynamics Calculator for Python
License: GNU General Public License v3.0
Allow user to use Normal Shock
and Oblique Shock
modes.
See caeroc/profiles module
Should not get core dumped. Will have to be dealt in scikit-aero/skaero/gasdynamics/isentropic.py
or in caeroc.
DEBUG:caeroc-app:MODE: Normal shock relations
INFO:caeroc-app:{'M_1': 0.9}
CRITICAL:caeroc-app:Mach number must be supersonic
Traceback (most recent call last):
File "/scratch/avmo/opt/caeroc-r8bspf19/src/scikit-aero/skaero/gasdynamics/isentropic.py", line 54, in mach_angle
mu = np.arcsin(1 / M)
FloatingPointError: invalid value encountered in arcsin
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/avmo/src/caeroc/caeroc/gui/runtime.py", line 214, in on_qpb_calculate_released
self.mode.calculate(**kwargs)
File "/home/avmo/src/caeroc/caeroc/formulae/shock.py", line 89, in calculate
self.store(key, getattr(self, key))
File "/scratch/avmo/opt/caeroc-r8bspf19/src/scikit-aero/skaero/gasdynamics/shocks.py", line 219, in M_2
M_2 = self.M_2n / np.sin(self.beta - self.theta)
File "/scratch/avmo/opt/caeroc-r8bspf19/src/scikit-aero/skaero/gasdynamics/shocks.py", line 194, in theta
if self.beta == mach_angle(self.M_1) or self.beta == np.pi / 2:
File "/scratch/avmo/opt/caeroc-r8bspf19/src/scikit-aero/skaero/gasdynamics/isentropic.py", line 56, in mach_angle
raise ValueError("Mach number must be supersonic")
ValueError: Mach number must be supersonic
[1] 11343 abort (core dumped) caeroc-app
As of now PyQt5 and PySide are supported.
Can be integrated into the existing caeroc-app
or as a separate app.
Related issue: AeroPython/scikit-aero#6
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.