Introductory C++ for OpenFoam 18 - makefiles working with variables

Subscribers:
9,750
Published on ● Video Link: https://www.youtube.com/watch?v=TFpqEzJrNt4



Duration: 23:08
595 views
11


Disclaimer: I have made these videos as i am learning C++, so you will see me make mistakes along the way. So in fact you are learning along with me, hope you have fun!
I'm not going to redo these videos as sometimes as watching these mistakes are useful in the learning process for beginners. Also i may not have the time to redo them. I'm leaving them as is for my reference and yours. Enjoy!

------------------ Useful Links ------------------------------------
Add temperature to icoFoam
https://openfoamwiki.net/index.php/How_to_add_temperature_to_icoFoam


pimpleFoam source code
https://develop.openfoam.com/Development/openfoam/-/tree/master/applications/solvers/incompressible/pimpleFoam


IOobject.H
https://www.openfoam.com/documentation/guides/latest/api/IOobject_8H_source.html


What is a makefile and how does it work
https://opensource.com/article/18/8/what-how-makefile


Colorado State Makefile presentation
https://www.cs.colostate.edu/~cs157/LectureMakefile.pdf


OpenFOAM foundation compiling an application

https://cfd.direct/openfoam/user-guide/v6-compiling-applications/


wmake source code
https://fossies.org/linux/OpenFOAM/wmake/wmake
------------------ Video Sections --------------------------------
Chapters:
TBC
---------------------[Playlists and Relevant Github Repositories]----------------------------------------------

Fluid Mechanics and Git Repos:
https://www.youtube.com/playlist?list=PLhPfNw4V4_YSmdAXc6J0XOSQ1b27qsMGt
https://github.com/theodoreOnzGit/OpenFoam_heatTrf_YouTube

Petroleum Downstream Crash Course Playlist:
https://www.youtube.com/playlist?list=PLhPfNw4V4_YQ13CnhacUqEVk-tZlU4ISE

OpenFOAM for Windows 10 Beginner Playlist and some Git Repos
https://www.youtube.com/playlist?list=PLhPfNw4V4_YRhBU4IqSaToQ8_X543YQsZ
https://github.com/theodoreOnzGit/laminar_BL_OpenFOAM

OpenFOAM Intermediate Playlist and some Git Repos
https://www.youtube.com/playlist?list=PLhPfNw4V4_YSpWX6mSOlwWEOKVa6i_iuE
https://github.com/theodoreOnzGit/thin_pipeflow_snappyHexMesh

OpenFOAM Heat Transfer Playlist and GitHub Repo
https://www.youtube.com/playlist?list=PLhPfNw4V4_YR2Qa3Q9-AzNSF2J9Dc4_qT
https://github.com/theodoreOnzGit/OpenFoam_heatTrf_YouTube

Radiation Heat Transfer Learning Journal and Git Repos:
https://www.youtube.com/watch?v=uUzh9kh-WTo&list=PLhPfNw4V4_YRUUVUydQp-n6U-7uu1kJof
https://github.com/theodoreOnzGit/heatTransferTheory_YouTube

Convection Boundary Layer and git Repos:
https://www.youtube.com/playlist?list=PLhPfNw4V4_YR9pRBpp101Mkuds49vjQ63
https://github.com/theodoreOnzGit/heatTransferTheory_YouTube

Turbulence Modelling Playlist
https://www.youtube.com/watch?v=F_Rxv9uMM3g&list=PLhPfNw4V4_YSnbYkJIBQ1kRN06Mmxe2Be
https://github.com/theodoreOnzGit/turbulenceModelling

LabView Frequency Analysis and Fun (playlist and git repo)
https://www.youtube.com/playlist?list=PLhPfNw4V4_YQYE7XqTisMBkpm7gqNS_nl
https://github.com/theodoreOnzGit/Ted_labview_YouTube

Control Systems and Frequency Response
https://www.youtube.com/watch?v=qHY6y7JmB2U&list=PLhPfNw4V4_YRUuWnrtClovPKxU_gJOXH-
https://github.com/theodoreOnzGit/matlabFrequencyResponse.git

OpenFOAM C++
https://github.com/theodoreOnzGit/C-_YouTube_OpenFoam
https://www.youtube.com/playlist?list=PLhPfNw4V4_YT9OgqS7ZPlot_Ucxzc6pQJ

OpenFOAM Bash
https://github.com/theodoreOnzGit/Bash_OpenFOAM_YouTube
https://www.youtube.com/playlist?list=PLhPfNw4V4_YT5zjBhfj5Hj4r4D5eXilcU

Basic Samba
https://www.youtube.com/playlist?list=PLhPfNw4V4_YQuWJLufBUpNplitReZX0fB
https://github.com/theodoreOnzGit/sambaVideos

Manjaro Tips and Tricks
https://www.youtube.com/playlist?list=PLhPfNw4V4_YQuyXBfJxAvzHJTl0UiWx3h

lammps and Discrete Element Modelling (DEM)
https://www.youtube.com/playlist?list=PLhPfNw4V4_YTdRlnLiu2OUXeTf5ZNVQ9E




Other Videos By Theo Ong Science and Engineering


2020-09-25Labview Frequency Analysis and Fun 6 - Nyquist Frequency Intuition and Get WaveForm components
2020-09-25Labview Frequency Analysis and Fun 5 - more on FFT How to relate frequency bin to absolute frequency
2020-09-25Labview Frequency Analysis and Fun 4 - more on FFT What is sampling rate and FFT size?
2020-09-22Labview Frequency Analysis and Fun 3 - Power Spectrum Analysis of a C3 note 130 Hz
2020-09-22Labview Frequency Analysis and Fun 2 - Reading a Wav File and bare bones Fast Fourier Transform
2020-09-22Labview Frequency Analysis and Fun 1 - Navigating LabView and Some Graphs
2020-09-03Introductory C++ for OpenFoam 22 - icoHeatFoam test case added
2020-09-02Introductory C++ for OpenFoam 21 - icoHeatFoam tutorial solver edits and compilation
2020-09-02Introductory C++ for OpenFoam 20 - wmake compilation example with buoyantPimpleFoam
2020-09-02Introductory C++ for OpenFoam 19 - a brief on compiling OpenFOAM applications (solvers) with wmake
2020-09-02Introductory C++ for OpenFoam 18 - makefiles working with variables
2020-09-01Introductory C++ for OpenFoam 17 - makefiles targets, dependencies and intro to variables
2020-09-01Introductory C++ for OpenFoam 16 - makefiles prerequisites and introduction
2020-09-01Introductory C++ for OpenFoam 15 - header files
2020-08-31Introductory C++ for OpenFoam 14 - more examples for classes and objects
2020-08-31Introductory C++ for OpenFoam 13 - variable encapsulation constructors and destructors
2020-08-31Introductory C++ for OpenFoam 12 - basic introduction to classes (basic code demonstration)
2020-08-31Introductory C++ for OpenFoam Users 11 - Ways to deal with arrays (static variables and classes)
2020-08-31Introductory C++ for OpenFoam Users 10 - Pointers and Arrays Vector Addition Function Part ii
2020-08-24Turbulence Modelling 105 - A promising direction constant density buoyantPimpleFoam & boussinesq
2020-08-24OpenFoam Heat Transfer 73 - salome heat exchanger results and cases uploaded



Tags:
Engineering
Math
Science
Thermodynamics
Fluid Mechanics
Chemical
Nuclear
Chemical Potential
Fugacity
Enthalpy
Internal Energy
Entropy
First Law
Second law
Gibbs Free Energy
Hemholtz free energy
heat capacity
constant volume
constant pressure
tutorial
petroleum
oil
refinery
downstream
crude
jet
gasoline
gasoil
diesel
computational fluid dynamics
CFD
OpenFoam
Open
Foam
Fluid mechanics
heat transfer
turbulence
conduction
convection
radiation