CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Suggestions for CFD code implementation (https://www.cfd-online.com/Forums/main/215447-suggestions-cfd-code-implementation.html)

asifnafi March 5, 2019 11:02

Suggestions for CFD code implementation
 
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.

FMDenaro March 5, 2019 12:08

Quote:

Originally Posted by asifnafi (Post 726840)
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 March 5, 2019 12:22

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.

asifnafi March 12, 2019 14:36

Thanks a lot Lampitella, Denaro.

Bhavna Joshi March 14, 2019 22:48

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 March 14, 2019 23:00

Quote:

Originally Posted by asifnafi (Post 726840)
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?

asifnafi March 15, 2019 09:01

Quote:

Originally Posted by Bhavna Joshi (Post 727850)
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.


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