Recent content by kd215
-
K
Writing a script to repeat a C program (Umbrella Sampling Script)
I don't even know the basics of writing a script. I'm really confused with the syntax. Are there any references for basic C programming that you know of?- kd215
- Post #3
- Forum: Programming and Computer Science
-
K
Writing a script to repeat a C program (Umbrella Sampling Script)
I have a C code that creates a small histogram, but I need it to rerun many many times by changing one variable that the user can input. I've NEVER used C until this week so if someone could given me an idea of how to write a script to repeat a code and save a bunch of data from it that would be...- kd215
- Thread
- Program Sampling Writing
- Replies: 5
- Forum: Programming and Computer Science
-
K
Graduate Nucleation and growth in a 2D Ising Model with Monte Carlo Simulation
I'm currently working on a project for a code that does umbrella sampling of a 2-D Ising model [size LxL of a magnet (analyzing up or down spins)]. The next step is to take my code to analyze a nucleation region and its growth by varying the temperature above critical. Before I even attempt to...- kd215
- Thread
- 2d Growth Ising model Model Monte carlo Monte carlo simulation Nucleation Simulation
- Replies: 1
- Forum: Atomic and Condensed Matter
-
K
Stat mech: partition functions for N distinguishable harmonic oscill-
Homework Statement Consider a system of N distinguishable, non-interacting harmonic oscillators. The Hamiltonian is given (shown below). Assuming that the oscillators obey Schrödinger's equation, determine the canonical partition function for the system. Then assume the oscillators obey...- kd215
- Thread
- Functions Harmonic Partition Stat mech
- Replies: 1
- Forum: Advanced Physics Homework Help
-
K
Graduate Maximizing Functions with Legendre Transforms
Trying an example from a textbook but I don't understand Legendre transform at all. "construct Legendre transforms of the entropy that are natural functions of (1/T, V, n) and (1/T, V, μ/T)". I don't really understand where to start. An example prior to this exercise just states: A = E - TS =...- kd215
- Thread
- Entropy Legendre Transform
- Replies: 2
- Forum: Thermodynamics
-
K
Graduate Fluid mechanics: defition of shear flow [rate of deformation tensor]
And those are velocities like u (sub x,y,z) just in each direction. Not sure how to write the notation in the posts -
K
Graduate Fluid mechanics: defition of shear flow [rate of deformation tensor]
fluid mechanics: defition of "shear flow" [rate of deformation tensor] I'm studying old undergraduate chemical engineering notes for an exam in grad school. Can't recall what this really means, can anyone explain to me what "off-diagonal elements" means and why the trig function velocities...