- 9
- 97 636
Mark Kimber
Приєднався 23 вер 2011
Using non-uniform inlet profiles in openFOAM
In this tutorial, a non-uniform velocity is used as the inlet for flow through a square channel.
Переглядів: 20 858
Відео
RANS turbulence modeling of a square channel in openFOAM (part II)
Переглядів 4,6 тис.7 років тому
Here, a few different RANS models are discussed, including the Reynolds stress model ("LRR" in openFOAM). Creating a multi-block graded mesh is also presented.
k-epsilon modeling of turbulent duct flow using openFOAM (part I)
Переглядів 15 тис.8 років тому
In this tutorial, the k-epsilon turbulence model is used to analyze flow through a square channel with a Reynolds number of 10,000.
adapting icoFoam and simpleFoam tutorial files
Переглядів 7 тис.8 років тому
OpenFOAM tutorial on taking icoFoam and simpleFoam solvers and adapting the tutorial files to a different problem.
OpenFoam tutorial - getting started (part 2)
Переглядів 4 тис.8 років тому
OpenFoam tutorial - getting started (part 2)
OpenFOAM tutorial - getting started
Переглядів 25 тис.8 років тому
This tutorial takes a look at the various standard files in an typical OpenFOAM simulation directory. The first tutorial in the user guide (lid driven cavity) is run as an example.
Hello, my constant folder doesn’t have a polymesh directory..please help.
Thank you so much
Can you share matlab code please?
where are the other videos , i really need it
Fantastic thank you
Thank a lot
hi, I am trying to simulate cylindrical batteries using chtmultiregion solver setup. can you tell me how to define non unifrom profiles like cylindrical batteries in blockmesh?
hai, i am started to learn the openFOAM, I am following your videos and getting error while giving blockMesh command (Symbol Lockup error : libdecompositionmethods.so : undefined symbol :ZNK4Foam11regI0ObjectENS_.......like this). please solve my problem
In new versions of OF, you need to use this command instead: postProcess -func writeCellCentres
Boss, i just finished this tutorial thanks to you.
Friend I have to add an equation to my solver, could you give me some advices?
When I execute the command writeCellCentres ,it is showing command not found. Can Anyone help me??
use this command: postProcess -func writeCellCentres
برك الله فيك
Great tutorial demo! Really helpful to researchers with zero experience on OpenFOAM like me.
How to get the P (pressure) or T (Temperature) if the simulation needs the non-uniform this parameters?
I once did a project where I simulated pipe flow using LES. The number of cells in my geometry was in millions. If I had generated the profile, simulating time could have been considerably lower. If I have to initiate the profile using initial values, how can I save time. The real benefit in high speed flows and dense mesh where we have to extract surface pressure loads for Fluid Structure Interaction comes when we can initiate the profile directly without initial solution.
Hello, is it possible that you can please provide a link to download case directory so that we can work through the example
How can we reach to pdf ?
if we do not have density in continuity equation than what will be in the b ( i.e. in force term)
Thank you for your video, it is great. Just one thing, can you explain how you get the pressure corrections equation in more detail please? I am a bit confused.
So helpful! Thank you!
nice video.kindly sir when you are finding U(mag) you apply the formula sqr(C1^2 + C2^2) after that which one command you use that you find the value foe whole column.
Hi sir for this video , actually i'm runing viscoelasticFluidFoam solver for Oldroyed-B model and mommentum equation my question is how i will adjust the dimensionless parameter like Reynolds,deborah,retardation ratio(beta) ,2. how i will take average of velocity if i have inlet,outlet,upper wall is moving condition.plz your help will be highly appreciated.
Could you please explain, what for can we apply groovy bc as inlet velocity boundary condition? What is groovy bc doing?
can any one help me to do naca0012 (2d) openFOAM simulation with snappyxesh mesh so with simple foam and c type domain can anyone tell me the steps ?or video
This video answered tons of my questions. Thank you so much!
thanks.i have a question if i change the blockMesh (i take (0 1 2 3) in the bottom and (4 5 6 7) in the top)combine them and make hex(0 1 2 3 4 5 6 7) just like in the user guide page U151.it gives me problem the tope wall which is moving wall is no longer top wall it changes.can you explain plz according to my knowledge we can take any two parallel surfaces with a spacific order (clockwise or anticlockwise) to make block.in this tutorial they are taking front and back faces to create block.my question why not bottom and top faces.
Hello Mark, I have a quick question regarding monitoring velocity and mass flow values. If I have multiple outlets in my model, and if I want to monitor the Vx, Vy, Vz components of the liquid jet coming of those outlets, how can I do it while the model is running? What command lines do I need to add to the code/ control dict, so the model generates an output file (.dat, .txt etc) that has the area averaged values of Vx, Vy, Vz values and mass flow rates for each outlet per time step or flow time or iteration while it is running? Thank you and Gig 'em :) Ozgur
Fantastic video Mark. Really helped me. So much so in fact that I'm looking to expand it. If we wanted to change the index of the equation (n = 4) in your case, but still get the same area under the curve, ie same flux, how would we do that? any thoughts?
List included to OpenFOAM at 26:42
My copy of openFOAM (v1906) doesn't have this writeCellCentres utility. Is there any functionality for coordinates extraction in new versions of OF?
1) load model in Paraview, 2) add the Cell Centers filter, 3) open up a spreadsheet view, 4) select specific boundary in Composite Data Set Index, 5) export spreadsheets's Point Data
It should be: postProcess -func writeCellCentres
An expert that communicates very clearly - so good!
Bonzer!
Hi. I followed your instructions for applying kEpsilon Turbulence Model. my geometry is almost the same as yours. But when the solver RUNS, after some iterations the residuals of k and Epsilon becomes very high and the solver stops. And the values of residuals of velocity are also not converging. I don't know what is the mistake. The Laminar flow is working perfectly on the same geometry. Can you please help me in this? Thank you
Hello, I am also having the same issue. How did you manage to work it out? Thank you
Thanks a lot for this instructinal tutorial. All I need to learn now is to work with several hexa blocks (and many more...)
Thanks for all your videos. Very informative!
Brilliant example and very well explained
I second this, this was a very helpful tutorial!
Thank you Mark.. really helpful.. keep uploading cfd basics..
Nice work man! Struggling with LRR even with the help of cfd-online.com, and found your vid!
Hello! My constant folder doesn't have a polyMesh directory. When I try to create the mesh using blockMesh, I receive an error message saying it can't find system/controlDict file. What did I do wrong? Thank you so much
either the controldict is missing or you ran it in wrong directory.
@@MrMangkokoo Thanks Claudia
Hi, in this tutorial you already had the values of the velocity field for all the cells but is there any way to define these values as a function in OpenFOAM? Thanks for the tutorial!
Try looking up the codedFixedValue boundary condition. For example, the video ua-cam.com/video/hfHqzB6YsVM/v-deo.html shows the results of an example described in the blog sourceflux.de/blog/the-codedfixedvalue-boundary-condition/ of how such a condition can be implemented
Thank you for this wonderful video. It was really helpful. Can you please show us how to make it time dependent. In other words, how to make changes so that at every time step it takes the latest value of velocity.
look up the timeVaryingMappedFixedValue boundary condition as I mentioned in another comment
Hi Md Faiaz Khaled do you have success with making it time-dependent?
could you help me with K-e model for aerofoil ?
You are awesome :) Thank you for this video i really appreciate it, i cannot open cavity tutorial in windows 10 but wtih your help i learn the commands and run the cavity tutorial now. You are a lifesaver
I really appreciate if you could E-mail it to me: dks10003@gmail.com
it is a really good explanation of cavity problem. I will recommend it to my friends. thanks
Thanks for the video. I am a new user of OpenFoam and I got problem at 15:34 on your video. I went to the root directory of the project, ran the blockMesh but feedback from computer was "blockMesh: command not found". I am using OpenFoam version 2.0 on Ubuntu 16.04. Please can you tell help me identify the reason for the problem? Below is the summary of work from the terminal window: daniel@ubuntu:~/training/icoFoam$ ls cavity elbow daniel@ubuntu:~/training/icoFoam$ ls cavity Allclean Allrun cavity cavityClipped cavityGrade daniel@ubuntu:~/training/icoFoam$ ls elbow 0 Allclean Allrun constant elbow.msh system daniel@ubuntu:~/training/icoFoam$ cd cavity daniel@ubuntu:~/training/icoFoam/cavity$ loadFOAM loadFOAM: command not found daniel@ubuntu:~/training/icoFoam/cavity$ loadFoam loadFoam: command not found daniel@ubuntu:~/training/icoFoam/cavity$ gedit p daniel@ubuntu:~/training/icoFoam/cavity$ cd cavity daniel@ubuntu:~/training/icoFoam/cavity/cavity$ gedit p daniel@ubuntu:~/training/icoFoam/cavity/cavity$ cd 0 daniel@ubuntu:~/training/icoFoam/cavity/cavity/0$ ls p U daniel@ubuntu:~/training/icoFoam/cavity/cavity/0$ gedit p daniel@ubuntu:~/training/icoFoam/cavity/cavity/0$ gedit U daniel@ubuntu:~/training/icoFoam/cavity/cavity/0$ gedit p daniel@ubuntu:~/training/icoFoam/cavity/cavity/0$ gedit U daniel@ubuntu:~/training/icoFoam/cavity/cavity/0$ cd ../.. daniel@ubuntu:~/training/icoFoam/cavity$ cd cavity daniel@ubuntu:~/training/icoFoam/cavity/cavity$ ls 0 constant system daniel@ubuntu:~/training/icoFoam/cavity/cavity$ cd constant daniel@ubuntu:~/training/icoFoam/cavity/cavity/constant$ ls transportProperties daniel@ubuntu:~/training/icoFoam/cavity/cavity/constant$ gedit transportProperties daniel@ubuntu:~/training/icoFoam/cavity/cavity/constant$ cd ../.. daniel@ubuntu:~/training/icoFoam/cavity$ ls cavity 0 constant system daniel@ubuntu:~/training/icoFoam/cavity$ cd cavity/system daniel@ubuntu:~/training/icoFoam/cavity/cavity/system$ ls blockMeshDict controlDict fvSchemes fvSolution daniel@ubuntu:~/training/icoFoam/cavity/cavity/system$ gedit blockMeshDict daniel@ubuntu:~/training/icoFoam/cavity/cavity/system$ cd ../.. daniel@ubuntu:~/training/icoFoam/cavity$ cd cavity daniel@ubuntu:~/training/icoFoam/cavity/cavity$ blockMesh blockMesh: command not found daniel@ubuntu:~/training/icoFoam/cavity/cavity$ cd ../.. daniel@ubuntu:~/training/icoFoam$ cd cavity daniel@ubuntu:~/training/icoFoam/cavity$ blockMesh blockMesh: command not found daniel@ubuntu:~/training/icoFoam/cavity$ cd ../.. daniel@ubuntu:~/training$ cd icoFoam daniel@ubuntu:~/training/icoFoam$ blockMesh blockMesh: command not found daniel@ubuntu:~/training/icoFoam$ cd ../.. daniel@ubuntu:~$ cd training daniel@ubuntu:~/training$ blockMesh blockMesh: command not found daniel@ubuntu:~/training$ cd ../.. daniel@ubuntu:/home$ blockMesh blockMesh: command not found daniel@ubuntu:/home$
Most likely an error encountered during installation and related to .bashrc file. Here's a link that may or may not help. I might recommend a more recent version of OpenFoam forums.gentoo.org/viewtopic-t-1036822-start-0.html You can also post on cfdonline . . . a very helpful forum since many questions one has when just starting are answered.
Got the same problem. Did you solve it?
At 5:25 , you mention that all the coefficients are the same. Could you explain that ?
Dear Mar, in what bibliography can I find the original equations of k and epsilon? , thank you in advance.
thank you for this insightful video, but what if I have 500000 cells in the inlet, do you think this method is convenient?
write a script to generate the entire file for you so you don't have to do all of the copy pasting
Also you can be helped from the "sed" command if you use LINUX. All values that i want are in the patch named e.g. "inlet" and the next patch in my list (the order is in polymesh/boundary) is "wall2", so i can just generate a smaller file "fileCoord" via "sed -n '/inlet/,/wall2/p' ccz > fileCoord"