File Exchange

image thumbnail

uFVM

version 1.54 (1.94 MB) by Mhamad Mahdi Alloush
An Academic CFD Tool for Learning the Finite Volume Method

40 Downloads

Updated 06 Apr 2019

View License

uFVM is an academic CFD tool made for learning purposes. The main outcome of that is learning how to code the finite volume method. plenty of tutorials are available within the file that the user can easily follow and track. CFD cases can be prepared exactly as OpenFOAM files and simulated. The code aims at highlighting the basics of CFD, but not simulating complex cases. It provides a package of libraries and algorithms that the user can comfortably follow up. The code includes a toy post processing package for the visualization of the results. Refer to the quick guide provided in the files for more information on how to use the code.

Handling, distributing or modifying is fully permissible; the user has the full permission to add any piece of code or modify an existing one. The code is developed in the computational mechanics lab at the American University of Beirut, Beirut, Lebanon. The development has started in 2003 and was built and updated gradually through years. The team has decided to share this code (Actually a limited edition but nevertheless very interesting one) with the community. Lots of versions were made each of them had a different structure but necessarily the same theoretical background. The major contributor to the code is Professor Marwan Darwish, a CFD professor at AUB, and Mhamad Mahdi Alloush, a PhD candidate at AUB as well. The other contributors to the code are Master and PhD students who accomplished their theses and dissertations from the computational mechanics lab at the American University of Beirut.

Please contact us at cfd@aub.edu.lb for more information, and/or providing any feedback.

CFD Group @ AUB

Cite As

Mhamad Mahdi Alloush (2020). uFVM (https://www.mathworks.com/matlabcentral/fileexchange/70523-ufvm), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (11)

Please refer to the youtube video to set the paths properly .. here's the link it is a tutorial on how to work with ufvm :-)

https://www.youtube.com/watch?v=zbOngaJj8HE

run tutorials\incompressible\elbow ----

Undefined function or variable 'setupTerm'。

error cfdAddTerm (line 13)
theTerm = setupTerm(theTermName);%%connor del

error cfdDefineMomentumEquation (line 30)
cfdAddTerm('U', 'FalseTransient');

Shaopeng Li

Ragheb Raad

efficient and covers everything. Very extensive and exhaustive

Ali Saleh

Thank you for sharing this valuable CFD resources. It facilitates much more solving and understanding CFD.

Amazing package! Thank you so much for sharing such a valuable source code! I'm sure it will make the lives of so many people much easier :-)!

We are always updating the app, so feel free to provide feedback!

Updates

1.54

Updated user guide to include how to setup a customized flow simulation + made some fixes as per user requests

1.53

More fixes as per users' feedback

1.52

Bug Fixed - Related to Buoyancy

1.51

Bug Fixed

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux

uFVM/src/assemble

uFVM/src/assemble/Energy

uFVM/src/assemble/NSAssembly

uFVM/src/assemble/NSAssembly/Continuity

uFVM/src/assemble/NSAssembly/Momentum

uFVM/src/assemble/Scalar

uFVM/src/basic

uFVM/src/coefficients

uFVM/src/control

uFVM/src/fields

uFVM/src/fields/Gradient

uFVM/src/fields/Scalar

uFVM/src/fields/Vector

uFVM/src/fluid

uFVM/src/interpolate

uFVM/src/math

uFVM/src/mesh

uFVM/src/mesh/IO

uFVM/src/model

uFVM/src/model/Continuity

uFVM/src/model/Energy

uFVM/src/model/Equation

uFVM/src/model/Momentum

uFVM/src/model/Scalar

uFVM/src/multigrid

uFVM/src/multigrid/FAS-Cycle

uFVM/src/multigrid/Interpolate

uFVM/src/region

uFVM/src/solve

uFVM/src/time

uFVM/src/types

uFVM/tutorials/basic/flange

uFVM/tutorials/basic/stepProfile

uFVM/tutorials/compressible/bump

uFVM/tutorials/heatTransfer/hotRoom

uFVM/tutorials/incompressible/airfoil

uFVM/tutorials/incompressible/bump

uFVM/tutorials/incompressible/elbow

uFVM/tutorials/incompressible/movingLid

uFVM/utilities/IO

uFVM/utilities/IO/File

uFVM/utilities/IO/Foam

uFVM/utilities/IO/Write

uFVM/utilities/graphics

uFVM/utilities/graphics/postProcessing

uFVM/utilities/print

uFVM/utilities/tools