Using non-uniform inlet profiles in openFOAM

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ม.ค. 2025

ความคิดเห็น • 28

  • @mahmoudabbaszadeh469
    @mahmoudabbaszadeh469 2 ปีที่แล้ว +6

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

  • @FANDEFOLKLORE80
    @FANDEFOLKLORE80 7 ปีที่แล้ว +4

    Thank you for this great tutorial

  • @ieames1
    @ieames1 6 ปีที่แล้ว +3

    Brilliant example and very well explained

    • @CrocodileMundi
      @CrocodileMundi 5 ปีที่แล้ว +1

      I second this, this was a very helpful 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.

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

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

  • @HoaiThanh-wm6ze
    @HoaiThanh-wm6ze 4 ปีที่แล้ว

    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

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

  • @DiegoAndrade
    @DiegoAndrade ปีที่แล้ว

    Fantastic thank you

  • @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 th-cam.com/video/hfHqzB6YsVM/w-d-xo.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??

    • @mahmoudabbaszadeh469
      @mahmoudabbaszadeh469 2 ปีที่แล้ว

      use this command: postProcess -func writeCellCentres

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