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

Code for Numerical solution of Flat Plate BL using Thwaites' Method

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 2 Post By ronithstanly
  • 2 Post By ronithstanly

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 21, 2017, 23:44
Default Code for Numerical solution of Flat Plate BL using Thwaites' Method
  #1
New Member
 
Ronith Stanly
Join Date: Mar 2017
Location: Sweden
Posts: 24
Rep Power: 9
ronithstanly is on a distinguished road
I need help to code the numerical integration for solving the 2D, Laminar boundary layer over a flat plate using the Thwaites' method. I can accept code in any programming language- though I would prefer MATLAB. I haven't done coding for numerical methods before, so any guidance/links can also be of great help.
ronithstanly is offline   Reply With Quote

Old   November 25, 2018, 16:27
Smile Fortran code for Thwaites' method
  #2
New Member
 
Ronith Stanly
Join Date: Mar 2017
Location: Sweden
Posts: 24
Rep Power: 9
ronithstanly is on a distinguished road
Hi all,

I totally forgot about this post ever since I posted it a year and half ago. And now when I realized that this question is getting a lot of attention, I thought it might be helpful for others if I uploaded the code that I wrote back then.
I would like to acknowledge the immense help that I received from my colleague, Prof.Alexey N. Kudryavtsev, for this problem (and several others) and for introducing me to Fortran.

If you came for the code, please see the attached thw.f file and the output png image. (I could not upload the .dat file here).
For starters in Fortran and Linux, to run the code you have to go to the folder containing the thw.f file and then type in the terminal gfortran thw.f -o thw.e ,then press enter and then, ./thw.e
Hope this helps you.
Please feel to ask any questions with respect to running this program, I will try to help if I can.

Best wishes,
Ronith Stanly
Attached Images
File Type: png comparison.png (22.0 KB, 33 views)
Attached Files
File Type: f thw.f (3.0 KB, 36 views)
ssh123 and aero_head like this.
ronithstanly is offline   Reply With Quote

Old   July 1, 2021, 06:29
Default
  #3
New Member
 
Ronith Stanly
Join Date: Mar 2017
Location: Sweden
Posts: 24
Rep Power: 9
ronithstanly is on a distinguished road
I uploaded the code and data to github (https://github.com/ronithstanly/Blas...Layer-Thwaites). So if you are having trouble downloading this, please check out the github link.
-Ronith
ssh123 and aero_head like this.
ronithstanly 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
compressible laminar flow over flat plate varunjain89 Main CFD Forum 19 April 18, 2019 06:07
Divergence in Star-CCM+ and Abaqus Co-simulation: flow pass a flat plate Bin STAR-CCM+ 0 November 13, 2015 03:23
Solution method michimichi88 Fluent Multiphase 0 May 13, 2015 11:35
problem in turbulent flow over flat plate with stagnation point mb.pejvak Main CFD Forum 0 September 12, 2012 21:25
flat plate boundary layer data Ekachai Juntasaro Main CFD Forum 3 March 13, 2001 23:18


All times are GMT -4. The time now is 04:48.