How to initialize non-uniform fields in OpenFOAM

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

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

  • @areenraj8669
    @areenraj8669 11 месяцев назад

    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?

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

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

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

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

    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.

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

  • @DrGuo-lg6bj
    @DrGuo-lg6bj 4 года назад +1

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

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

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

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

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

    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"?

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

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

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

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