Question

Matlab code: You are tasked to model the flow in the two-dimensional rectangular mixing chamber of size Lx = 4 and Ly = 4 depicted using the non-dimensional continuity equation, 2D Navier-Stokes equations, and a convective/diffusive transport equation for the mass fraction Y of a chemical species with a Schmidt number of Sc = 1.5. The fluid in the chamber with Reynolds number Re = 20 is initially at rest with zero mass fraction of the chemical species. At the initial time, inlets 1, 2, and 3 are opened, each issuing fluid with fully developed laminar channel velocity profiles (parabolic profile) and composition. All mixing chamber walls are no-slip and have zero flux of the chemical species. Note, these are the initial and boundary conditions. The performance of the mixing chamber shall be measured by the average tangential force at the sensor F¯ and the total amount of B of chemical species leaving the chamber in the first 10 time units. You are tasked to find F¯ and B with their error bars (±x%) and visualize and discuss the flow field and mixing in the chamber. Task -1: Make a movie of u, v, and Y for 0 ≤ t ≤ 10 for task 1 and upload it to Canvas. Discuss the flow and mixing in the chamber visible in your movies. Indicate in your report's result section that you generated movies.

          Matlab code: You are tasked to model the flow in the two-dimensional rectangular mixing chamber of size Lx = 4 and Ly = 4 depicted using the non-dimensional continuity equation, 2D Navier-Stokes equations, and a convective/diffusive transport equation for the mass fraction Y of a chemical species with a Schmidt number of Sc = 1.5. The fluid in the chamber with Reynolds number Re = 20 is initially at rest with zero mass fraction of the chemical species. At the initial time, inlets 1, 2, and 3 are opened, each issuing fluid with fully developed laminar channel velocity profiles (parabolic profile) and composition. All mixing chamber walls are no-slip and have zero flux of the chemical species. Note, these are the initial and boundary conditions.

The performance of the mixing chamber shall be measured by the average tangential force at the sensor F¯ and the total amount of B of chemical species leaving the chamber in the first 10 time units. You are tasked to find F¯ and B with their error bars (±x%) and visualize and discuss the flow field and mixing in the chamber.

Task -1:
Make a movie of u, v, and Y for 0 ≤ t ≤ 10 for task 1 and upload it to Canvas. Discuss the flow and mixing in the chamber visible in your movies. Indicate in your report's result section that you generated movies.
        
Show more…

Added by Brandon W.

University Physics with Modern Physics
University Physics with Modern Physics
Hugh D. Young 14th Edition
AceChat toggle button
Close icon
Ace pointing down

Please give Ace some feedback

Your feedback will help us improve your experience

Thumb up icon Thumb down icon
Thanks for your feedback!
Profile picture
Matlab code: You are tasked to model the flow in the two-dimensional rectangular mixing chamber of size Lx = 4 and Ly = 4 depicted using the non-dimensional continuity equation, 2D Navier-Stokes equations, and a convective/diffusive transport equation for the mass fraction Y of a chemical species with a Schmidt number of Sc = 1.5. The fluid in the chamber with Reynolds number Re = 20 is initially at rest with zero mass fraction of the chemical species. At the initial time, inlets 1, 2, and 3 are opened, each issuing fluid with fully developed laminar channel velocity profiles (parabolic profile) and composition. All mixing chamber walls are no-slip and have zero flux of the chemical species. Note, these are the initial and boundary conditions. The performance of the mixing chamber shall be measured by the average tangential force at the sensor F¯ and the total amount of B of chemical species leaving the chamber in the first 10 time units. You are tasked to find F¯ and B with their error bars (±x%) and visualize and discuss the flow field and mixing in the chamber. Task -1: Make a movie of u, v, and Y for 0 ≤ t ≤ 10 for task 1 and upload it to Canvas. Discuss the flow and mixing in the chamber visible in your movies. Indicate in your report's result section that you generated movies.
Close icon
Play audio
Feedback
Powered by NumerAI
Kathleen Carty Jennifer Stoner
Danielle Fairburn verified

Sri K and 52 other subject Physics 101 Mechanics educators are ready to help you.

Ask a new question

*

Labs

-

Want to see this concept in action?

NEW

Explore this concept interactively to see how it behaves as you change inputs.

View Labs

*

Key Concepts

-
Key Concept
Premium Feature
Explore the core concept behind this problem.
Play button
Key Concept
Premium Feature
Explore the core concept behind this problem.
Your browser does not support the video tag.

*

Recommended Videos

-
tutorial1-chapter1-1starting-from-3d-navier-stokes-equation-derive-the-eulers-equation-for-2d-flow-state-the-assumptions-made-for-eulers-equation-2in-parallel-1d-flow-in-the-positive-x-direc-63422

Sri K.

many-motile-cells-can-swim-up-chemical-concentration-gradients-download-this-file-and-load-it-into-matlab-using-the-load-command-trajectorymat-note-this-file-contains-t-as-a-1-x-1000-vector-03024

