CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Need help with newtons method

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 24, 2017, 20:12
Default Need help with newtons method
  #1
New Member
 
frank
Join Date: Feb 2017
Posts: 8
Rep Power: 9
Fahraynk is on a distinguished road
I have a system which I solved with newtons iteration, and I have to add an additional unknown to the system. The system is the following :
f'''+\frac{m+1}{2} ff''+m(1-(f')^2)=0
I broke it up into a system of 3 equations:
F_p-f'=0
F_{pp}-F_p''=0
F_{pp}'+\frac{m+1}{2}FF_{pp}+m(1-F_p^2)=0

m is a constant; I set manually set m.
Unknowns are f, Fp, Fpp.
The equations are approximated with taylor's approximations, and G(x)=0 is the sum of these 3 equations at 1000 grid points + 3 initial conditions.
Currently, X=[f_1...F_{1000},F_{p1}...F_{p1000},F_{pp1}...F_{pp1000}], and I use newtons iteration to solve for X such that G(X)=0

This problem I am trying to solve is this, I am given this information :

H=\frac{\delta}{\theta}
\delta=\int_0^\infty(1-F_p) dy
\theta=\int_0^\infty(1-F_p)F_p dy

I am told that I have to take a given H, and use newtons iteration to find m, the constant which I was setting manually before.

I want to know, if I change X to X=[F,F_p,F_{pp},m] and then add to G(x), H-\frac{\delta}{\theta}=H-\frac{\int_0^\infty(1-F_p)}{\int_0^\infty(1-F_p)F_p} ,will this be enough for newtons method to solve for m? Or do I have to do something else?
Fahraynk is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lattice Boltzmann method vs Finite Element Method and Finite Volume Method solemnpriest Main CFD Forum 3 August 12, 2013 12:00
Help about the preconditioner in gmres method Dan Gao Main CFD Forum 3 July 5, 2008 02:18
About flowfield-dependent variation(FDV) method? Jinwon Main CFD Forum 1 December 4, 2007 22:13
Info on method of lines approach charlie ryan Main CFD Forum 2 August 9, 2007 12:06
tidal flow simulation using finite volume method Jason Qiu Main CFD Forum 0 October 20, 2002 03:34


All times are GMT -4. The time now is 12:21.