OpenFoam Application Editing 13 - what is tmp and autoPtr? A Conceptual Introduction

OpenFoam Application Editing 13 - what is tmp and autoPtr? A Conceptual Introduction

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



Duration: 24:03
400 views
11


Short answer: these are just memory management tools in OpenFOAM

------------------ Useful Links ------------------------------------

Managing Memory in OpenFOAM By mustafaabbs2
https://mustafabhotvawala.com/managing-memory-in-openfoam/

OpenFOAM guide/tmp
https://openfoamwiki.net/index.php/OpenFOAM_guide/tmp

OpenFOAM guide/The SIMPLE algorithm in OpenFOAM
https://openfoamwiki.net/index.php/The_SIMPLE_algorithm_in_OpenFOAM


[Forum Post] tmp - stands for 'true macro pain'?
https://www.cfd-online.com/Forums/openfoam-programming-development/71912-tmp-stands-true-macro-pain.html

where is tmp.H and autoPtr.H located?
src/OpenFOAM/memory

------------------ Video Sections --------------------------------
Chapters:
0:00 in the last video..
0:54 useful links in memory management
3:24 simpleFoam example
8:30 location of tmp.H and autoPtr.H
11:58 only need to use tmp.H autoPtr.H memory management functions in optimisation
14:40 Quick demonstration of tmp functions
22:57 Concluding Remarks


---------------------[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




Other Videos By Theo Ong Science and Engineering


2021-08-17manjaro tricks - run labview in manjaro via an opensuse leap docker container
2021-08-15manjaro tricks - run ubuntu in manjaro using docker 6 running matlab in docker
2021-08-13manjaro tricks - run ubuntu in manjaro using docker 5 running salome in docker and pruning
2021-08-13manjaro tricks - run ubuntu in manjaro using docker 4 copying files from host to container
2021-08-13manjaro tricks - run ubuntu in manjaro using docker 3 running firefox
2021-08-12manjaro tricks - run ubuntu in manjaro using docker 2 installed openfoam
2021-08-12manjaro tricks - run ubuntu in manjaro using docker 1
2021-07-29OpenFoam Temperature and Power Management (Manjaro)
2021-06-29OpenFOAM Bash 3 - foamDictionary printing setting adding and removing
2021-06-28OpenFoam Application Editing 14 - volScalarField Constructors, createMesh H and createFields H
2021-06-28OpenFoam Application Editing 13 - what is tmp and autoPtr? A Conceptual Introduction
2021-06-27OpenFoam Application Editing 12 - polymorphism, destructors and memory management basic concepts
2021-06-25OpenFoam application editing 11 - introduction to class templates in OpenFoam Code
2021-06-25OpenFoam application editing 9 - tidying up the sandbox2 application with custom include folder
2021-06-25OpenFoam application editing 10 - introduction to templates and templated functions in OpenFoam Code
2021-06-25OpenFoam application editing 8 - exploring the fvScalarMatrix and fvVectorMatrix classes
2021-06-23OpenFoam Application Editing 7 - volScalarField class familiarisation and application test directory
2021-06-23OpenFoam Application Editing 6 - tinkering with runTime member functions
2021-06-23OpenFoam Application Editing 5 - Time.H and runTime classes and objects
2021-06-22OpenFOAM Application Editing 4 - using linearEqn and cubicEqn classes in OpenFOAM src
2021-06-22OpenFOAM Application Editing 3 - namespace Foam, foamNewApp and basic scalar math



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
Linux
Mint
Ubuntu
Manjaro