You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
Solving nonlinear ordinary differential equations
1 view (last 30 days)
Show older comments
I want to solve the following equation:
h(x) = -(D+a*(D/RT)*o*C)dc/dx
% D, a, R,T, o are parameters
%Boundary conditions:
h(0,t)=h(w,t) = C_sat;
%Initial conditions:
c(x,0)=0;
12 Comments
bbah
on 26 Jun 2020
how would it look like for this equation ? i need for that a system of first order equations. How do i get that ?
Ameer Hamza
on 26 Jun 2020
Do you just a single equation or multiple equations? What is h(x)? Can you attach the equations in mathematical form?
bbah
on 28 Jun 2020
Hello. This is the equation i want to solve. It is steady state so no time dependency is given and the parameters D,alpha, R,T and Omega are given.
The initial condition is:
and the boundary Conditions are: h(0,t) = h(w,t) = 1
darova
on 29 Jun 2020
This is not ODE (ordinary diff equation), it's PDE (partial diff equation)
You have more than one (two) variables. YOu have two uknown functions (c and h). But i see only one equation? Where is the second one?
bbah
on 29 Jun 2020
that is why i am confused too. h should be the flux of the diffusion of c into a body and there is no second equation.
bbah
on 2 Jul 2020
sorry for the later response. I think the final equation to be solved is this.
The flux needs to be implemented into the mass balance equation leading to this equation in 1D:
alpha, omega, D, R and T are known ant the boundary conditions are:
c(0,t)=c(w,t) = e.g. 1000 for t(0,t_end)
initial condition
c(x,0) = 0, for x(0,w);
i hope you can help me with this equation
Answers (0)
See Also
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)