CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   Any one send me a 2D FVM code that is easy to read? (http://www.cfd-online.com/Forums/main/92865-any-one-send-me-2d-fvm-code-easy-read.html)

gchnhn September 27, 2011 13:26

Any one send me a 2D FVM code that is easy to read?
 
Hello, every CFD lovers,

I am a postgraduate student major in Microwave Engineering/CEM. But my supervisor force me to complete a CFD code which is used in his project. To be honest, I have no interest in CFD at all, I love designing Microwave/RF circuits. But I have to finish the work----completely from 0----to get my degree. So I turn to you guys.

I have found NSC2KE and another similar code from the web. However, both are Node-Centered and I feel hard to understand either of them. So, can any of you kind enough to send me another 2D fvm Euler and/or NS code that uses unstructured mesh(triangle, tetra), cell-centered and easy clear to understand? I can't read C++, so it is better in fortran or C form. Code with detailed formulas is better, with 3D version is the best!

gchnhn@gmail.com

I hope you can stand in my shoe and help me!
Thanks!

DoHander September 27, 2011 14:41

Try the book of Blazek about CFD, it has a cell centered FVM Fortran code on the accompanying CD-ROM. Also, the book will presents you with the necessary theory to understand the code...

gchnhn September 28, 2011 02:56

Quote:

Originally Posted by DoHander (Post 325826)
Try the book of Blazek about CFD, it has a cell centered FVM Fortran code on the accompanying CD-ROM. Also, the book will presents you with the necessary theory to understand the code...

I have found the pdf book, but don't know where to download the code...

gchnhn September 28, 2011 05:36

Thanks DoHander
I have got the code.
I will try read it tonight!

gchnhn October 9, 2011 11:59

I have got the code and the book
but the code is also median vertex-centered......

VincentD October 10, 2011 15:43

I actually posted a Matlab code (2D NS) in a thread (Matlab code for pipe flow). You might want to look it up (your university is bound to have licences for Matlab). Be sure to check the .pdf that explains the code and our discussion (also in that thread).

Note that having the code is just half of the work

Good luck finishing your project!

Vincent

haroon March 8, 2013 23:15

Fortran code for FVM
 
hello
i am new in cfd field. can anyone provide some simple code in fortran using FVM, for solving heat transfer problems.
thanks
haroonbashir13@hotmail.com

dokeun March 11, 2013 00:28

http://www.cfdbooks.com/cfdcodes.html

there is a 2d fvm node centered code and other usefull subroutines.

haroon March 11, 2013 01:23

thanks dokeun. I am greatful indeed.

yagizb December 25, 2015 04:29

Hi DoHander,
Could you provide me blazek codes,
thank you.


All times are GMT -4. The time now is 07:28.