Write a program to perform a monte carlo simulation

Assignment Help Mechanical Engineering
Reference no: EM131347782

Monte Carlo simulation of a d = 2 Ising model

Write a computer program to perform a Monte Carlo computer simulation of the two-dimensional Ising model in zero magnetic field.

1328_54c0099e-e87e-4d50-85d4-a572ac853a26.png

where the sum is over nearest-neighbor pairs of sites on a square lattice

1. Write a program to perform a Monte Carlo simulation of the two-dimensional Ising model. You should be able to simulate any size L × L lattice, with L determined at the beginning of the program. You should be able to set the temperature J at the beginning of the program. You can also write the program for zero magnetic field. (We will use non-zero fields in later problems.)

2. Beginning with a random configuration on a fairly large lattice (L = 32), perform a single run of 20 MC sweeps at T = 5.0. and look at the printout of the configuration.

3. Beginning with a random configuration on a fairly large lattice (L = 32), perform a single run of 20 MC sweeps at T = 3.0. and look at the print-out of the configuration.

4. Beginning with a random configuration on a fairly large lattice (L = 32), perform a single run of 20 MC sweeps at T = 2.0, and look at the print-out of the configuration.

5. Compare the pictures of the configurations that you have generated at T = 5.0, 2.0, 2.0. What do you see?

6. Beginning with a random configuration on a fairly large lattice (L = 16 or L = 32), perform several runs with about 50 or 100 MC sweeps at T = 0.5. Keep the length of the runs short enough so that you can do it several times without wasting your time. Look at the print-outs of several configurations. If you see something that seems unusual, print it out and hand it in. Explain why you think it unusual.

Reference no: EM131347782

Questions Cloud

Talk about how did the air plane got hypoxia : Topic Title: Hypoxia. Talk about how did the air plane got hypoxia
Determine the higher and lower heating values of methane : Determine the higher and lower heating values of methane. Note that, for the determination of the HHV and LHV, the combustion reaction must occur with 100.% theoretical air.
Project team or organizational setting : After reviewing the video, http://www.ted.com/talks/dan_pink_on_motivation think of a project team or organizational setting with which you have been associated and answer the following questions:
Determine in what depreciation category asset falls : Universal Electronics is considering the purchase of manufacturing equipment with a 10-year midpoint in its asset depreciation range (ADR). Carefully refer to Table 12–8 to determine in what depreciation category the asset falls. Calculate the net pr..
Write a program to perform a monte carlo simulation : Write a program to perform a Monte Carlo simulation of the two-dimensional Ising model. You should be able to simulate any size L × L lattice, with L determined at the beginning of the program. You should be able to set the temperature J at the be..
Compute the heat of reaction of methane : Compute the heat of reaction of methane when the reactants are at the standard reference state but the products are at 500.°C.
What would you recommend employer described above should do : Provide a paragraph summarizing the concept of stakeholder management based on your readings. What would you recommend the employer described above should do?
Private sector privacy cases : 1. Describe the legal framework that applies to private sector privacy cases. 2. Identify and differentiate the prima facie cases for common-law claims of privacy invasions (intrusion into seclusion, public disclosure of private facts, publication..
Determine the standard reference state molar : The higher heating value of glucose, C6H12O6(s), is -2817:5 MJ/kgmole: Determine the standard reference state molar specific enthalpy of formation of glucose using the reaction.

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  Determine the maximum in-plane shear strain and the maximum

a closed cylindrical storage tank contains gas under pressure p and has an inner diameter of 24 in. and a wall

  Determine the minimum power supplied to the heat

If the house loses heat to the atmosphere at the rate of 64,000 kJ/h, determine the minimum power supplied to the heat pump, in kW.

  The coefficient of restitution is 09 between the two

the coefficient of restitution is 0.9 between the two 60-mm-diameter billiard balls a and b. ball a is moving in the

  What is the expected population in ethiopia in 2020

Population growth in Ethiopia. In 2008, the estimated population in Ethiopia was 83 million people with a relative growth rate of 3.2%.

  Determine the ration of the minimum size of the fuel

consider an ideal fuel cell to be run on pure oxygen and hydrogen for a length of time. determine the ration of the

  Estimate the heat transfer area of the heat exchanger

an ocean thermal energy conversion otec system is proposed to generate 10 mw of electricity. the proposed location of

  Molecules of the first be heavier

If one material has a higher density than another, must the molecules of the first be heavier those of the second? Explain

  What thrust must each tug exert on the ship

A lug wrench is used to tighten a square-head bolt. If 50-lb forces are applied to the wrench as shown, determine the magnitude F of the equal forces exerted on the four contact points on the 1-in. bolt head so that their external effect on the bo..

  The given figure depicts an indirectly fired gas turbine

the given figure depicts an indirectly fired gas turbine engine. in the gas turbine engine air is compressed to a high

  Calculate the velocity of flow

A pitot-static tube is inserted in a pipe carrying water at 10°C. A differential manometer using mercury as the gage fluid shows a deflection of 106 mm. Calculate the velocity of flow.

  The dimensions of a i beam are thicknesst flange width

the dimensions of a i beam are thicknesst flange width b10t and height 20t. determine the absolute maximum bending

  Consider the pumps and turbines to operate adiabatically

a rankine cycle with regeneration has one open and one closed feedwater heat. steam leaves the boiler at 1400psi

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd