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

Python, Matlab courses

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By zdunol
  • 1 Post By mprinkey

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 13, 2015, 19:29
Default Python, Matlab courses
  #1
Member
 
zduno
Join Date: Dec 2013
Posts: 55
Rep Power: 12
zdunol is on a distinguished road
Hello good people,

I saw cool SpaceX presentation about parallel computing which turned out to be about combustion CFD modelling. I guess I can't post links here so just type SpaceX gpu parallel computing in yt, the video name is SpaceX Merlin (&Raptor) Engine R&D, GPU-Powered.
So, guys there created their won solver which is pretty cool if you ask me, and I got inspired by this video and started to dig into basics of CFD. I have found cool cfd course in python (12 steps to Navier Stokes with Python) and I feel like i learned a lot.

So I would like to ask you if you could recommend me any course like that, where I need to write everything on my own in Python, or Matlab. Or any textbook which is about writing CFD codes. I'm going through Anderson's CFD The Basics with Applications but it is lenghty and I would really like to do more coding.

Thanks!
zdunol is offline   Reply With Quote

Old   November 15, 2015, 15:37
Default
  #2
Member
 
Kaya Onur Dag
Join Date: Apr 2013
Posts: 94
Rep Power: 13
kaya is on a distinguished road
I was in your shoes 2 years ago. Unfortunately I can't answer your question but what I can tell you is; do verify every step you take. Have some analytical functions aside where you know derivatives or nonlinear operations and check convergence before you add an extra line at each stage. It may sound a bit costly in time but believe me, it actually costs less then you would spend in finding bugs at the end when you put the time stepping for-loop.

Good luck.
kaya is offline   Reply With Quote

Old   November 15, 2015, 17:23
Default
  #3
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
I can't recommend Prof Murthy's course notes enough:

https://engineering.purdue.edu/ME608/webpage/main.pdf

That book covers start to finish how to write unstructured finite volume CFD codes in all of the gory detail. She worked at Fluent when what is still the core of Ansys Fluent was being designed and coded, so her perspective is instructional but fused with a ton of practical experience. The version I linked to is from 2002. There are likely more up-to-date references available, but I have yet to find a better place to start new would-be CFD devs.
mprinkey is offline   Reply With Quote

Old   November 15, 2015, 18:44
Default
  #4
Member
 
zduno
Join Date: Dec 2013
Posts: 55
Rep Power: 12
zdunol is on a distinguished road
Thank you guys a lot
zdunol is offline   Reply With Quote

Old   November 17, 2015, 10:21
Default
  #5
Member
 
zduno
Join Date: Dec 2013
Posts: 55
Rep Power: 12
zdunol is on a distinguished road
so I have found something which looks to be cool. I don't like posting links because they go invalid, so it's a wiki book called Parallel Spectral Numerical Methods
Quasar_89 likes this.
zdunol is offline   Reply With Quote

Old   November 17, 2015, 10:38
Default
  #6
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 zdunol View Post
so I have found something which looks to be cool. I don't like posting links because they go invalid, so it's a wiki book called Parallel Spectral Numerical Methods
As a rule, Spectral Methods are not great for any flow field that has shocks or discontinous interfaces (like flame fronts). Gibbs phenomena is a very real problem and attempting to use modes/basis functions that cross discontinuities just breaks down. If you are interested in Spectral-type formulations, look at Discontinuous Galerkin methods. These share a common ancestry with spectral methods and with finite volume methods. In some ways, they leverage the best aspects of both. BUT neither DG or spectral methods is where you should start to learn about CFD, IMO. Learn the basics of the Finite Volume Method first.
Quasar_89 likes this.
mprinkey is offline   Reply With Quote

Reply

Tags
matlab, python


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
How to start Fluent with Matlab?? Jay Hu FLUENT 8 November 9, 2022 07:30
Export/Import data contour plots with Matlab meangreen FLUENT 11 October 28, 2020 11:06
[OpenFOAM] using the python shell in paraFoam colinB ParaView 14 September 14, 2015 10:04
[OpenFOAM] paraview v4 - building with python - OF2.3.0, PVv4, Python 2.7 aylalisa ParaView 4 June 13, 2014 09:52
CentFOAM Python Script Installation: Error socon009 OpenFOAM Installation 2 May 26, 2012 10:36


All times are GMT -4. The time now is 22:17.