![]() If we change them as xold = 3.0d-5 xolder = 9.0d-5 and changing the threshold for convergence more tightly as IF (ABS(fx(xnew,L,Q,hf,rho,mu,rough)). It seems that the initial values for xold and xolder are too far from the solution. If I figure this out I will update it to working. ![]() I would appreciate any guidance.ĮDIT: I have updated the code with some suggestions from users, still seeing quick divergence. I've done this on paper and understand the mechanics of the equations. ![]() I am trying to write a program to solve for pipe diameter for a pump system I've designed. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |