Updated 14 Feb 2020
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 firstname.lastname@example.org for more information, and/or providing any feedback.
CFD Group @ AUB
Mhamad Mahdi Alloush (2020). uFVM (https://www.github.com/mhamadAlloush/uFVM), GitHub. Retrieved .
Tried following the example but got the following errors
Undefined function 'rms' for input arguments of type 'double'.
Error in cfdComputeScaledRMSResiduals (line 30)
rmsScaledResidual = rms(abs(bc)./(ac*p_scale));
Error in cfdPostAssembleContinuityEquation (line 13)
Error in cfdAssembleContinuityEquation (line 18)
Error in cfdAssembleAndCorrectContinuityEquation (line 19)
Error in cfdAssembleAndCorrectNSSystem (line 15)
Error in cfdRunFalseTransientCase (line 48)
Error in cfdRunCase (line 15)
Error in cfdRun (line 21)
Thank you very much！ It is very helpful！It would be perfect if there are functions for grid transformation such as fluent3DMeshToFoam~
Can you please tell me on the list of toolbox required to run this code. Currently I have MATLAB, MATLAB coder, symbolic MATH toolbox.
When i tried running this code, It said the signal processing toolbox in missing in my lic.
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 :-)
run tutorials\incompressible\elbow ----
Undefined function or variable 'setupTerm'。
error cfdAddTerm (line 13)
theTerm = setupTerm(theTermName);%%connor del
error cfdDefineMomentumEquation (line 30)
efficient and covers everything. Very extensive and exhaustive
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!
Few Updates + Connected to github
Updated user guide to include how to setup a customized flow simulation + made some fixes as per user requests
More fixes as per users' feedback
Bug Fixed - Related to Buoyancy