logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Amit KumarComputer science
(5/5)

738 Answers

Hire Me
expert
Bryce KimEnglish
(5/5)

666 Answers

Hire Me
expert
Kate DuggannMathematics
(5/5)

870 Answers

Hire Me
expert
Ruth FrameLaw
(5/5)

929 Answers

Hire Me
MATLAB
(5/5)

this code takes VOLUME fraction as input try Andreas\'s code if you prefer mass fraction

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

 

function P=pressure(flowrate, viscosity, ODH, N, rho)

% ODH= pore size of the SNU

% N= no of pores of the SNU

%rho=density of the liquid

%gamma=surface tension of the liquid

%L=thickness of the membrane

gamma=72E-3;

L=0.85E-6;

%qppore=flowrate through a single pore

%v =velocity of the liquid

%3.6=conversion of ml/hr to ul/sec

%1E-9=ul/s to m3/s

%ODH=in micrometers

%V=flowateperpore/area(m/s)

qppore=flowrate/N;

v=(qppore/3.6*1E-9)/(pi*((ODH*1E-6/2)^2));

Pvis=(6*viscosity*pi*(1+(16/3*L)/(pi*ODH*1E-6)))*v/(ODH*1E-6);

Pkin=2.25*0.5*rho*v^2;

P=(Pvis+Pkin)*1E-5;

 ---------------------------------------

% modified following Andreas Volk's latest modifications

% this code takes VOLUME fraction as input - try Andreas's code if you

% prefer mass fraction

% This version 20 Dec 2017.

 function[rho,eta]=density_viscosity_glycerine_mix(fraction_glyc,T)

 volume_glycerol=fraction_glyc;

volume_water=1-fraction_glyc; 

% Calculations:

total_volume=volume_glycerol+volume_water;

volume_fraction=volume_glycerol/total_volume;

 

%density_glycerol=1277-0.654*T;  % kg/m^3, equation 24

density_glycerol=1273.3-0.6121*T;  % UPDATED following Andreas Volk’s suggestion 

density_water=1000*(1-((abs(T-3.98))/615)^1.71);  % UPDATED following A.V.'s suggestion 

mass_glycerol=density_glycerol*volume_glycerol; % kg

mass_water=density_water*volume_water; % kg

total_mass=mass_glycerol+mass_water; % kg

mass_fraction=mass_glycerol/total_mass; 

viscosity_glycerol=0.001*12100*exp((-1233+T)*T/(9900+70*T)); % equation 22. Note factor of 0.001 -> converts to Ns/m^2

viscosity_water=0.001*1.790*exp((-1230-T)*T/(36100+360*T)); % equation 21. Again, note conversion to Ns/m^2 

a=0.705-0.0017*T;

b=(4.9+0.036*T)*a^2.5;

alpha=1-mass_fraction+(a*b*mass_fraction*(1-mass_fraction))/(a*mass_fraction+b*(1-mass_fraction));

A=log(viscosity_water/viscosity_glycerol); % Note this is NATURAL LOG (ln), not base 10.

viscosity_mix=viscosity_glycerol*exp(A*alpha); % Ns/m^2, equation 6

 % Andreas Volk polynomial:

c=1.78E-6*T.^2-1.82E-4*T+1.41E-2;

contraction=1+(c.*sin((mass_fraction).^1.31.*pi).^0.81);

 

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme