Overview
Context
Changes
Added mttroot/mtt/lib/examples/Simulation/BigHeatedRod/HR_input.txt version [e8bdef2d26].
|
1
2
3
4
5
6
7
8
9
10
11
12
|
+
+
+
+
+
+
+
+
+
+
+
+
|
# Numerical parameter file (HR_input.txt)
# Generated by MTT at Thu Sep 4 16:11:06 BST 1997
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% Version control history
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% $Id$
# %% $Log$
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# Set the inputs
u(1) = 10.0*(t<5.0); # I_r
|
| | | | | | | | | | |
Added mttroot/mtt/lib/examples/Simulation/BigHeatedRod/HR_numpar.txt version [c4b7dfe06b].
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
# Numerical parameter file (HR_numpar.txt)
# Generated by MTT at Thu Sep 4 16:11:04 BST 1997
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% Version control history
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% $Id$
# %% $Log$
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# Constants for copper
density = 8.96;
rod_length = 1.0;
rod_radius = 1e-3;
electrical_resistivity = 16.8*0.000000001;
thermal_resistivity = 1/390.0;
thermal_capacity = 380.0;
segments = 2;
area = pi*rod_radius*rod_radius;
delta_x = rod_length/segments;
volume = area*delta_x;
mass = volume*density;
# Parameters
c_t = thermal_capacity*mass;
r = electrical_resistivity*delta_x/area;
r_t = thermal_resistivity*delta_x/area;
r_2 = r_t/100;
t_0 = 300; # Ambient
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Added mttroot/mtt/lib/examples/Simulation/BigHeatedRod/HR_simpar.txt version [8e33457c64].
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
# -*-octave-*- Put Emacs into octave-mode
# Simulation parameters for system HR (HR_simpar.txt)
# Generated by MTT on Wednesday July 29 13:59:50 BST 1998.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
###############################################################
LAST = 10; # Last time in simulation
WMIN = 1; # Minimum frequency = 10^WMIN
WMAX = 2; # Maximum frequency = 10^WMAX
WSTEPS = 100; # Number of frequency steps
STEPFACTOR = 1; # Added automatically
METHOD = IMPLICIT; # Added automatically
DT = 0.25; # Added automatically
|
| | | | | | | | | | | | | | | | | |