File structure of OpenFOAM cases | Beginner tutorial series #2

Links for more information:
blockMeshDict www.openfoam.com/documentatio...
controlDict www.openfoam.com/documentatio...
fvSchemes cfd.direct/openfoam/user-guid...
PISO loop • [CFD] The PISO Algorithm
Courant Number • [CFD] The Courant (CFL...
Chapters:
00:00 Introduction
00:35 VSCode with WSL
01:15 File Structure
01:49 Zero Directory
03:56 Boundaries in ParaView
05:32 Other Time Directories
06:45 Constant
07:17 blockMeshDict
09:28 fvSchemes
10:03 fvSolution
12:40 foam file
12:51 log.icoFoam
14:47 log.blockMesh

Пікірлер: 9

  • @mrhypernova481
    @mrhypernova4812 жыл бұрын

    please do more, you are one of the better teachers ive found for openfoam so far! could you possibly cover compressible flow and supersonics as im doing a dissertation on rocket design and have no experiance with this program. i will have to run supersonic flow sims in a vacuum too, do you have any useful info regarding this?

  • @cfdforeveryone-nikl9742

    @cfdforeveryone-nikl9742

    2 жыл бұрын

    Absolutely! The area I'm personally most experienced with is hypersonic aeroelastic / aerothermal sims, so I'll definitely make a tutorial video on compressible flow at some point. It might be a while though, because I'm currently trying to improve my workflow for making animations. Just as a tip in the meantime, I recommend using rhoCentralFoam as the solver (I've found sonicFoam to be unreliable, and the other rho...Foam solvers are better for low Mach numbers). According to the literature I was able to find, kOmegaSST has been found to be the more accurate RANS turbulence model, although at hypersonic speeds LES is preferred. You should do your own research though. Potentially you could get away with an inviscid flow assumption, although from personal experience the force predictions change quite significantly with this assumption. There are some tutorial cases in the $FOAM_TUTORIALS directory for rhoCentralFoam (in $FOAM_TUTORIALS/compressible/rhoCentralFoam) - they are useful starting points to then modify later for your own purposes. They all use inviscid assumptions though, so if you want to use turbulence models / viscosity then you'll need to copy the relevant settings from tutorial cases for other solvers e.g. rhoPimpleFoam. If you run into stability issues (e.g. transient negative temperatures in certain areas of the mesh), then consider adding temperature and/or velocity limiters using fvOptions. Also would advise a low courant number (

  • @siddharthamukharjee4795
    @siddharthamukharjee47952 жыл бұрын

    Can you continue uploading videos..

  • @cfdforeveryone-nikl9742

    @cfdforeveryone-nikl9742

    2 жыл бұрын

    Absolutely! I'm trying to improve my workflow for making videos at the moment (my previous process was quite tedious). As soon as that's done, I'll continue with the videos.

  • @sss_Shazam

    @sss_Shazam

    Жыл бұрын

    @@cfdforeveryone-nikl9742 please do

  • @Tommybotham
    @Tommybotham8 ай бұрын

    The VS Code thing doesn't work for me even though I have it installed. I get this error: Command 'code' not found, did you mean: command 'node' from deb nodejs (12.22.9~dfsg-1ubuntu3) command 'tcode' from deb emboss (6.6.0+dfsg-11ubuntu1) command 'ode' from deb plotutils (2.6-11) command 'cdde' from deb cdde (0.3.1-1build1) command 'cde' from deb cde (0.1+git9-g551e54d-1.2) Try: sudo apt install A work around is to just use explorer.exe and view the files there.

  • @urgay43

    @urgay43

    19 күн бұрын

    Try using GNU Nano. It is terminal based.

  • @mehmetdelikan4687
    @mehmetdelikan4687 Жыл бұрын

    Thank you for useful videos. However, i have a problem when i write "code ." i got this message " kame@KAME:~/OpenFOAM-sims/tutorials/incompressible/icoFoam/cavity/cavity$ code . Command 'code' not found, did you mean: command 'node' from deb nodejs (12.22.9~dfsg-1ubuntu3) command 'tcode' from deb emboss (6.6.0+dfsg-11ubuntu1) command 'ode' from deb plotutils (2.6-11) command 'cdde' from deb cdde (0.3.1-1build1) command 'cde' from deb cde (0.1+git9-g551e54d-1.2) Try: sudo apt install " How can i solve this problem ?

  • @cfdforeveryone-nikl9742

    @cfdforeveryone-nikl9742

    Жыл бұрын

    Have you installed visual studio code? It's optional to use it, you could equally navigate your Linux file system by typing `explorer.exe .` and editing all the files with your favourite Windows-based text editor. Equally, you can do everything through the command line - if you need to edit a text file, just do `nano filename`, replacing `filename` with the full name and location of the file you want to open.