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

Solution converged differently

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 20, 2017, 08:19
Default Solution converged differently
  #1
New Member
 
Delhi
Join Date: Jul 2017
Posts: 10
Rep Power: 8
aviral2000 is on a distinguished road
Hi everyone,

I am beginner in field of development of CFD codes. I was trying out the example given in "A introduction to Computational Fluid Dynamic" by Versteeg and Malalasekra. I made a python code for a 2D heat transfer solver using TDMA approach. I started by directly entering the values given in the example ( will do the derivation of the coefficients from system parameters later). In the solution given in the book, my first iteration result is matching, however my converged solution is completely different. It would be great if someone could advise me on where I could have gone wrong or how to improve the solution?
aviral2000 is offline   Reply With Quote

Old   July 20, 2017, 11:15
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by aviral2000 View Post
Hi everyone,

I am beginner in field of development of CFD codes. I was trying out the example given in "A introduction to Computational Fluid Dynamic" by Versteeg and Malalasekra. I made a python code for a 2D heat transfer solver using TDMA approach. I started by directly entering the values given in the example ( will do the derivation of the coefficients from system parameters later). In the solution given in the book, my first iteration result is matching, however my converged solution is completely different. It would be great if someone could advise me on where I could have gone wrong or how to improve the solution?

Check you program, it is likely you have some error. Furthermore, I suggest to post the plot of you solution.
FMDenaro is offline   Reply With Quote

Old   July 20, 2017, 13:32
Default
  #3
New Member
 
Delhi
Join Date: Jul 2017
Posts: 10
Rep Power: 8
aviral2000 is on a distinguished road
Thanks for your reply. I rechecked my program, and I found that I made a mistake while defining the coefficient matrix. The problem is solved, thank you. Can you tell me about some open source codes in python which I could consult to accelerate my learning process?

Thank you
aviral2000 is offline   Reply With Quote

Old   July 20, 2017, 19:38
Default
  #4
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
Quote:
Originally Posted by aviral2000 View Post
Thanks for your reply. I rechecked my program, and I found that I made a mistake while defining the coefficient matrix. The problem is solved, thank you. Can you tell me about some open source codes in python which I could consult to accelerate my learning process?

Thank you
I've posted this here many times before, but this is a great way to get started with CFD using Python:

http://lorenabarba.com/blog/cfd-pyth...navier-stokes/
mprinkey is offline   Reply With Quote

Old   July 21, 2017, 01:23
Default
  #5
New Member
 
Delhi
Join Date: Jul 2017
Posts: 10
Rep Power: 8
aviral2000 is on a distinguished road
Thanks for this link. I have gone through it earlier, it's too basic. I am able to code more complex codes by myself. I wanted to get hold any easy to understand 2-D navier stokes solver solving structured grid (not very simple geometry like in the link you posted) or with unstructured grid.
Thanks
aviral2000 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
simple solution converged in 9 iterations? Gabbee90 OpenFOAM Running, Solving & CFD 4 January 29, 2019 21:04
Strange results in converged solution Pastukhov CFX 5 January 16, 2017 00:52
2way FSi, Initialize with steady solution, Fluent, Transient Sturcural, System Coupli mmkkeshavarzi FLUENT 0 June 22, 2016 08:26
Why the solution could only be converged in aestas FLUENT 11 October 20, 2015 04:31
solution is not getting converged Nijanthan FLUENT 5 July 25, 2013 01:42


All times are GMT -4. The time now is 18:43.