DWSIM-3.4/C2/Creating-a-material-stream-in-DWSIM/English

From Script | Spoken-Tutorial
Jump to: navigation, search
Visual Cue
Narration
Slide 1
Welcome to the spoken tutorial on creating a material stream in DWSIM

My name is Kannan Moudgalya

Slide 2
In this tutorial, we are going to learn

How to select chemical components

How to choose a thermodynamic package

How to choose units and values and

How to specify a material stream

Slide 3
To record this tutorial, I am using DWSIM 3.4 windows version

But this process is identical in Linux, Mac OS X and FOSSEE on ARM

Slide 4
To practice this tutorial

You should have access to DWSIM

Double click the shortcut of DWSIM on desktop
Let us start with creating a new steady state simulation

When DWSIM is opened, you see a startup window, such as this

Click on Create new simulation
Click on Create new simulation

If a simulation wizard appears, cancel it

On the top left, locate a field called Simulation

Hover the mouse next to Simulation
Hover the mouse over the puzzle like button next to it
Press Configure Simulation
You can see that it is known as Configure Simulation

Press this button

A Configure Simulation pop-up
A Configure Simulation pop-up opens

In some earlier versions, this pop-up opened automatically

The lettering is very small and unreadable in this recording

To address this, I will zoom in on the relevant portion of this screen only

I have now rearranged the screen for better readability

Type Benzene in the search tab
In the component search tab of this window, type benzene

Benzene appears in two rows

We are interested in the entry that has DWSIM as the database

We will explain in another tutorial the significance of other databases

Double click anywhere on this line
Shifting pop up window
You could have pressed the Add button also

which is on the right hand side which we will see shortly

You can see that Benzene is now selected

I shall let you see it by shifting the pop up window to the left

Type toluene in the search tab
Repeat this for toluene

Let us select this

Let us add

You can see that the component selection is completed

I shall shift the window back to where it was
Choose thermodynamics
We are now ready to choose Thermodynamics
Let us go back to the slides

Let us go to the next slide

Thermodynamics Slide
This slide has guidelines on how to choose thermodynamics

Covering the theory behind this slide is beyond the scope of this tutorial

As Benzene and Toluene form an ideal solution, we can choose Raoult's law

Click on thermodynamics
Let us do this in DWSIM

Locate the thermodynamics tab on the left hand side

Click on it

A sub-menu appears in the white space above.

Click on Property Packages
Click on Property Packages in the sub-menu
Double click on Raoult's law
Scroll down in this list and locate an option called Raoult's lawChoose this by double clicking on it.
Shift the pop up
You will see Raoult's law appearing on the right hand side of the pop-up

To see this, let me shift the pop-up to the left.

Click on Back to simulation
On the lower right hand corner of this pop-up, locate a button called Back to Simulation.

Click on it.

The configure simulation pop-up gets closed and we are ready to do the simulation
Hover the mouse at the centre
The canvas at the centre is used to create flowsheets

We will now create a material stream

Hover the mouse at Object Palette
On the right hand side, you see an object palette

It has a large collection of many useful chemical engineering objects

You can scroll it and see what all are available

Click and drag material stream to flowsheet
Right at the top of this is the material stream object

Click it and drag it to the flowsheet

At the desired place, remove your finger from the mouse to drop the stream

You may leave it anywhere on this canvas

You can also move the stream to another place later, if required

Pop up appears
Immediately after dropping the stream, a pop-up to enter compositions appearsNotice that mole fraction is selected by default

You can choose one of the other possibilities

But, I shall leave it as it is

The chemicals that we already selected appear here automatically
Type 0.5
Type 0.5 in the equilibrium composition of toluene

Press down arrow

Type 0.5 and click Apply
Type 0.5 in the equilibrium composition of benzene

Click Apply

Hover the mouse at Total
The total of the mole fractions appears on the right hand side

If the total is not 1, DWSIM normalises the entries, so that the total becomes 1

But this may give some unpredictable values at times

So, you yourself may want to ensure that the total comes to 1

Click on Close button
Click the Close button
You can always get back to the previous pop-up by double clicking on the stream
Choose CGS system
Below the configure simulation button, notice a place to change the System of Units

Let us click this menu and choose CGS System

Let us now complete the specification of this stream
Click on the stream
Click on the stream icon in the flowsheet once – do not double click it
Hover the mouse at Properties and Appearance tabs
On the left hand side of the flowsheet you will see the selected object window

This window consists of Properties and Appearance tabs

The properties tab shows all the properties of the streamDWSIM assigns default values to all properties
Let us first scroll up this page

There are many ways to complete the specification of a material stream

Press on Specification
Press on Specification
Press down arrow
A down arrow appears on the right hand side – press it
The default is to specify pressure and temperature.

I shall leave it as it is.

Press down arrow
I shall press the down arrow once again to close the menu
Hover the mouse over Temperature
We see the number 25 already entered against the temperature

I will by hovering the mouse over Temperature, we see the units as degree Celsius

Delete 25 and type 30
Let us click to the right of this number

It is an editable field Let me delete it and enter 30

Hover the mouse at Pressuure
Let us look at pressure next.

I shall leave it at 1 atmosphere.

Hover mouse at mass flowrate, molar flowrate, volumetric flowrate
Let us specify the flowrate next.

we can specify mass flowrate or molar flowrate or volumetric flowrate.

Delete 11.74709 and enter 100
We will specify molar flowrateI shall delete the old value and enter 100
Press Enter
Press enter to save this change.
Units for this field are moles per second as we can see now

. It is possible to use a combination of units, such as CGS and SI.

We will postpone this discussion to another tutorial

Now the stream is fully defined.

Hover the mouse at MSTR-004
DWSIM has given the name MSTR-004 to this stream automatically
You may see some other name in your simulation, but do not worry about it

As I am not happy with this automatically generated name, let me change it

Clik on Appearance tab
Under the selected object window, click on the appearance tab

The Appearance tab is used to modify the visual appearance of the stream

Type Inlet1
Click on the blank space beside Name and type Inlet1 after deleting this.

Click on the Name again.

You can see the name Inlet1 appearing below this stream in the flowsheet.

We will build on this material stream in the upcoming tutorials.

Let us go back to the slides.

We go to the next slide.

Summary Slide
Let me summarise what we learnt in this tutorial.

We defined a material stream.

Chose chemical components.

Chose the property estimation package.

Completed specifications.

Assigned values and units.

Specified temperature, pressure and flow rate.

Pointed out many different options.

Assignment 1 Slide
I would like to give some assignments now.

Choose Benzene and Toluene mole fractions that do not add up to 1.

Check how DWSIM normalises when you press apply.

Assignment 2 Slide
Go to the page where you defined mole fractions.

Check what the normalise button does when the total is not 1.

Assignment 3 Slide
Go to the page where we defined the molar flow rate.

DWSIM automatically displays equivalent flow rates in other units.

Check if these values are consistent.

Assignment 4 Slide
Create a stream consisting of Benzene, Toluene and Xylene.

Carry out the previous assignments for this stream also

This brings us to the end of this tutorial

About the spoken tutorial project Slide
This video summarises the Spoken Tutorial project.

If you do not have good bandwidth, you may download and watch it.

Spoken tutorial workshops Slide
We conduct workshops using Spoken Tutorials.

Give Certificates.

Please contact us.

Acknowledgement Slide
The Spoken Tutorial project is funded by NMEICT, MHRD, Govt. of India
Thanks
We thank the DWSIM team for making it as an open source software

I want to thank you the listener for joining me in this tutorial, goodbye.

Contributors and Content Editors

Nancyvarkey, PoojaMoolya, Pratik kamble