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

CFD coding in Matlab

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 3 Post By LuckyTran
  • 1 Post By FMDenaro
  • 1 Post By Deranda
  • 1 Post By Deranda

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 1, 2019, 06:19
Default CFD coding in Matlab
  #1
New Member
 
sirak masresha
Join Date: Dec 2017
Posts: 11
Rep Power: 8
sirak masresha is on a distinguished road
hey, dear respected CFD forum participant, how are you doing? i am fine.
i need favor please, my question, i want to study CFD with matlab coding, then where do i find reading and practicing document (i.e books: especially FVM and FDM, websites). thanks
sirak masresha is offline   Reply With Quote

Old   January 1, 2019, 13:18
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
I suggest to divide-and-conquer.

I would start with the heat equation or wave equation and get up-to-speed on FDM and FVM. That is, try to execute the 2D heat equation in FDM via Crank-Nicoson or something similar. If you just google FVM/FDM, you'll likely run into the heat/wave equation as examples anyway. Any modern text in heat transfer or pde's likely contains one or more chapters devoted to FDM.

Heat equation is nice because it's diffusive and solutions are quite stable. And it's only 1 equation to solve, as opposed to the coupled continuity-momentum that you have to deal with in Navier-Stokes. That is, learn to solve 1 pde before you try to solve a coupled system of pde's.
LuckyTran is offline   Reply With Quote

Old   January 1, 2019, 14:05
Default
  #3
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by sirak masresha View Post
hey, dear respected CFD forum participant, how are you doing? i am fine.
i need favor please, my question, i want to study CFD with matlab coding, then where do i find reading and practicing document (i.e books: especially FVM and FDM, websites). thanks



CFD can be studied from several texbooks, they do not require a specific language.

A more specific textbook that uses Matlab is

https://ch.mathworks.com/academia/bo...-dynamics.html
sirak masresha likes this.
FMDenaro is offline   Reply With Quote

Old   January 3, 2019, 08:45
Default
  #4
Member
 
Nils
Join Date: Nov 2015
Posts: 59
Rep Power: 11
Deranda is on a distinguished road
another popular and well studied case is the Rayleigh-Bénard-Convection or the lid driven cavity. Both of them are well known and simple cases.

We have programmed a FDM solver in C++ during CFD course at university. So it shouldn't be too hard to find some information on it

For example:
https://de.mathworks.com/matlabcentr...ard-convection

https://de.mathworks.com/matlabcentr...en-cavity-flow
sirak masresha likes this.
Deranda is offline   Reply With Quote

Old   January 4, 2019, 07:24
Default
  #5
New Member
 
sirak masresha
Join Date: Dec 2017
Posts: 11
Rep Power: 8
sirak masresha is on a distinguished road
@LuckyTran, Deranda, FMDenaro. thank you for your kindnes, you are real good people. Totally to handle CFD coding in matlab, i thought it is better to start by studing matlab coding of PDE, then once i'm familiar to the software, then i should go to CFD coding with simple concept like 1D elliptic or parabolic PDE problems. And now just i'm studying the primary PDEs.
my next question is written as follows:
I do have other question, non linear (Bifurcation concept ): is it possible execute and seeing the result including simulation in ANSYS fluent or CFX? how do i simulate in software? which software is preferable? what will be the input? (i.e. when i see books, they are suggest to use matlab)
sirak masresha is offline   Reply With Quote

Old   January 4, 2019, 08:17
Default
  #6
Member
 
Nils
Join Date: Nov 2015
Posts: 59
Rep Power: 11
Deranda is on a distinguished road
can you please repeat the question once again? I dont think, that I understand it correct.
Deranda is offline   Reply With Quote

Old   March 13, 2019, 17:20
Default delaying boundary layer separation on the method of suction
  #7
New Member
 
sirak masresha
Join Date: Dec 2017
Posts: 11
Rep Power: 8
sirak masresha is on a distinguished road
hey friends, how are you doing? if you don't mind, i need your help. i am studying flow over an aircraft wing to (improve) increase the lift at high angle of attack by delaying boundary layer separation on the method of suction on the wing upper surface and near to 3/4 chord, then i need to simulate the flow analysis by using ANSYS fluent, and what are the procedures and the step?
sirak masresha is offline   Reply With Quote

Old   March 14, 2019, 03:43
Default
  #8
Member
 
Nils
Join Date: Nov 2015
Posts: 59
Rep Power: 11
Deranda is on a distinguished road
you should ask for the workflow in the specific ansys forum.
sirak masresha likes this.
Deranda 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
Matlab for CFD R Main CFD Forum 4 August 31, 2017 02:31
Regarding Coding in CFD abhayIITM Main CFD Forum 3 July 22, 2014 15:20
CFD coding... ganesh chakravarthi CFX 2 May 30, 2014 02:34
CFD with MATLAB Jack Main CFD Forum 2 April 26, 2006 03:19
public CFD Code development Heinz Wilkening Main CFD Forum 38 March 5, 1999 12:44


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