This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 7663 , 788 , 722 , 779 , 854 , 193 , 194 | |
| *ELEMENT,TYPE=C3D6,ELSET=contactelements_st1_in1_at1_it2 | |
| 7664 , 788 , 722 , 779 , 854 , 193 , 194 | |
| *ELEMENT,TYPE=C3D6,ELSET=contactelements_st1_in1_at1_it2 | |
| 7665 , 788 , 722 , 779 , 854 , 193 , 194 | |
| *ELEMENT,TYPE=C3D6,ELSET=contactelements_st1_in1_at1_it2 | |
| 7666 , 788 , 722 , 779 , 854 , 193 , 194 | |
| *ELEMENT,TYPE=C3D6,ELSET=contactelements_st1_in1_at1_it2 | |
| 7667 , 788 , 722 , 779 , 854 , 193 , 194 | |
| *ELEMENT,TYPE=C3D6,ELSET=contactelements_st1_in1_at1_it2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# LANGUAGE FlexibleInstances #-} | |
| {-# LANGUAGE TypeOperators #-} | |
| {-# LANGUAGE BlockArguments #-} | |
| -- | cascade, waterfall, rapids | |
| -- simplify waterfall-cad expressions by complicating the types and type errors | |
| -- same as before with a fromInteger 0 case added | |
| module Rapids (module Rapids, module Linear, module Control.Lens, module Waterfall) where | |
| import Control.Lens hiding (prism) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // https://youtu.be/1A2gVRfUDPY | |
| // start the window, resize it, press enter to start recording out.mp4 | |
| #ifndef RAYLIBD | |
| #include "raygui.h" | |
| #include "raylib.h" | |
| #include "raymath.h" | |
| #include <math.h> | |
| #include <stdbool.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo ================= | |
| sed '/\*MATERIAL, NAME=MaterialSolid/{ n; N; c\ | |
| *HYPERELASTIC, NEO-HOOKE\ | |
| 0.738,1e3 | |
| }' -i FEMMeshNetgen.inp | |
| # freecad uses MPa, | |
| # it converges for high values of *SURFACE BEHAVIOR | |
| # | |
| # https://rsmith.home.xs4all.nl/engineering/mooney-rivlin-rubber-data-for-calculix.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# LANGUAGE FlexibleInstances #-} | |
| {-# LANGUAGE TypeOperators #-} | |
| -- moved to https://github.com/aavogt/battery-adapter | |
| -- | cascade, waterfall, rapids | |
| -- simplify waterfall-cad expressions by complicating the types and type errors | |
| module Rapids (module Rapids, module Linear, module Control.Lens, module Waterfall) where | |
| import Control.Lens hiding (prism) | |
| import Data.Maybe | |
| import Data.Proxy (Proxy (..)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- | 2d version of https://gist.github.com/aavogt/8fb7162e572d72049748e1e42b12bbd2 | |
| -- | |
| -- Example output: | |
| -- https://i.ibb.co/yFBtS903/cup.png | |
| -- | |
| -- > p0 = execPath $ | |
| -- > do | |
| -- > hliner 140 | |
| -- > vliner 160 | |
| -- > hliner 140 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# LANGUAGE FlexibleContexts #-} | |
| -- # LANGUAGE NamedFieldPuns #-} | |
| -- # LANGUAGE OverloadedRecordDot #-} | |
| -- import Reinsch | |
| import Control.Lens | |
| import Data.List | |
| import qualified Data.Vector.Storable as V | |
| import Linear | |
| import Waterfall |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :set -XArrows | |
| :set -i. | |
| :load Arr.hs | |
| :script bin/Tidal.ghci | |
| import Control.Arrow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # diagram or explanation at http://aavogt.github.io/pickup.html | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| from matplotlib.widgets import Slider, CheckButtons | |
| import warnings | |
| warnings.filterwarnings('ignore') | |
| # Vehicle and fuel parameters | |
| truck_mass = 15000 # kg (loaded garbage truck) | |
| drag_coefficient = 0.8 # typical for box truck |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import fullcontrol as fc | |
| import math | |
| import time | |
| import os | |
| # the main thing is to reduce the temperature | |
| # do I add retraction? Z or E? M207, G10 G11 | |
| # do I slow it down? | |
| # do I make them closer together? | |
| # do I add a horizontal line that gets cut off? This way I |
NewerOlder