Skip to content

Commit

Permalink
Merge pull request #2 from virtual-labs/testing
Browse files Browse the repository at this point in the history
Testing
  • Loading branch information
vaibhavkurhe27 authored May 5, 2022
2 parents a0b95d2 + 8483a1a commit a309662
Show file tree
Hide file tree
Showing 45 changed files with 3,075 additions and 57 deletions.
2 changes: 1 addition & 1 deletion experiment/aim.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
### Aim of the experiment
### Tuned Vibration Absorber
2 changes: 1 addition & 1 deletion experiment/experiment-name.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
## Experiment name
## Tuned Vibration Absorber
Binary file added experiment/images/img1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/img10.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/img11.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/img12.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/img13.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/img14.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/img15.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/img16.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/img17.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/img2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/img20.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/img3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/img4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/img5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/img6..jfif
Binary file not shown.
Binary file added experiment/images/img6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/img7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/img8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 47 additions & 21 deletions experiment/posttest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,63 @@
"version": 2.0,
"questions": [
{
"question": "This is a Sample Question 1?",
"question": "The maximum displacement from mean position of a vibrating body is called ",
"answers": {
"a": "answer1",
"b": "answer2",
"c": "answer3",
"d": "answer4"
"a": "Frequency ",
"b": "Phase",
"c": "Amplitude",
"d": "Resonance"
},
"explanations": {
"a": "Explanation 1 <a href='www.google.com'>here</a>",
"b": "Explanation 2",
"c": "Explanation 2",
"d": "Explanation 2"

"correctAnswer": "c",
"difficulty": "beginner"
},
{
"question": "What is the number of nodes in a shaft carrying three rotors?",
"answers": {
"a": "2",
"b": "zero",
"c": "4",
"d": "3"
},

"correctAnswer": "a",
"difficulty": "beginner"
},
{
"question": "This is a Sample Question 2?",
"question": "A vibrating system is said to be critically damped when the damping factor is ",
"answers": {
"a": "Infinity",
"b": "zero",
"c": "0.5",
"d": "Unity"
},

"correctAnswer": "d",
"difficulty": "beginner"
},
{
"question": "When a system is subjected to forced vibrations, then under steady-state conditions",
"answers": {
"a": "answer1",
"b": "answer2",
"c": "answer3",
"d": "answer4"
"a": "It vibrates at its natural frequency",
"b": "It vibrates at the imposed frequency",
"c": "It vibrates at the mean of natural and imposed frequencies",
"d": "None of the above"
},
"explanations": {
"a": "Explanation 1 <a href='www.google.com'>here</a>",
"b": "Explanation 2",
"c": "Explanation 2",
"d": "Explanation 2"

"correctAnswer": "b",
"difficulty": "beginner"
},
{
"question": "Critical or whirling speed is the speed at which the shaft tends to vibrate violently in",
"answers": {
"a": "Transverse direction",
"b": "Longitudinal direction",
"c": "Linear direction",
"d": "None of these"
},
"correctAnswer": "c",

"correctAnswer": "a",
"difficulty": "beginner"
}
]
Expand Down
58 changes: 36 additions & 22 deletions experiment/pretest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,51 @@
"version": 2.0,
"questions": [
{
"question": "This is a Sample Question 1?",
"question": "Which of the following relations with usual notation will hold good in a dynamic vibration absorber system under tuned conditions?",
"answers": {
"a": "answer1",
"b": "answer2",
"c": "answer3",
"d": "answer4"
"a": "k<sub>1</sub>k<sub>2</sub> = m<sub>1</sub>m<sub>2</sub>",
"b": "k<sub>1</sub>m<sub>2</sub> = m<sub>1</sub>k<sub>2</sub>",
"c": "k<sub>1</sub>m<sub>1</sub> = k<sub>2</sub>m<sub>2</sub>",
"d": "k<sub>1</sub> + k<sub>2</sub> = m<sub>1</sub> + m<sub>2</sub>"
},
"explanations": {
"a": "Explanation 1 <a href='www.google.com'>here</a>",
"b": "Explanation 2",
"c": "Explanation 2",
"d": "Explanation 2"

"correctAnswer": "b",
"difficulty": "beginner"
},
{
"question": "The damping force is constant in magnitude but opposite in direction to that of motion of vibrating bodies in case of",
"answers": {
"a": "Viscous damping",
"b": "Slip damping",
"c": "Columb damping",
"d": "Structural damping"
},
"correctAnswer": "a",

"correctAnswer": "c",
"difficulty": "beginner"
},
{
"question": "This is a Sample Question 2?",
"question": "At resonance, the amplitude of vibration is ",
"answers": {
"a": "answer1",
"b": "answer2",
"c": "answer3",
"d": "answer4"
"a": "small",
"b": "zero",
"c": "Depend on frequency",
"d": "Very large"
},
"explanations": {
"a": "Explanation 1 <a href='www.google.com'>here</a>",
"b": "Explanation 2",
"c": "Explanation 2",
"d": "Explanation 2"

"correctAnswer": "d",
"difficulty": "beginner"
},
{
"question": "In case of critical damping the damping factor ratio is ",
"answers": {
"a": "Equal to one",
"b": "Equal to zero",
"c": "Less than one",
"d": "Greater than one"
},
"correctAnswer": "c",

"correctAnswer": "a",
"difficulty": "beginner"
}
]
Expand Down
14 changes: 13 additions & 1 deletion experiment/procedure.md
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
### Procedure
### Procedure

This experiment deals with the process of design of a tuned vibration absorber. Read the text provided on the screen opened on clicking tab 'Background'.

On opening the screen of simulator by clicking the tab 'simulator' and following the hyperlink 'click here to open the simulator', you will see graphics of main system having mass M<sub>1</sub> and stiffness K<sub>1</sub> (divided in two springs, each having stiffness K<sub>1</sub>/2) attached with an auxiliary system with mass M<sub>2</sub> and stiffness K<sub>2</sub>. A representative rotating mass is seen inside M<sub>1</sub>. The values of mass and stiffness of the main system and the unbalance mass and its rotational speed are fixed i.e. the natural frequency of the main system before attaching the auxiliary system and the forcing frequency are fixed (cannot be changed) and their values are close to each other &omega; = 0.95 &omega;n.

The values of mass and stiffness of the auxiliary system can be selected by the user, i.e. natural frequency of the auxiliary system as an independent and separate system can be changed. You are supposed to input different values of the mass and stiffness of auxiliary system (M<sub>2</sub> and K<sub>2</sub>) and observe the responses of this and the primary system. You are also supposed to note that when the value of natural frequency of the auxiliary system is equal to the excitation frequency, the response of the main system is reduced to minimal. It is the value of natural frequency (the ratio K<sub>2</sub>/M<sub>2</sub>) of the auxiliary system that is important and not the individual values of M<sub>2</sub> and K<sub>2</sub>. The design of a dynamically tuned vibration absorber is governed by the permissible response of the mass of auxiliary system, M<sub>2</sub>, which is given by the ratio of amplitude of the forcing function and stiffness of the auxiliary system (X<sub>2</sub> = F<sub>0</sub>/K<sub>2</sub>). Higher values of K<sub>2</sub> keep the response X<sub>2</sub> low but demand greater values of mass M<sub>2</sub>. Usually, the value of the mass ratio, M<sub>2</sub>/M<sub>1</sub>, is kept between 0.05 and 0.25.

Follow these steps to work with the simulator:

1. Input values of mass, M<sub>2</sub>, and stiffness, K<sub>2</sub>, of the auxiliary system in the suggested range. Select the value of M<sub>2</sub> around 0.1 times the mass M<sub>1</sub> and the value of K<sub>2</sub> such that the ratio K<sub>2</sub>/M<sub>2</sub> is very nearly equal to the ratio K<sub>1</sub>/M<sub>1</sub>.
2. Run the simulation.
3. On stopping the simulation automatically, observe the values of responses of X<sub>1</sub> and X<sub>2</sub>. Note that when &omega;= &omega;<sub>1</sub> = &omega;<sub>2</sub>, X<sub>1</sub> = 0 and X<sub>2</sub> = F<sub>0</sub>/K<sub>2</sub>.
1 change: 0 additions & 1 deletion experiment/references.md
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
### Link your references in here
138 changes: 138 additions & 0 deletions experiment/simulation/css/TVA.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
* {
margin: 0;
padding: 0;
}
#tabs {
height: 717px;
left: 0;
top: 0;
}
#uservalues {
height: 520px;
margin-left: 729px;
margin-top: -513px;
width: 550px;
}
#diagram {
border-width: 2px;
width: 500px;
border: 2px solid #000000;
border-radius: 10px;
height: 500px;
margin-left: 65px;
margin-top: 11px;
padding-left: 90px;
padding-right: 90px;
}
#uservalues fieldset p {
background: #b9cf6a;
background: #6DC9FB;
border-color: #e3ebc3;
border-color: rgba(25, 180, 180, 0.6);
border-style: solid;
border-width: 2px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
line-height: 16px;
list-style: none;
padding: 1px 8px;
height: 45px;
margin-left: -2px;
margin-top: 10px;
width: 202px;
}
#uservalues fieldset legend {
color: highlight;
font-size: 16px;
text-shadow: 0 1px 1px #FFFFFF;
}
#uservalues fieldset input {
background: none repeat scroll 0 0 #FFFFFF;
border: medium none;
border-radius: 3px;
font: italic 15px Georgia, "Times New Roman", Times, serif;
height: 18px;
margin: 5px 5px 3px 17px;
outline: medium none;
padding: 5px;
margin-left: 6px;
margin-top: 10px;
width: 121px;
}
#uservalues fieldset label {
margin-left: 5px;
}
#uservalues fieldset {
border: 2px solid #000000;
border-radius: 10px;
color: #384313;
font-size: 13px;
font-weight: bold;
height: 500px;
margin-top: -3px;
width: 463px;
padding-bottom: 10px;
text-shadow: 0 1px 1px #C0D576;
margin-left: 58px;
padding-left: 12px;
}
button.greenbtn {
background: -moz-linear-gradient(center top , #3C9300, #398A00) repeat scroll 0 0 rgba(0, 0, 0, 0);
border: 1px solid #29691D !important;
transition: border 0.2s ease 0s;
}
button {
text-decoration: none;
text-shadow: 0 1px 0 #fff;
font: 11px /17px Comic Sans MS, Arial, sans-serif;
color: #FFFFFF;
line-height: 17px;
height: 18px;
display: inline-block;
padding: 5px 6px 4px 6px;
background: #F3F3F3;
border: solid 1px #D9D9D9;
border-radius: 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
-webkit-transition: border-color .20s;
-moz-transition: border-color .20s;
-o-transition: border-color .20s;
transition: border-color .20s;
height: 29px !important;
cursor: pointer;
}
button.redbtn {
background: -moz-linear-gradient(center top , #DC4A38, #D14836) repeat scroll 0 0 rgba(0, 0, 0, 0);
border: 1px solid #D14836 !important;
transition: border 0.2s ease 0s;
}
button.bluebtn {
border: 1px solid #3079ED !important;
background: #199DC8;
background: -webkit-linear-gradient(top, #199DC8,#199DC8);
background: -moz-linear-gradient(top, #199DC8,#199DC8);
background: -ms-linear-gradient(top, #199DC8, #199DC8);
background: -o-linear-gradient(top, #199DC8, #199DC8);
-webkit-transition: border .20s;
-moz-transition: border .20s;
-o-transition: border .20s;
transition: border .20s;
}
#run {
height: 18px;
margin-left: 89px;
margin-top: 24px;
padding-bottom: 5px;
padding-right: 6px;
width: 112px;
}
#reload {
height: 18px;
margin-left: 44px;
margin-top: 24px;
padding-bottom: 5px;
padding-right: 6px;
width: 112px;
}
Loading

0 comments on commit a309662

Please sign in to comment.