mecheng / mechmat Goto Github PK
View Code? Open in Web Editor NEWPython package for the definition of materials used during mechanical engineering calculations
Home Page: https://mechmat.readthedocs.io
License: MIT License
Python package for the definition of materials used during mechanical engineering calculations
Home Page: https://mechmat.readthedocs.io
License: MIT License
def _tbl_writer(self, writer):
writer.headers = ['Material Attribute', 'Value']
tbl = []
if isinstance(writer, MarkdownTableWriter) or isinstance(writer, LatexTableWriter):
value_str = '$ {:L} $'
else:
value_str = '{}'
for prop in self._logistic_properties:
if getattr(self, prop) is not None:
tbl.append([prop.replace('_', ' '), str(getattr(self, prop))])
for prop in self._state:
if getattr(self, prop) is not None:
tbl.append([prop.replace('_', ' '), value_str.format(getattr(self, prop))])
writer.value_matrix = tbl
writer.margin = 1
return writer
change value_str = '$ {:L} $
for none_Quantity types
Cross-Arrhenius should be build from those two combined
plot the temperature vs specific volume
Combine Cross en WLF-shift
Use non-proprietary data from sources such as:
osswald_polymer_2015 and rao_basic_2017
Materials should be able to use interpolated 1D and 2D data
The user should be able to cite:
Plot a shear rate
Using a sympy symbol as a value Fails on the range check
TypeError: cannot determine truth value of Relational
When measured data is used for instance viscosity against shear rate and temperature
and the user works on a material outside of the measured shear rate and temperature range, he should be notified if viscosity is used in his calculations, notifying him that the actual value of the viscosity is not guaranteed.
This could also occur when functions instead of measured data is used.
Materials should be able to save their data to a text based file like json or yaml
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.