ADDED mttroot/mtt/lib/examples/Simulation/BigHeatedRod/HR_input.txt Index: mttroot/mtt/lib/examples/Simulation/BigHeatedRod/HR_input.txt ================================================================== --- /dev/null +++ mttroot/mtt/lib/examples/Simulation/BigHeatedRod/HR_input.txt @@ -0,0 +1,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 Index: mttroot/mtt/lib/examples/Simulation/BigHeatedRod/HR_numpar.txt ================================================================== --- /dev/null +++ mttroot/mtt/lib/examples/Simulation/BigHeatedRod/HR_numpar.txt @@ -0,0 +1,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 Index: mttroot/mtt/lib/examples/Simulation/BigHeatedRod/HR_simpar.txt ================================================================== --- /dev/null +++ mttroot/mtt/lib/examples/Simulation/BigHeatedRod/HR_simpar.txt @@ -0,0 +1,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