Colorado state equilibrium code

Assignment Help Mechanical Engineering
Reference no: EM13705266

Objective: The goal here is to understand how equilibrium codes find the compositions of mixtures containing large numbers of components. By the end of this problem set, you will be able to easily visualize how to write a code for full hydrocarbon combustion equilibrium containing of the order of 50 species.

In our system 1 kmole of ammonia (NH3) is mixed with 1 kmole of O2 and 0.5 kmoles of H2S and allowed to come to equilibrium at 3000 K and 10 atm pressure. The equilibrium products are assumed to contain only NH3, NO, H2S, SO2, H2, H, OH, O, O2, and H2O.

Question: Use the general Gibbs energy minimization approach outlined in the handout to find the kmoles of each species in the equilibrium mixture, and the mole fraction of each species. Present this in a clear table with three columns (species, kmoles, mole fraction). Put the species in the order given above. This involves working with equations 44 and 46 in the handout via some kind of programming.

A couple of hints. In the past I've solved this kind of problem via Excel. The under-relaxation condition expressed by equation 49 is designed to prevent a minor species from getting too large too fast. I do not believe this will occur here, so this one under-relaxation condition can probably be omitted (the other definitely needs to be included). This will make the programming easier. Also, make sure your initial guesses for njdo not add up exactly to n or you may get a zero division error on the first iteration. Note that this problem will require you to solve a 5x5 system of equations (Excel will do this, see the handout for how).

Properties. Our text includes all the data needed. The NIST Webbook is an excellent resource for these kinds of data when you cannot find a text resource.

On debugging. Convergence typically takes around 10 iterations (I'll update you when I've solved the problem), so if you don't get there that fast, something is probably wrong. You can check your answers in a couple of ways. First, be sure your final composition gives you the correct original atom counts for N, H, S, and O.

Even if you converge and get the correct atom counts, you can have the wrong final composition if you miscalculated a g*. Incorrect final atom counts or failure to converge means an error elsewhere.

Most errors, except for a miscalculated g*, will lead to a rapidly diverging solution.

If you get stuck and want some help in debugging, please do the following. Start the calculation off with each nj =0.011 kmoles and n=0.1 kmoles. Run the calculation for one iteration only, stop it, and then send us your spreadsheet. We'll have the same spreadsheet at hand, so any differences should immediately be apparent.

2. Use the Colorado State equilibrium code to check your answer.

Reference no: EM13705266

Questions Cloud

What was the initial temperature : An ideal gas in a sealed container has an initial volume of 2.55 L. At constant pressure, it is cooled to 20.00 °C where its final volume is 1.75 L. What was the initial temperature?
What was the initial temperature : An ideal gas in a sealed container has an initial volume of 2.55 L. At constant pressure, it is cooled to 20.00 °C where its final volume is 1.75 L. What was the initial temperature?
Find the mass of nacl in you 15 ml saturated nacl solution : Use your calculated densities to find the mass of NaCl in you 15 mL saturated NaCl solution. You will need to use dimensional analysis and the solubility of 36gNaCl/100mL of water to solve for the mass of NaCl. You can assume that there is min..
Bromine is extracted from the sea and is exported : Bromine is extracted from the sea and is exported, by mass, as a 50% calcium bromide solution. What is the mass of bromine in a 120 000 kg solution?
Colorado state equilibrium code : Colorado State equilibrium code - Use the general Gibbs energy minimization approach
Impacts you personally from a strategic career perspective : Discuss how "big data" impacts you personally from a strategic career perspective.
Evaluate the business performance of the company : Evaluate the business performance of the company selected using its financial statements. The financial statements are found online in the company's financial report for the past years, these include: - The Income statement, statement of retai..
The cube that sits above interface between the two liquids : A cube 2 ft on an edge has its lower half of material with SG = 1.4 and upper half SG = 0.6. It is fully submerged in a 2 layer liquid (lighter liquid above has SG = 0.9 and heavier liquid below has SG = 1.2). Determine the height of the top of the c..
Calculate theoretical head power and volumetric flow rate : You have a centrifugal pump with an inlet radius of 200mm, an inlet blade width of 60mm, and inlet blade angle of 50 degrees. The outlet radius is 600mm, outlet blade width is 40mm and the outlet blade angle is 70 degrees. The pump handles water and ..

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  Determine the temperature at which condensation begins

a rigid 2 m3 tank contains air at 160oc and 400 kpa and a relative humidity of 20. heat is removed until the final

  The shaft supports a single concentrated mass at its center

a consider a simply-supported low-alloy steel shaft ten feet in length and two inches in diameter. the shaft supports

  Find the rectangular representation of v

a velocity vector v is deirectred from point A (0,10,-8) toward point B (24,-18,0), WHERE THE COORDINATES are in feet. find the rectangular representation of v, given that its magnitude is 12 ft/s

  Evaluate the heat transfer introduced by assuming constant

air undergoes a polytropic process in a piston-cylinder assemply from p1 14.7 lbfin2 t1 70 degrees f to p2

  The coefficient of friction between the block and ramp is

a block with mass m10kg is projected up a rough incline angled at theta40degrees to ground with a speed of v5ms. just

  Determine the volumetric flow rate of air entering the

air at 101 kpa and 21 degree c dry bulb and 60 percent relative humidity enters an industrial dryer and is discharged

  Steam enters a converging nozzle

Steam enters a converging nozzle at 800 kPa and 280 C with negligible velocity. If the expansion is isentropic, what is the minimum pressure that can be reached in such a nozzle and what is the cross-sectional area at the nozzle throat at this pressu..

  After the initial cleanup effort at three mile island

After the initial cleanup effort at Three Mile Island, approximately 400,000 gallons of radioactive water remained in the basement of the containment building of the Three Mile Island Unit 2 nuclear plant. The principal sources of this radioactivity ..

  Calculate the force and pressure acting across the pelvis

calculate the force and pressure acting across the pelvis and at the feet of a 150 lbm person. model the body using

  The outer surface of the heater is exposed to a fluid with

a very thin electric heater is wrapped around the outer surface of a long cylindrical tube whose inner surface is

  Find stall speed

Find Stall Speed (KEAS) at 1 G, 0 deg AOB and find Stall Speed (KEAS), level flight 70 deg AOB (2.9 G)

  Carnot refrigerator which removes heat from a cooled space

a carnot heat engine operates between a heat source at 1200 k and the environment at 300 k. the net work produced by

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