In new versions of OF, you need to use this command instead: postProcess -func writeCellCentres
@FANDEFOLKLORE807 жыл бұрын
Thank you for this great tutorial
@ieames16 жыл бұрын
Brilliant example and very well explained
@CrocodileMundi5 жыл бұрын
I second this, this was a very helpful tutorial!
@aravindpalaparthi46292 жыл бұрын
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?
@oskarzuranski42267 жыл бұрын
Good job! I wonder if there is a possibility to make it time dependent.
@CrocodileMundi5 жыл бұрын
Try searching online for the timeVaryingMappedFixedValue boundary condition. You'll have to generate a bunch of files describing the points where you want to specify data in addition to the data at those points for specific times during your simulation. All of these files are stored in the constant directory of your case. OpenFOAM will then interpolate in space over time to transition from one set of data to the next when you run your case.
@HoaiThanh-wm6ze4 жыл бұрын
How to get the P (pressure) or T (Temperature) if the simulation needs the non-uniform this parameters?
@cryoutloud6604 жыл бұрын
Hello, is it possible that you can please provide a link to download case directory so that we can work through the example
@ozgurbozkurt59455 жыл бұрын
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
@piotrmecht25005 жыл бұрын
My copy of openFOAM (v1906) doesn't have this writeCellCentres utility. Is there any functionality for coordinates extraction in new versions of OF?
@geronimo10075 жыл бұрын
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
@haagibal3 жыл бұрын
It should be: postProcess -func writeCellCentres
@brett037475 жыл бұрын
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?
@DiegoAndrade Жыл бұрын
Fantastic thank you
@CristinaHernandez-mn6te6 жыл бұрын
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!
@CrocodileMundi5 жыл бұрын
Try looking up the codedFixedValue boundary condition. For example, the video kzbin.info/www/bejne/nperoq14a76mjK8 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
@cryoutloud6604 жыл бұрын
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.
@mdfaiazkhaled13476 жыл бұрын
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.
@CrocodileMundi5 жыл бұрын
look up the timeVaryingMappedFixedValue boundary condition as I mentioned in another comment
@HoaiThanh-wm6ze4 жыл бұрын
Hi Md Faiaz Khaled do you have success with making it time-dependent?
@yajingliu10392 жыл бұрын
Thank a lot
@manishkumargupta11593 жыл бұрын
When I execute the command writeCellCentres ,it is showing command not found. Can Anyone help me??
@mahmoudabbaszadeh4692 жыл бұрын
use this command: postProcess -func writeCellCentres
@geronimo10075 жыл бұрын
List included to OpenFOAM at 26:42
@ahmed12op7 жыл бұрын
thank you for this insightful video, but what if I have 500000 cells in the inlet, do you think this method is convenient?
@CrocodileMundi5 жыл бұрын
write a script to generate the entire file for you so you don't have to do all of the copy pasting
@literaturaymas82994 жыл бұрын
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"