Iterative Solution for Nonlinear System and Comparing Updated Coefficients

조회 수: 6 (최근 30일)
Javeria
Javeria 2025년 6월 4일
댓글: Javeria 2025년 6월 16일
I am working with a nonlinear system of equations, where the term appears in the equations. I need to solve the system iteratively and compare the coefficients calculated using the initial assumption (with at first) with the updated coefficients obtained after several iterations.
The steps of the process are as follows:
\begin{itemize}
\item \textbf{Step A:} Assume that the value of \( \left| \frac{\partial \phi_2'}{\partial r} \right| \) is known (set to 0 initially) and the coefficients \( c_n, c_n^-, d^0, d_n^+, d_n^- \) are unknown. The system of equations becomes linear and can be solved by Gaussian elimination.
\item \textbf{Step B:} After obtaining the initial solution, substitute the value of \( \left| \frac{\partial \phi_2'}{\partial r} \right| \) into the equation set and solve for all unknown coefficients, and update the value of \( \left| \frac{\partial \phi_2'}{\partial r} \right| \).
\item \textbf{Step C:} Calculate the updated unknown coefficients, and compare them with the values obtained in the previous iteration. If the difference between any coefficient is smaller than \( 10^{-3} \), stop the iteration and consider the solution as the final result. Otherwise, continue iterating, updating the value of \( \left| \frac{\partial \phi_2'}{\partial r} \right| \) in each step.
\end{itemize}
How can I implement this iterative solution in MATLAB? Specifically, how can I calculate and compare the differences between the unknown coefficients obtained in each step using the initial and updated values of ?
  댓글 수: 23
Torsten
Torsten 2025년 6월 14일
편집: Torsten 2025년 6월 14일
Is your solution method based on a publication where it has been successfully applied ?
Correct me if I'm wrong, but it seems you work with the analytical solutions to partial differential equations in each subregion and try to adjust the free parameters of these infinite series solutions as to satisfy boundary and interface conditions.
I wonder whether it wouldn't have been possible (and easier) to discretize the underlying partial differential equation(s) together with the boundary conditions and interface conditions directly (i.e. without making use of the analytical solutions).
By the way: What are the partial differential equations for the velocity potential in the different subregions ? I guess this should be included in your problem definition abstract.
Javeria
Javeria 2025년 6월 16일
Hello, Yes this is my project. and in each region the potential must satisfy the laplace equation and the boundary conditions. What i can know that the procedure for solving it is outlinded at that snapshoot which i upload.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Equation Solving에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by