Hi all !
I'm in between my university exams right now, and hence won't be able
to spare much time. I'm attaching some Python codes I wrote solving
problems in the book "Elementary Principles of Chemical Processes :
Richard M. Felder, Ronald W. Rousseau". These are very simple codes
and I'll be sending some more better / more challenging codes along
the way.
Please let me know if these are of any relevance w.r.t the skills
required to work on "Chemical engineering domain-specific" project.

Thanks.
Regards,
Shubham Singh Tomar
Chemical Engineering

On 4/19/13, John Pye <[email protected]> wrote:
> Hi Shubham
>
> This topic of definitely of strong interest to us, but as I mentioned,
> we're unsure how many students we'll be allocated. To maximise your
> chances, you should spend whatever time you can spare to demonstrate
> your abilities and provide us with some clear & useful contributions in
> advance of the application deadline.
>
> Cheers
> JP
>
> On 19/04/13 13:10, Shubham Tomar wrote:
>> Hi and congratulations !
>>
>> I would like to know if ASCEND would still take the "Chemical
>> engineering domain-specific models" project any further ? I asked
>> Priya ma'am the question and she wasn't very sure either.
>>
>> Thanks.
>>
>> On 4/19/13, John Pye <[email protected]> wrote:
>>> Hi all
>>>
>>> Good news! We have arranged for the Python Software Foundation to act as
>>> an 'umbrella' organisation for ASCEND for GSOC2013. They haven't updated
>>> their page yet, but we should appear on their list very soon:
>>> http://www.google-melange.com/gsoc/org/google/gsoc2013/python
>>> http://wiki.python.org/moin/SummerOfCode/2013
>>>
>>> I anticipate that we'll only be allocated a reduced number of students,
>>> perhaps just 2-3 this year, compared to 5-6 we mentored in previous
>>> years, as a result of this new arrangement. But it's good to know that
>>> the opportunity still exists, especially for those of you who have been
>>> in contact with us already for a while.
>>>
>>> Cheers
>>> JP
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Precog is a next-generation analytics platform capable of advanced
>>> analytics on semi-structured data. The platform includes APIs for
>>> building
>>> apps and a phenomenal toolset for data science. Developers can use
>>> our toolset for easy data analysis & visualization. Get a free account!
>>> http://www2.precog.com/precogplatform/slashdotnewsletter
>>> _______________________________________________
>>> Ascend-sim-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/ascend-sim-users
>>>
>
>
#-------------------------------------------------------------------------------
# Name:        Example 2.7-3
# Purpose:
#
# Author:      Shubham
#
# Created:     24/04/2013
# Copyright:   (c) Shubham 2013
# Licence:     <your licence>
#-------------------------------------------------------------------------------

# Curve fitting on Semilog and Log plots

from pylab import *
import matplotlib.pyplot  as pyplot
a = [ pow(10,i) for i in range(10) ]
fig = pyplot.figure()
ax = fig.add_subplot(2,1,1)

line, = ax.semilogy(a, color='green', lw=2)
show()
#-------------------------------------------------------------------------------
# Name:        Example 7.2-2
# Purpose:
#
# Author:      Shubham
#
# Created:     24/04/2013
# Copyright:   (c) Shubham 2013
# Licence:     <your licence>
#-------------------------------------------------------------------------------

# Kinetic Energy transported by a Flowing stream

from math import pi
ID = float(input("Enter the Internal diameter of the pipe (cm):"))
Qv = float(input("Enter the Volumetric flow rate(m^3/h):"))
rho = float(input("Enter the density of the flowing liquid(Kg/m^3)"))

velocity = (Qv/3600 * 1/(pi*0.01*0.01))
Mv = (Qv/3600)*rho

print ("Rate at which Kinetic energy is transported by the Fluid, Ek is:", 
Mv*velocity*velocity/2,"Joules/sec")
#-------------------------------------------------------------------------------
# Name:        Example 7.2-2
# Purpose:
#
# Author:      Shubham
#
# Created:     24/04/2013
# Copyright:   (c) Shubham 2013
# Licence:     <your licence>
#-------------------------------------------------------------------------------

# Elementry principles of Chemical processes
#Chapter 7: Energy and Energy balances

h = float(input("Enter the height: "))
q = float(input("Enter the flow rate: "))
g = 9.81
print("The power required is",h*q*g,"Watt")
#-------------------------------------------------------------------------------
# Name:        Work book 2-2.11
# Purpose:
#
# Author:      Shubham
#
# Created:     25/04/2013
# Copyright:   (c) Shubham 2013
# Licence:     <your licence>
#-------------------------------------------------------------------------------

# Archimedes' principle

height = float(input("Enter the height of the wooden block(cm):"))
rho = float(input("Enter the density of the liquid(g/cm^3):"))
length_above = float(input("Enter the height of wooden cylinder above 
liquid(cm):"))

print "Density of the wooden cylinder 
is",rho*(height-length_above)/height,"g/cm^3"

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Ascend-sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ascend-sim-users

Reply via email to