Recent content by thomsonm
-
T
Fortran Fortran read from file problems
After talking with some friends at uni we realized that it's just the IDE I was using that was the problem. (Silverfrost plato) After using the universities software it works fine. Thanks for the speedy response once again!- thomsonm
- Post #6
- Forum: Programming and Computer Science
-
T
Fortran Fortran read from file problems
As the title suggests, there's more I'd like to ask: I want to allow users to input a file name for the program to open: ... CHARACTER*40 filename ... OPEN(21,FILE=filename,STATUS='OLD') ... Somehow this doesn't work, it just says the file doesn't exist. Any thoughts?- thomsonm
- Post #4
- Forum: Programming and Computer Science
-
T
Fortran Fortran read from file problems
That code worked like a charm, thanks!- thomsonm
- Post #3
- Forum: Programming and Computer Science
-
T
Fortran Fortran read from file problems
I've been given a data file laid out as such: heading1 heading2 heading3 x1 y1 z1 x2 y2 z2 x3 y3 z3 .etc. where x=integer, y,z=real I need to count the number of lines to allocate x, y and z their sizes. My first attempt looked like: ... OPEN(21, FILE='data.dat', STATUS=OLD)...- thomsonm
- Thread
- File Fortran
- Replies: 5
- Forum: Programming and Computer Science
-
T
Is my solenoid's resistance too low?
I'm need 10A to get the right magnetic field.- thomsonm
- Post #4
- Forum: Electrical Engineering
-
T
Is my solenoid's resistance too low?
I've just calculated the resistance of a solenoid I'm making, but it seems far too low. 240 turns of 1.6mm wire, 30 turns per row, 8 rows deep. total length of wire (L) = 21.96m area of wire (A) = pi * (0.0008)^2 m^2 resistivity of copper (rho) = 1.6*10^-8 ohms m^-1 R = (rho * L) / A...- thomsonm
- Thread
- Resistance Solenoid
- Replies: 4
- Forum: Electrical Engineering
-
T
Finding a TVS Diode for 137mV Back EMF Protection
Yeah that's fantastic, but I'm really just looking for a link to a website where I can buy the diode in question, I'm not looking for alternatives. Thanks for the response, but it's more than I needed- thomsonm
- Post #5
- Forum: Electrical Engineering
-
T
Finding a TVS Diode for 137mV Back EMF Protection
I'm trying to make a circuit for an electromagnet so that it pulses when a switch is triggered. Obviously once it's pulsed the magnetic field will collapse and create a back EMF. The component I'm trying to save is a microchip that I'm using as a switch.- thomsonm
- Post #3
- Forum: Electrical Engineering
-
T
Finding a TVS Diode for 137mV Back EMF Protection
Hey, I'm trying to find a suitable diode to protect against some back EMF in my circuit, but I don't know much about them and so I'm having a really hard time finding one. If someone could look at what i need and then possibly send me a link i'd be so grateful. Requirements: back EMF = 137mV...- thomsonm
- Thread
- Back emf Diode Emf Protection
- Replies: 6
- Forum: Electrical Engineering
-
T
Undergrad Calculating Force Needed for Maglev Track: Mechanics Help Needed
No you've got it right danger, the track is a very basic array of neodymium magnets, creating a magnetic field. By placing a superconducting disc in the magnetic field, the miessner effect causes it the expel all flux, creating a magnetic pressure and thus countering gravity. The only... -
T
Undergrad Calculating Force Needed for Maglev Track: Mechanics Help Needed
@Danger, thanks for the welcome =] I guess a speed of say, 0.3m/s would be about right, but then I'm simply left with a resistive force, something that's constantly slowing the object. How do I work out how much of a 'kick' i need to give it at the start to make sure it reaches the end... -
T
Undergrad Calculating Force Needed for Maglev Track: Mechanics Help Needed
I'm currently working on my final year project which is building a maglev track for open days, and I'm having trouble calculating what force i need to apply to the train to make it complete one circuit of the track. Since it's maglev, friction ~0N Air resistance = -0.5*Rho*A*Cd*v^2 =...