Insights Blog
-- Browse All Articles --
Physics Articles
Physics Tutorials
Physics Guides
Physics FAQ
Math Articles
Math Tutorials
Math Guides
Math FAQ
Education Articles
Education Guides
Bio/Chem Articles
Technology Guides
Computer Science Tutorials
Forums
Intro Physics Homework Help
Advanced Physics Homework Help
Precalculus Homework Help
Calculus Homework Help
Bio/Chem Homework Help
Engineering Homework Help
Trending
Featured Threads
Log in
Register
What's new
Search
Search
Search titles only
By:
Intro Physics Homework Help
Advanced Physics Homework Help
Precalculus Homework Help
Calculus Homework Help
Bio/Chem Homework Help
Engineering Homework Help
Menu
Log in
Register
Navigation
More options
Contact us
Close Menu
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Homework Help
Engineering and Comp Sci Homework Help
Dealing with boundary conditions in system of ODEs
Reply to thread
Message
[QUOTE="582153236, post: 4951091, member: 466073"] [h2]Homework Statement [/h2] I'm trying to plot the steady state concentration of y[SUB]A[/SUB] vs. x, y[SUB]B[/SUB] vs x and y[SUB]u[/SUB] vs x using centered finite difference method. [ATTACH=full]174933[/ATTACH] [ATTACH=full]174934[/ATTACH] [h2]Homework Equations[/h2] [ATTACH=full]174935[/ATTACH][h2]The Attempt at a Solution[/h2] τ represents the dimensionless time variable, so steady state would mean that the left hand side of each of the differential equations is 0. I began this problem by replacing the derivatives that appear in the differential equations with the finite difference approximations for them. For example, y[SUB]A[/SUB]: [ATTACH=full]201727[/ATTACH] I also used the boundary conditions: [ATTACH=full]201728[/ATTACH] but I don't know at which point, I am taking y[SUB]A[/SUB] on the right side from. In the below equation should y[SUB]A[/SUB] on the right side be y[SUB]A,1[/SUB] or something else (since the below equation estimates the derivative at the node n=1? [ATTACH=full]201729[/ATTACH] More importantly, how do I deal with this type of boundary condition in Matlab? I am used to dealing with boundary conditions such as y[SUB]A[/SUB](0,t)=0 for which I can simply initialize Y(1)=0 in MATLAB but in this case I'm given a derivative boundary condition. [/QUOTE]
Insert quotes…
Post reply
Forums
Homework Help
Engineering and Comp Sci Homework Help
Dealing with boundary conditions in system of ODEs
Back
Top