Using non-uniform inlet profiles in openFOAM

Поделиться
HTML-код
  • Опубликовано: 19 янв 2025

Комментарии • 28

  • @mahmoudabbaszadeh469
    @mahmoudabbaszadeh469 2 года назад +6

    In new versions of OF, you need to use this command instead: postProcess -func writeCellCentres

  • @ieames1
    @ieames1 6 лет назад +3

    Brilliant example and very well explained

    • @CrocodileMundi
      @CrocodileMundi 5 лет назад +1

      I second this, this was a very helpful tutorial!

  • @FANDEFOLKLORE80
    @FANDEFOLKLORE80 7 лет назад +4

    Thank you for this great tutorial

  • @oskarzuranski4226
    @oskarzuranski4226 7 лет назад +5

    Good job!
    I wonder if there is a possibility to make it time dependent.

    • @CrocodileMundi
      @CrocodileMundi 5 лет назад +5

      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.

  • @aravindpalaparthi4629
    @aravindpalaparthi4629 2 года назад

    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?

  • @HoaiThanh-wm6ze
    @HoaiThanh-wm6ze 4 года назад

    How to get the P (pressure) or T (Temperature) if the simulation needs the non-uniform this parameters?

  • @cryoutloud660
    @cryoutloud660 4 года назад

    Hello, is it possible that you can please provide a link to download case directory so that we can work through the example

  • @brett03747
    @brett03747 5 лет назад

    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?

  • @ozgurbozkurt5945
    @ozgurbozkurt5945 5 лет назад

    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

  • @mdfaiazkhaled1347
    @mdfaiazkhaled1347 6 лет назад +1

    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.

    • @CrocodileMundi
      @CrocodileMundi 5 лет назад +2

      look up the timeVaryingMappedFixedValue boundary condition as I mentioned in another comment

    • @HoaiThanh-wm6ze
      @HoaiThanh-wm6ze 4 года назад

      Hi Md Faiaz Khaled do you have success with making it time-dependent?

  • @cryoutloud660
    @cryoutloud660 4 года назад

    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.

  • @CristinaHernandez-mn6te
    @CristinaHernandez-mn6te 6 лет назад +1

    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!

    • @CrocodileMundi
      @CrocodileMundi 5 лет назад

      Try looking up the codedFixedValue boundary condition. For example, the video ruclips.net/video/hfHqzB6YsVM/видео.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

  • @DiegoAndrade
    @DiegoAndrade Год назад

    Fantastic thank you

  • @piotrmecht2500
    @piotrmecht2500 5 лет назад

    My copy of openFOAM (v1906) doesn't have this writeCellCentres utility. Is there any functionality for coordinates extraction in new versions of OF?

    • @geronimo1007
      @geronimo1007 5 лет назад +5

      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

    • @haagibal
      @haagibal 3 года назад +1

      It should be: postProcess -func writeCellCentres

  • @geronimo1007
    @geronimo1007 5 лет назад

    List included to OpenFOAM at 26:42

  • @manishkumargupta1159
    @manishkumargupta1159 3 года назад

    When I execute the command writeCellCentres ,it is showing command not found. Can Anyone help me??

  • @yajingliu1039
    @yajingliu1039 2 года назад

    Thank a lot

  • @ahmed12op
    @ahmed12op 7 лет назад

    thank you for this insightful video, but what if I have 500000 cells in the inlet, do you think this method is convenient?

    • @CrocodileMundi
      @CrocodileMundi 5 лет назад

      write a script to generate the entire file for you so you don't have to do all of the copy pasting

    • @literaturaymas8299
      @literaturaymas8299 4 года назад

      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"