This file contains 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
model SimpleCarModel | |
extends Modelica.Icons.Example; | |
inner Modelica.Mechanics.MultiBody.World world(animateGravity = false) annotation(Placement(transformation(extent = {{-40, 40}, {-20, 60}}, rotation = 0, origin = {-40, -70}), visible = true)); | |
Modelica.Mechanics.MultiBody.Joints.Prismatic prismatic(animation = false) annotation(Placement(visible = true, transformation(origin = {-20, -20}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); | |
Modelica.Mechanics.MultiBody.Forces.WorldForce force(animation = false) annotation(Placement(visible = true, transformation(origin = {-30, 40}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); | |
Modelica.Blocks.Sources.Constant const annotation(Placement(visible = true, transformation(origin = {-70, 40}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); | |
Modelica.Blocks.Sources.Constant const1 annotation(Placement(visible = true, transformation(origin = {-70, 10}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); | |
Modelica.Blocks.Sources.Ramp ramp(duration = 2, |
This file contains 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
test1 = App.newDocument("Test1") | |
cylinder=test1.addObject("Part::Box","Cylinder") | |
cylinder.Height = '20 mm' | |
cylinder.Width = '5 mm' | |
cylinder.Length = '40 mm' | |
myvec = App.Vector(5,0,5) | |
myvec_2 = App.Vector(0,0,0) |
This file contains 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
print("flag 1") | |
test1 = App.newDocument("Test1") | |
cylinder=test1.addObject("Part::Box","Cylinder") | |
cylinder.Height = '20 mm' | |
cylinder.Width = '5 mm' | |
cylinder.Length = '40 mm' |
This file contains 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
test1 = App.newDocument("Test1") | |
cylinder=test1.addObject("Part::Box","Cylinder") | |
cylinder.Height = '20 mm' | |
cylinder.Width = '5 mm' | |
cylinder.Length = '40 mm' | |
myvec = App.Vector(5,0,5) | |
myvec_2 = App.Vector(0,0,0) |
This file contains 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
#include <16f877.h> | |
#fuses HS,NOWDT,NOLVP,NOPROTECT | |
#USE delay (clock=20M) | |
void main(){ | |
while(1){ | |
output_high(PIN_B0); | |
delay_ms(1000); |
This file contains 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
model multibody_Coulomb_static_friction | |
//constants | |
parameter Real muk=1.0; | |
parameter Real mus=1.3; | |
parameter Real m1=1.0; | |
parameter Real m2=2.0; | |
parameter Real m3=3.0; | |
parameter Real Fn12=1.0; | |
parameter Real Fn23=2.0; |
This file contains 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
// OpenFOAM, thermophysicalProperties, sonicFoam, butane --> OP: https://www.researchgate.net/post/Do_you_know_what_are_the_best_thermophysical_settings_for_sonicFoam_solver_to_simulate_a_process_with_butane_gas | |
FoamFile | |
{ | |
version 2.0; | |
format ascii; | |
class dictionary; | |
location "constant"; | |
object thermophysicalProperties; | |
} |
This file contains 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
lc = 0.03; | |
rc = 0.01; | |
xp = 0.01; | |
c = 0.005; | |
rp = rc - c; | |
lp = lc - xp; | |
T0 = 300; | |
eta0 = 1.846*10^-5; | |
P1 = 6*10^5 ; | |
P0 = 10^5; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
x | y | |
---|---|---|
10 | 0.197084039 | |
30 | 0.182641149 | |
50 | 0.179242834 | |
100 | 0.203031108 | |
150 | 0.180092409 | |
200 | 0.163100779 | |
300 | 0.163100779 | |
400 | 0.169897437 | |
600 | 0.169897437 |
OlderNewer