[Openfoam Tutorial 4] Simulating the flow around a Motorbike with SnappyHexMesh

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

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

  • @sarkkun
    @sarkkun 3 года назад +3

    I'm glad to see you here. I'm Seokkeun, who I used to work with you at MidasIT. Until recently, I've been doing research with OpenFOAM too... 😂 It's so cool that you're still doing RUclips activities like this!

    • @Feaforall
      @Feaforall  3 года назад +2

      석근씨!! 오랜만이예요 :-)
      한국에 다시 갈대는 만나죠

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

      @@Feaforall 보고싶네요! 한국오면 꼭 연락줘요!

  • @francootaola9172
    @francootaola9172 3 года назад +5

    great to see your videos :). always happy when I see a new one! some things that could be helpful to mention:
    surfaceFeatureConvert ./constant/triSurface/model.eMesh ./constant/triSurface/features_model.obj
    will create an .obj with the features detected by surfaceFeature to be visualized in paraview.
    also they can be visualized by another paraview filter using feature edges (the angle in this case will be 180 - the angle in surfaceFeatureDict)

  • @jonathanlim0209
    @jonathanlim0209 2 года назад +1

    Thanks so much for your videos... Openfoam was such an intimidating software to learn at first, but your videos made it pretty fun to learn actually :D

  • @ovalwingnut
    @ovalwingnut Год назад +1

    Thank you for the video (lots of time & effort on your part). That being said... that program is brutal. Just saying. Cheers!

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

    Thank you for your video. It is really helpful. I hope that you will have a video to talk about how to create a mesh in the imported geometry rather than in the surrounding box, and how to name and defined some surface groups in the imported geometry. Thanks.

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

    Thank you so much for the awesome tutorials! Please make more videos for the begineers like me.

  • @nguyenkhanh2101
    @nguyenkhanh2101 3 месяца назад

    Thanks so much for the explanations.

  • @K.G.G.Madhusha
    @K.G.G.Madhusha 5 месяцев назад

    Very useful. Thankyou so much

  • @mr.stemedutv5514
    @mr.stemedutv5514 2 года назад

    Thank you so much for this tutorial video!!

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

    Great...
    This is the kind of tutorial I'm looking for....
    Thanks...

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

    Great tutorial Cyprien. Keep going

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

    Very good job. Thank you so much

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

    Great video! Very helpful!

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

    Nice job. Thank you.

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

    Great video, thanks!

  • @supportguru8759
    @supportguru8759 5 месяцев назад

    As a beginner I really enjoyed this tutorial. Later I decided to use this case to see how close can I get the to the experimental data if I test the drag coefficient of a 1M diameter flat disc. For the Reynolds numbers applicable to this case, the flat disc Cd should be around 1.17. No matter what I did, I was unable to build a case that converged to anything lower than 1.2. In my mind this is a pretty big error. Do you think something better can be achieved using OpenFoam and if yes, it would be amazing to see if you can publish a tutorial demonstrating how close the OpenFoam can get to the "real world" when it comes to measuring drag. Big thanks!

  • @guzzler6584
    @guzzler6584 Год назад +3

    i have surfaceFeatureExtract not surfaceFeatures, and it is showing FOAM FATAL ERROR: (openfoam-2112 patch=220610)
    No surfaces specified/found for entry: motorBike.obj
    From int main(int, char**)
    in file surfaceFeatureExtract.C at line 308.

    • @SeaGoRetta
      @SeaGoRetta Год назад +3

      Cause you have to name folder in which geometry file located as "triSurface", not "geometry".

    • @HappyhipposMC
      @HappyhipposMC Год назад +1

      @@SeaGoRetta I've been trying to figure this out for the last week. Thank you so much.

    • @nemeer
      @nemeer 3 месяца назад +2

      @@SeaGoRetta Thank you!

    • @larissamacedo9389
      @larissamacedo9389 2 месяца назад

      @seaGoRetta had the same issue! thanks for sharing the solution

    • @benyhalfina5733
      @benyhalfina5733 2 месяца назад

      @@SeaGoRetta same issue here. thank you for sharing this

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

    Great sir.l like your tutorial from Pak

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

    How wonderful! Tks

  • @W0rtkarg
    @W0rtkarg 2 года назад +3

    is there any reason why the polymesh is copied to the 0 folder? Usually it is located in constant

  • @mathanrajk6781
    @mathanrajk6781 Месяц назад

    Thanks for this video. I have one doubt which how to change location of refinement region(box) using "locationInMesh" command?

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

    Thank you Very much

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

    Thank you! 🙂👍

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

    Awesome!

  • @yashvijay5480
    @yashvijay5480 2 года назад +1

    why my mesh is not generated according to the motorbike if i have followed all the steps

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

      Maybe you have a different openfoam version… seems like things change fast in openfoam and when the code change, some of the steps in this video might be different

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

    Thank you, great tutorials. Can you make cfd tutorials using butterfly plug-in on grasshopper which use the openfoam?

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

    Thanks

  • @bogdantoma1795
    @bogdantoma1795 Месяц назад

    My geometry folder from constant is missing

  • @pedroamaral5569
    @pedroamaral5569 2 года назад +2

    When I execute the command simpleFoam, it runs until the iteration 500 but the forceCoeffs didnt change so i get no results. What should I do?
    smoothSolver: Solving for Ux, Initial residual = 0.547873, Final residual = 0.307769, No Iterations 1000
    smoothSolver: Solving for Uy, Initial residual = 0.457213, Final residual = 0.00543555, No Iterations 1
    smoothSolver: Solving for Uz, Initial residual = 0.447267, Final residual = 0.00434911, No Iterations 1
    GAMG: Solving for p, Initial residual = 0.0575077, Final residual = 0.000362013, No Iterations 2
    time step continuity errors : sum local = 1.57153e-15, global = 1.59461e-17, cumulative = -6.08816e-10
    smoothSolver: Solving for omega, Initial residual = 5.53772e-09, Final residual = 5.53772e-09, No Iterations 0
    smoothSolver: Solving for k, Initial residual = 7.51244e-09, Final residual = 7.51244e-09, No Iterations 0
    ExecutionTime = 12.07 s ClockTime = 13 s
    streamLine streamLines write:
    seeded 20 particles
    Tracks:20
    Total samples:1720
    Writing data to "/home/openCFD/workdir/Pedro/motorBike/postProcessing/sets/streamLines/500"
    nearWallFields near write:
    Sampling fields to 500
    Writing sampled fields to 500
    wallBoundedStreamLine wallBoundedStreamLines write:
    wallBoundedStreamLine : seeded 0 particles.
    Tracks:0
    Total samples:0
    forceCoeffs forceCoeffs1 execute:
    Coefficients
    Cd : 0 (pressure: 0 viscous: 0)
    Cs : 0 (pressure: 0 viscous: 0)
    Cl : 0 (pressure: 0 viscous: 0)
    CmRoll : 0 (pressure: 0 viscous: 0)
    CmPitch : 0 (pressure: 0 viscous: 0)
    CmYaw : 0 (pressure: 0 viscous: 0)
    Cd(f) : 0
    Cd(r) : 0
    Cs(f) : 0
    Cs(r) : 0
    Cl(f) : 0
    Cl(r) : 0
    ensightWrite ensightWrite write: ( k omega p U )
    End

    • @user-sf5yr5np6g
      @user-sf5yr5np6g Год назад +3

      Hi Pedro, I have same problem with this case. I fixed that with snappyHexMesh -overwrite instead of snappyHexMesh. I donot know why but anyway it's working now. Hope it could be helpful for you.

    • @user-fo9ml9ze8d
      @user-fo9ml9ze8d Год назад

      @@user-sf5yr5np6g I had the same problem and it worked for me. Thank you!

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

      @@user-sf5yr5np6g Thanks mate, for some reason, it works.

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

    Hi, can you please make a vidéo about bouandaey conditions mixed i don't understand them very Well

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

    Thank you a lot, very good and details tutorial. By the way, I wonder if you can use other mesh (like cfMesh) for this usecase?

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

    How to control boundary faces names for new model ?? As it is not defined by you in Salome

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

    I'm using Openfoam 9. While you get these error messages upon loading the third step (16:53), my ParaView just completely crashes.
    Cannot find patchField entry for motorBike_frt-fairing:001%1
    motorBike/3/p/boundaryField from line 11 to line 16.
    How can I get my ParaView to just display these errors like yours, instead of crashing and exiting?

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

    Hi that's helpful to me
    i need help for creating a good mesh for my simulation(i'm working on simulation flowing in fractures in reservoir)
    in my project i want to soft the layer mesh in snappyHexMesh What can i do? i can send my stl or all the Dict
    Thank you so much

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

    Hi @Cyprien Rusu , Great Video. Thanks.
    I have two comments / questions:
    * I would appreciate more details for snappyHexMesh, which seems to work fine wut tutorials, but gives issues for more complex cases.
    * where did you get the new verticies in Salome so quickly for the new case (t~28'23") or did you just prepare this file somewhere else??

  • @jacks.554
    @jacks.554 Год назад

    Dear Cyprien, how did you get the new block´s points coordinates? You just pasted those but I must have missed you copying them (28:15) .... Thank you for your reply!

  • @user-mz8om8zg4z
    @user-mz8om8zg4z Год назад

    Hello, instead of terminating the simulation at end time (stop at - end time) could we use another criterion so the simulation automatically stop when the steady state is achieved?

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

    Shouldn’t we change even faces in the blockMesh?

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

    i am getting cl cd zero
    what is the solution

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

    what is the density?

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

    why does OpenFoam need these files moving to run directory? is it so hard to read them from where they are?
    thank you for the tutorial btw

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

      No it doesn't you can run of from whatever you want. The run folder is more for help people organized but you can run a case in any location.

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

      may be because you don't wanna change your original files, so you make a copy

  • @GabrielSilva-wf2jt
    @GabrielSilva-wf2jt 2 года назад

    Hello! How did you extract the motorbike zip? I'm having some trouble doing so, it says I do not have the right permissions. Could someone help me out? Thx in advance

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

      If you don’t have the permission, you can take it with “chmod +x nameoffile”. You might need sudo and the admin password.

    • @GabrielSilva-wf2jt
      @GabrielSilva-wf2jt 2 года назад

      @@Feaforall Thank you! meanwhile I used root perms, chmod did not work, unfortunately

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

    Please make a tutorial on how to install mpi feature in Ubuntu platform

  • @SlayerMotors
    @SlayerMotors 7 месяцев назад

    This is why Ansys is better. It's just faster and easier to use. This is redundant.

    • @simpilot001
      @simpilot001 7 месяцев назад +1

      It’s crazy cause I don’t have money

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

    Hello,
    Thank you for showing us to compile from sources. But there is a problem. When i tried to visualize solutions in paraview and i hit the run button, paraview crashes and i cannot see anything. This is the failure message i got.
    --> FOAM FATAL IO ERROR:
    Cannot find patchField entry for motorBike_frt-fairing:001%1
    file: /home/kayahan/OpenFOAM/kayahan-dev/run/motorBike/3/p/boundaryField from line 11 to line 16.
    From function void Foam::GeometricField::Boundary::readField(const Foam::DimensionedField&, const Foam::dictionary&) [with Type = double; PatchField = Foam::fvPatchField; GeoMesh = Foam::volMesh]
    in file /home/kayahan/OpenFoam/OpenFOAM-dev/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 184.
    FOAM exiting

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

    ExecutionTime = 4525.55 s ClockTime = 4529 s
    forceCoeffs forceCoeffs1 write:
    Cm = 0.154987
    Cd = 0.411525
    Cl = 0.0747083
    Cl(f) = 0.192341
    Cl(r) = -0.117632
    End
    $ paraFoam&
    --> FOAM Warning :
    From function Foam::labelHashSet Foam::polyBoundaryMesh::patchSet(const Foam::UList&, bool, bool) const
    in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 804
    Cannot find any patch or group names matching motorBike_frt-fairing:001%1
    After the computation is completed, when i try to run the timestep in parafoam, i get a crash of parafoam and this error message in terminal. What could be wrong?

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

      I have the same error. Although i resetted my ubuntu and set up openfoam and packages again it didn't fix anything. If there's somebody who had it happened before, please help me :(

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

      I think you need to use snappyHexMesh -overwrite instead of just snappyHexMesh, I am on openfoam 9 and it seems to be working

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

      i also have same error 😓

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

      it can be solved if your create a dummy foam file e.g. nano motor.foam
      than you run this dummy foam file with paraview and not with parafoam e.g. paraview motor.foam &

  • @user-nb6uk4fs6t
    @user-nb6uk4fs6t Год назад

    Hello I have some error
    --> FOAM FATAL ERROR:
    bad size -2147483647
    From function Foam::List::List(Foam::label, const T&) [with T = Foam::List; Foam::label = int]
    in file /home/ubuntu/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/List.C at line 61.
    FOAM aborting
    #0 Foam::error::printStack(Foam::Ostream&) at ??:?
    #1 Foam::error::abort() at ??:?
    #2 Foam::List::List(int, Foam::List const&) at ??:?
    #3 Foam::functionObjects::streamlines::write() at ??:?
    #4 Foam::functionObjects::timeControl::write() at ??:?
    #5 Foam::functionObjectList::start() at ??:?
    #6 Foam::Time::run() const at ??:?
    #7 Foam::Time::loop() at ??:?
    #8 ? in "/opt/openfoam10/platforms/linux64GccDPInt32Opt/bin/simpleFoam"
    #9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
    #10 ? in "/opt/openfoam10/platforms/linux64GccDPInt32Opt/bin/simpleFoam"
    Aborted (core dumped)
    Do you know what is mean??

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

      You are probably using a different version of openfoam. Try to install the same I am using. I think it was openfoam 8 or 9… check the first video of the series