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

Suggestions for CFD code implementation

Register Blogs Community New Posts Updated Threads Search

Like Tree9Likes
  • 1 Post By asifnafi
  • 2 Post By FMDenaro
  • 3 Post By sbaffini
  • 2 Post By asifnafi
  • 1 Post By asifnafi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2019, 11:02
Default Suggestions for CFD code implementation
  #1
New Member
 
Asif Shahriar Nafi
Join Date: Dec 2015
Location: Conway, SC, USA
Posts: 8
Rep Power: 10
asifnafi is on a distinguished road
Hi,
I'm a rookie in CFD coding. I'm good at Fortran, C, C++, Matlab (coding is not a problem for me). I'm trying to learn 'CFD' coding by myself. I've a bunch of CFD related books, I've read them partially. I've followed Dr. Lorena Barba's tutorial and did all the exercise by myself (FDM). I want to learn how to discretize FVM equations as well as the coding. I know there're lots of theories and methods. But I want a book/tutorial that will show me how to discretize the equations and apply it on a domain and all the complexities associated with it. I hope everyone understands my problem. I'm unable to take a course and I can't find answers to many things while reading the CFD books (e.g. chung, anderson, ferziger and peric).
Thanks.
Bhavna Joshi likes this.
asifnafi is offline   Reply With Quote

Old   March 5, 2019, 12:08
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by asifnafi View Post
Hi,
I'm a rookie in CFD coding. I'm good at Fortran, C, C++, Matlab (coding is not a problem for me). I'm trying to learn 'CFD' coding by myself. I've a bunch of CFD related books, I've read them partially. I've followed Dr. Lorena Barba's tutorial and did all the exercise by myself (FDM). I want to learn how to discretize FVM equations as well as the coding. I know there're lots of theories and methods. But I want a book/tutorial that will show me how to discretize the equations and apply it on a domain and all the complexities associated with it. I hope everyone understands my problem. I'm unable to take a course and I can't find answers to many things while reading the CFD books (e.g. chung, anderson, ferziger and peric).
Thanks.



Try to download some standard code from this site http://www.cfd-peric.de/#downloads
sbaffini and lcarasik like this.
FMDenaro is online now   Reply With Quote

Old   March 5, 2019, 12:22
Default
  #3
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,152
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Resources that I found useful in the time for what concerns implementation of FVM are:

Blazek, Computational Fluid Dynamics: Principles and Applications, 3rd Ed., 2015 (online material not necessarily that useful for an industrial strength implementation, yet pretty clear and advanced, see here https://booksite.elsevier.com/978008...amplecodes.php, and it is in Fortran)

Moukalled, Mangani, Darwish: The Finite Volume Method in Computational Fluid Dynamics, 2015 (http://www.gidropraktikum.narod.ru/M...OAM-Matlab.pdf, finally a book that takes the responsibility to claim it is advanced; it is indeed, besides being very useful because the companion software is both in MATLAB and OpenFOAM)

The Ph.D. thesis of Hrvoe Jasak is also kind of a reference for OpenFOAMers.

I also suggest giving a look at the early papers from the people working at Fluent.

Finally, you might find some useful material in the book:

Lohner, Applied Computational Fluid Dynamics Techniques: An Introduction Based on Finite Element Methods, 2nd Ed., 2008

even if it is targeted at finite element implementations.

Besides this, you get acquainted with the implementation by reading papers on the subject and figuring out stuff by yourself.
lcarasik, wangmianzhi and asifnafi like this.
sbaffini is offline   Reply With Quote

Old   March 12, 2019, 14:36
Default
  #4
New Member
 
Asif Shahriar Nafi
Join Date: Dec 2015
Location: Conway, SC, USA
Posts: 8
Rep Power: 10
asifnafi is on a distinguished road
Thanks a lot Lampitella, Denaro.
sbaffini and FMDenaro like this.
asifnafi is offline   Reply With Quote

Old   March 14, 2019, 22:48
Default
  #5
New Member
 
MAHARASHTRA
Join Date: Dec 2018
Posts: 2
Rep Power: 0
Bhavna Joshi is on a distinguished road
I found Dr.Atul Sharma's book , tutorials and assignment really helpful for FVM.
If you need the material drop me a mail

joshi.bhavna1@gmail.com
Bhavna Joshi is offline   Reply With Quote

Old   March 14, 2019, 23:00
Default
  #6
New Member
 
MAHARASHTRA
Join Date: Dec 2018
Posts: 2
Rep Power: 0
Bhavna Joshi is on a distinguished road
Quote:
Originally Posted by asifnafi View Post
Hi,
I'm a rookie in CFD coding. I'm good at Fortran, C, C++, Matlab (coding is not a problem for me). I'm trying to learn 'CFD' coding by myself. I've a bunch of CFD related books, I've read them partially. I've followed Dr. Lorena Barba's tutorial and did all the exercise by myself (FDM). I want to learn how to discretize FVM equations as well as the coding. I know there're lots of theories and methods. But I want a book/tutorial that will show me how to discretize the equations and apply it on a domain and all the complexities associated with it. I hope everyone understands my problem. I'm unable to take a course and I can't find answers to many things while reading the CFD books (e.g. chung, anderson, ferziger and peric).
Thanks.
Hello , have you written Dr.Lorena Barba's codes in C++ or python?
Bhavna Joshi is offline   Reply With Quote

Old   March 15, 2019, 09:01
Default
  #7
New Member
 
Asif Shahriar Nafi
Join Date: Dec 2015
Location: Conway, SC, USA
Posts: 8
Rep Power: 10
asifnafi is on a distinguished road
Quote:
Originally Posted by Bhavna Joshi View Post
Hello , have you written Dr.Lorena Barba's codes in C++ or python?
Hi Joshi,

You can find the python codes here: http://www.thevisualroom.com/linear_convection.html

u can find all the exercises are on this website. I used Fortran.
Bhavna Joshi likes this.
asifnafi is offline   Reply With Quote

Reply

Tags
books, cfd, fvm


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
Strange oscillations in my hydrodynamics code selig5576 Main CFD Forum 1 August 31, 2016 22:51
Can anyone help locating an error in my 2-D MATLAB SIMPLE code? Hoggs17 Main CFD Forum 7 July 9, 2013 03:02
Implementation of BC's in FV code alex Main CFD Forum 1 March 31, 2008 20:00
What is the Better Way to Do CFD? John C. Chien Main CFD Forum 54 April 23, 2001 08:10
Pseudo compressibility implementation free code vijay pargaonkar Main CFD Forum 0 March 18, 2001 01:49


All times are GMT -4. The time now is 15:39.