How to initialize non-uniform fields in OpenFOAM

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

КОМЕНТАРІ • 33

  • @areenraj8669
    @areenraj8669 9 місяців тому

    life saver, simply a life saver

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

    bravo and thank you !

  • @TheNick792
    @TheNick792 4 роки тому +1

    Hello! Could you help me to find some information of using interpolationTable/interpolation2DTable. It's wonderfull if you will share examples or experiance. Where should I start my study?

  • @itostl9671
    @itostl9671 4 роки тому +3

    Hello József Nagy! I quite appreciate your upload because I learned a lot from your tutorials. But as a non-native english speaker, the substitle is a very important auxiliary tool to help me understand your operation. So may you add substitle in your CFD intermediate videos?

  • @atulprakash332
    @atulprakash332 4 роки тому

    Thank you very much for sharing this video, it is much helpful. I was curious if I can use setExprFields with OpenfOAM 5.X Or OF7. I trued using swak4foam but couldn't get it installed properly.

  • @legolas7843
    @legolas7843 4 роки тому

    Great video, I haven't heard of this new utility until now. 2 questions:
    * Are there any advantages/disadvantages of using this utility over swak4Foam and funkySetFields utility?
    * Do you know if these utilities can be also compiled with OpenFOAM Foundation branch?
    Thanks

    • @HolzmannCFD
      @HolzmannCFD 4 роки тому

      Hi Bulut, out of the box I would say: Advantage is that you don´t need swak4Foam as it is an OpenFOAM feature. As I am commonly using the Foundation version, I am not aware of such an option here. And sure, you can compile the addition to the foundations version but if it works out of the box I am not sure. I would expect to get problems during compiling even though, you first need to select where this feature is included.
      Tobi

    • @francootaola9172
      @francootaola9172 4 роки тому

      a shame that this has not been added in OFv8... I was hopping for it u.U

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  4 роки тому

      @@HolzmannCFD I agree with Tobi

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

      @@HolzmannCFD in the setfield ca we write the codestream to create a non-uniform value? Because I am trying to using codeStream in the setfield but it is not working.

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

    Hi, How to set up parabolic velocity field inside 2D channel flow for two phase fluids , I am using VOF and interFoam?

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

    Hello. Thanks a lot. I would like to define a box, instead of a circle. Could you please let me know how it is possible? I am looking for the syntaxes of it but I could not find it.

  • @Victor-sm1bc
    @Victor-sm1bc 4 роки тому

    Hi József, thank you for the video! I was wondering if it could be possible to use multiple conditions and expressions with this utility. I want to define two different densities in two different spheres. I don't know if there's a way to "sum" those conditions.
    And also if is there any way to involve field variables in the expressions

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  4 роки тому +1

      Possibly, but I am not sure. Let me know if you found a way.

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

    hello Jozsef Nagy I have installed Opefoam Foundation version do you how to install setEprisetfields on that. Or could you give me your advance when I use setfield for creating non-uniform. Thank you

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

    Thank you Jozef, in a multi-phase simulation, I need to define a non zero initial velocity for one of the phases. Is it possible to do it with "setExprFieldsDict"?

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

    Hi. I am wondering how to define non-uniform velocity vectors as an inlet BC? Any suggestions?

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

      On wiki.openofma.com/Tutorials there is a tutorial on how to code a parabolic inlet velocity BC.

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

    Hi József, do you know a quick way to set fields to a region, within a certain distance offset from a specific boundary patch?

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

      No, not from a boundary. You can define sets (faceSets) and you can use those in setFields. Maybe you can use this approach.

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

      @@OpenFOAMJozsefNagy Thanks a lot. Do you mind explaborating more on that?

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

      @@engineeringarts4509 Check out the overset tutorials. There the overset mesh and the background mesh are separated using setFields. In setFieldsdict you don'T define your regions via geometric bojects but rather sets. It is worth a try.

  • @DrGuo-lg6bj
    @DrGuo-lg6bj 4 роки тому +1

    This feature is only available for the ESI version, the foundation version does not have this utility, right ?

  • @edoardogamba6141
    @edoardogamba6141 4 роки тому

    Is there a way to use this to cut on mesh size?
    Let's say i have a car to do external aerodynamics on, but i want to test only changes done to the rear wing which is of course subject to the part of the car in front of it, can I simulate once the whole car and then take a cut plane in front of the rear wing and set it as inlet with the velocity from the previous case? So that i don't have to mesh all the chassis, front wing, front wheels etc. but i still have their effect in the simulation.
    Sorry if it's not clear

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

    I am getting an error: "zsh: command not found: setExprFields". What can I do now? How do I get this running?

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

    hello, do you know how I can add a non uniform source term which depends on position?