Using non-uniform inlet profiles in openFOAM

Поділитися
Вставка
  • Опубліковано 14 лис 2024

КОМЕНТАРІ • 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.

  • @cryoutloud660
    @cryoutloud660 3 роки тому

    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.

  • @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 3 роки тому

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

  • @DiegoAndrade
    @DiegoAndrade Рік тому

    Fantastic thank you

  • @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?

  • @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?

  • @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

  • @cryoutloud660
    @cryoutloud660 3 роки тому

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

  • @yajingliu1039
    @yajingliu1039 2 роки тому

    Thank a lot

  • @HoaiThanh-wm6ze
    @HoaiThanh-wm6ze 3 роки тому

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

  • @geronimo1007
    @geronimo1007 5 років тому

    List included to OpenFOAM at 26:42

  • @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 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

  • @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

  • @manishkumargupta1159
    @manishkumargupta1159 3 роки тому

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

  • @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"