Many motile cells can swim up chemical concentration gradients. Download this file and load it into MATLAB using the load command. trajectory.mat NOTE: This file contains t as a 1 x 1000 vector and X as a 3 x 1000 array. The file contains a simulated trajectory, including measurement noise, of a swimming sperm cell. The vector t contains time (in ms) and the array X contains the position of the cell (in microns) as a function of time. The first column of X contains the x, y, z coordinates of the cell at the time given in the first element of t, and so forth. Write a MATLAB function that takes as inputs t, X, and a filter half-width, w. The function should be named filterTrajectory(). It does not need return arguments. Think of the x, y, and z components of the trajectory as individual signals. You will filter each of these signals using a moving average filter of half-width w. DO NOT use the bxcar() function from class to do this. Instead, write a new function, called convtd(), that does a time-domain convolution according to the formula in the class notes. This function will be very similar to bxcar(), but instead of using the mean() function to compute the average of samples within the sliding window, it will multiply corresponding elements of the kernel and signal window and sum the results. convtd() will have two inputs: a signal and a kernel, and one output: the filtered signal. Before it calls convtd(), filterTrajectory() will construct a kernel using the value of w. Use all of your signal processing mojo to find a filter width that suppresses most measurement noise without affecting the main features of the data. Indicate your choice of w in a comment in your code. Your filterTrajectory() function should plot the original trajectory in 3D using the plot3 function (i.e., a plot with x, y, and z axes). Overlay on this plot, in a different color, the filtered trajectory. In a separate figure window, plot the original and filtered x, y, and z traces. This plot should have t on the x-axis and x, y, z on the y-axis. Both of your functions should be commented as we have discussed. They should be in the same m-file, with filterTrajectory() first. Turn in this assignment by uploading this m-file.

Sri K.

partial-differential-equations-331-parabolic-pdes-1-implement-in-matlaboctave-or-python-a-finite-difference-method-to-solve-a-parabolic-pde-problem-in-1d-which-is-defined-as-utx-t-c-2-uxx-x-25413

Partial Differential Equations 3.3.1 Parabolic PDEs 1. Implement in MATLAB/Octave or Python a finite difference method to solve a parabolic PDE problem in 1D, which is defined as: ut(x, t) = c^2 uxx (x, t) in [a, b] × [0, T] with u(a, t) = 0, u(b, t) = 0 and u(x, 0) = f (x). You are required to write MATLAB/Octave function FDparabolic.m with the following input-output format: function [x,t,u] = FDparabolic( a, b, n, T, m, c, f ) or for Python def FDparabolic( a, b, n, T, m, c, f ): ... where the inputs a and b are the extrema, n is the number of subintervals, T is the final time, m is the number of time steps, c is the coefficient c and f is the initial value. The outputs x contains the nodes of partition, t contains the nodes in time and u contains the values of the computed solution at the nodes. 2. Use the implemented code FDparabolic.m to compute the solution of the problem: ut(x, t) = uxx (x, t), u(x, 0) = sin(x) in [0, π] × [0, 1] with u(0, t) = u(π, t) along the boundary. Use 20 nodes in space and 100 in time. 3. Produce a visualization of the solution using gnuplot or MATLAB/Octave command surf( t, x, u )

Sri K.


*

Recommended Textbooks

-
University Physics with Modern Physics

University Physics with Modern Physics

Hugh D. Young 14th Edition
achievement 1,127 solutions
Physics: Principles with Applications

Physics: Principles with Applications

Douglas C. Giancoli 7th Edition
achievement 1,054 solutions
Fundamentals of Physics

Fundamentals of Physics

David Halliday, Robert Resnick , Jearl Walker 10th Edition
achievement 1,669 solutions

*

Transcript

-
00:01 From the question we can write the 3d navier -stokes equation is given by that is rho of tau v dividing tau t and with v is irreversible change of v which is equal to change in pressure and with mu the change of square v and with rho g where rho is the density, v is the velocity vector, t is the time, p is the pressure, mu is the dynamic viscosity and g is the gravitational acceleration vector.
00:52 Now this navier -stokes equation simplifies that rho v the change in the portion of v which is equal to minus change in pressure which is add with rho g.
01:10 So now v value which is equal to u, v, 0...
Need help? Use Ace
Ace is your personal tutor. It breaks down any question with clear steps so you can learn.
Start Using Ace
Ace is your personal tutor for learning
Step-by-step explanations
Instant summaries
Summarize YouTube videos
Understand textbook images or PDFs
Study tools like quizzes and flashcards
Listen to your notes as a podcast
Continue solving this problem
Create a free account to:
  • View full step-by-step solution
  • Ask follow-up questions with Ace AI
  • Save progress and study later
Continue Free
Numerade

Get step-by-step video solution
from top educators

Continue with Clever
or



By creating an account, you agree to the Terms of Service and Privacy Policy
Already have an account? Log In

A free answer
just for you

Watch the video solution with this free unlock.

Numerade

Log in to watch this video
...and 100,000,000 more!


EMAIL

PASSWORD

OR
Continue with Clever