Open Foam Tutorial: Simulation with 3D Geometry (.stl)

Поделиться
HTML-код

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

  • @franckbismark1553
    @franckbismark1553 4 года назад +5

    Excellent ! Excellent ! Very impressive, clear and complete tutorial to introduce to snappyHexMesh. I searched a hole day for a good one without success. Thank you and I hope you will continue to help OpenFoam community.

  • @philippz.2364
    @philippz.2364 4 года назад +6

    Wow, so structured and well explained. Thank you for sharing your knowledge!

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

    Thank you! That is one of the best and simplest tutorials ever in YB. This one is really helpful to solve some simple geometry cases, thanks again!

  • @whosthisguythinkheis
    @whosthisguythinkheis 4 года назад +1

    probably the easiest OpenFOAM tutorial to follow on YT, Thankyou so much!

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

    Perfect length, perfect depth in a well structured form. Thank you Lily for the best 3D openFOAM beginner tutorial so far.

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

    I think, we need more tutorials like this

  • @igor_shepelev
    @igor_shepelev Год назад +6

    Thanks a lot! Just a couple of issues in preGeo folder files. 1) constant\triSurface\cylinder.STL > cylinder.stl 2) 0\omega - add closing bracket at line 49.

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

    best opemfoam vid i have seen so far

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

    thank you very much , this is the best video about snappyhexmesh of openFOAM, looking forward more videos about it .thanks again!

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

    Very informative and thanks for all the ques posted and received answers

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

    Great Video! Thanks!

  • @datdhcmrlchtdj
    @datdhcmrlchtdj 4 года назад +1

    Thanks for sharing. Great tutorial.

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

    Nice - big thanks, nice template for further exploring OF.

  • @MrRajabMrwass
    @MrRajabMrwass 10 месяцев назад

    The surfaceFeatureExtract utility has been superseded and replaced by the more
    general surfaceFeatures utility.

  • @weomi247
    @weomi247 4 года назад +1

    Thank you very much, it works perfectly

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

    I am having problems when trying to use SurfaceFeatureExtract. Is anyone else having the same problem?

  • @ThomasLaverne
    @ThomasLaverne 4 года назад +1

    Very useful video! Thank you very much for sharing (openfoam is a mess at the begining!)

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

    Hello, I am getting this error. Could you please help me.
    Reading surfaceFeatureExtractDict
    --> FOAM FATAL ERROR: (openfoam-2012)
    No surfaces specified/found for entry: cylinder.stl
    From int main(int, char**)
    in file surfaceFeatureExtract.C at line 305.
    I'm stuck here :( . I even checked whether the cylinder file is in ascii format or binary. I saved it again in ascii format, but it still gives me the same error. Could you please let me know what to do.

  • @ash.d.writes
    @ash.d.writes Год назад

    From static bool Foam::entry::New(Foam::dictionary&, Foam::Istream&, Foam::entry::inputMode, int)
    in file db/dictionary/entry/entryIO.C at line 166.
    I got this error

  • @tommanuel2137
    @tommanuel2137 4 года назад +1

    wow, wonderful!! thanks

  • @kazufu5315
    @kazufu5315 4 года назад +4

    Does anyone have a problem with 0/omega?
    I got these lines: "Unexpected EOF while reading dictionary entry"

    • @kazufu5315
      @kazufu5315 4 года назад +3

      I got it. "}" was missing in my 0/omega. thank you.

    • @philippz.2364
      @philippz.2364 4 года назад

      ​@@kazufu5315 Thank you for telling us. "}" was missing in my 0/omega, too. I whould have never find out without you ;)

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

      @@kazufu5315 Thank you. I had the same error and ' } ' was missing in mine too. I searched a lot and didnt get an answer anywhere. Thanks a lot.

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

    Thank you Lily!

  • @waranchitruengsrisang1077
    @waranchitruengsrisang1077 4 года назад +1

    Thank you very very very very very much :D

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

    i followed her instruction but the blockmesh doesn't run on the PC, why is that?

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

    Thanks you its very good one

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

    Thank you very much for presentation. It's very practical/ useful.
    Keep making research.
    stop splashing/eating during presentation!!! it's enrages! >/

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

    this is very helpful thanks

  • @elilawrence7166
    @elilawrence7166 4 года назад +1

    Hello, I'm trying to run the surfaceFeatureExtract, but a fatal error occurs saying that the cylinder.stl cannot be found. I have double checked it is in ASCII and haven't changed the name at all. Wondering if anyone else is seeing this.

    • @dogsled101
      @dogsled101  4 года назад +2

      From below:
      Sumit Zanje
      10 months ago
      @Nick Along with the above-mentioned suggestion, rename the "cylinder.STL" the to "cylinder.stl". Reason- surfaceFeatureExtractDict has name cylinder.stl and not cylinder.STL so it's not getting that file.

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

      @@dogsled101 Thanks!

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

    if i have different dimension of geometry , can i have to change it on 0 folder?

  • @hackernik6572
    @hackernik6572 6 месяцев назад

    But how do you create the blockMeshDict file? I just don't understand that part

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

    Thank you very much!!!

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

    Thank you for the tutorial! I've a question about running surfacemeshextract. When i try to run this code, i got an error says: surfaceFeatureExtract
    surfaceFeatureExtract: symbol lookup error: surfaceFeatureExtract: undefined symbol: _ZN4Foam9UOPstream5writeERKNS_5tokenE
    I've been searching for a solution for the problem but i've got nothing, do you have any idea what this is about?

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

      @Killian Whyte Sir, I did as you said. I got:
      keyword surfaces is undefined in dictionary
      file: C:/Users/admin/Desktop/motorBike/system/surfaceFeaturesDict/motorBike.obj from line 20 to line 41.
      From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
      in file db/dictionary/dictionary.C at line 799.

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

    Awesome, Very helpful

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

    thank you, the cylinder works fine! I've tried to change the cylinder with my stl but I got some problems: my stl is a naca64 split in half simetrically but the simplefoam seems to compute the pressure only in the left half, so when I compute lateral thrust and drag with Paraview I get unconsistent results. Why this happens? Can you help me?

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

    how can I give material properties to the imported geometry

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

    How can I create other 3D geometry like square and then running this same simulation concept. can anyone help me out?

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

    you are awesome thanks a lot

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

    at 6:54
    How did you get the quick command to show up in after you right clikced? :)

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

    Please create more of these videos.

  • @MrRajabMrwass
    @MrRajabMrwass 10 месяцев назад

    surfaceFeatureExtract does not work anymore

  • @eastonpal2487
    @eastonpal2487 4 года назад +1

    Excellent tutorial! It seems like the vertices' coordinates in blockMeshDict have the z-coordinate in the opposite direction from the diagram you drew @2:37. Why is that?

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

    Hi I need help please, i want to simulate a vertical axis wind turbine that uses Magnus effect, basically rotating cylinders, how hard it is to adapt this tutorial to test the VAWT in openfoam.
    All I have so far is an assembly of the top section without the generator.
    Looking forward to your advice.
    Tim

  • @44bgood
    @44bgood 3 года назад

    Great explanation! But that copy-paste-rename-delete workflow needs to be automated or something.

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

    hello, can someone tell me how/what is the minGW function or uselfuness of it? i have installed openfoam with linux in windows, like openfoam web page says, and I CAN READ FROM THE MINgw web page that it is a c++ compiler, so i can imagine that is to use OF without the trouble of instaling linux? is that so? I would appreciate if someone can explain me...

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

    Hi Lily,
    Thanks for the great tutorial! This helps a lot with figuring out how to set up my own case. One question though, opening paraview I see the mesh block but no cylinder. Looking through the other comments having this issue, I've changed to wireframe, unchecked skip 0, tried adding -overwrite to snappyHexMesh, but I'm still having no luck. Any ideas?
    Thanks!
    Edit: Figured it out, if anyone is having these issues make sure when you export your .stl that it exports in meters (same page as where you change to ASCII).

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

    I created all my geometries in Solidworks, and all of them are centered at the origin, but in paraview they do not align .

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

    can you explain how you set up the terminal to automatically start running openFoam?

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

    Hello
    Thank you for the video. There is valuable information but i have an issue into my terminal when i run surfaceFeatureExtract into preGeo. This says: bash: surfaceFeatureExtract: command not found.
    why is this error?
    Thank you for the information that you can give me!

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

    allahına kurban Lily bacım

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

    Hi, I come to the point of surfaceFeaturExtract and I receive the following message in the terminal:
    --> FOAM FATAL ERROR: (openfoam-2012) No surfaces specified/found for entry: cylinder.stl From int main(int, char**) in file surfaceFeatureExtract.C at line 305. FOAM exiting
    Any idea what happens and how I could run it?

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

      rename cylinder.STL to cylinder.stl, fixed the problem for me

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

    Thank you for this video! Although if I want to run a sonicFoam case on a 3D geometry, how do I perform that?

  • @007aha1
    @007aha1 4 года назад

    really gut thank you !!!!!!!!!!!!!!!!!!!!!!!!!!!

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

    can i perform this tutorial with other geometry?? I am trying but its not excecuting surfaceFeatureExtract step

  • @007aha1
    @007aha1 4 года назад

    i dont get why the object is in the middle of the mesh

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

    THANKS A LOT :D

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

    Hi, may I know how did you created the PreGeo folder? I am creating a 3d geometry of a square. However, I couldn't do the simulation in OpenFoam. Can you guide and teach me on that? Really need your help

  • @tommanuel2137
    @tommanuel2137 4 года назад +1

    After running blockMesh, surfaceFeatureExtract, and snappyHexMesh (with no errors) I run paraFoam but don't see the cylinder. Any advice?

    • @tommanuel2137
      @tommanuel2137 4 года назад +1

      Got it, have to check skip zero time under properties pane

    • @TheAurora1993
      @TheAurora1993 4 года назад +1

      You can click PLAY BUTTON also!

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

    does any one know how to import CFD result into Unity

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

    Have I put both files in triSurface? Could I just put the .stl file?

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

    this seems very complicated
    does it do nice graphs like openvsp vspaero does?
    i really like that
    but only analyses native geometry, nothing imported

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

    Great video, but I'm getting this error whilst trying to run simpleFoam:
    --> FOAM FATAL IO ERROR:
    Unable to set reference cell for field p
    Please supply either pRefCell or pRefPoint
    file: /home/pascal/OpenFOAM/pascal-7/Worked_Tutorials/Cylinder/postRun/system/fvSolution.SIMPLE from line 39 to line 46.
    From function bool Foam::setRefCell(const volScalarField&, const volScalarField&, const Foam::dictionary&, Foam::label&, Foam::scalar&, bool)
    in file cfdTools/general/findRefCell/findRefCell.C at line 102.
    If anybody has any clues that might help, please share them.
    Thank you :)

  • @yuqiwu6023
    @yuqiwu6023 5 лет назад +1

    Thanks for your share. But, there is an issue when I executed "surfaceFeatureExtract" command. The error is shown below.
    Reading surfaceFeatureExtractDict
    Surface : "cylinder.stl"
    Feature line extraction is only valid on closed manifold surfaces.
    --> FOAM FATAL ERROR:
    Cannnot read "/home/ywu9/OpenFOAM/ywu9-5.x/run/preGeo/preGeo/constant/triSurface/cylinder.stl"
    From function bool Foam::triSurface::read(const Foam::fileName&, const Foam::word&, bool)
    in file triSurface/triSurface.C at line 360.
    FOAM exiting

    • @mohammaderaky2652
      @mohammaderaky2652 5 лет назад

      same here I think .stl file is corrupted, you have to generate a new one

    • @sumitzanje9660
      @sumitzanje9660 5 лет назад +2

      In the cylinder.STL file change the last line from "endsolid" to "endsolid cylinder".
      It will work.

    • @mohammaderaky2652
      @mohammaderaky2652 5 лет назад

      @@sumitzanje9660 I tried this it doesn't work, you could upload the stl file

    • @sumitzanje9660
      @sumitzanje9660 5 лет назад +6

      @@mohammaderaky2652 Along with the above-mentioned suggestion, rename the "cylinder.STL" the to "cylinder.stl". Reason- surfaceFeatureExtractDict has name cylinder.stl and not cylinder.STL so it's not getting that file.
      Try this, it will work.
      Thanks

    • @eastonpal2487
      @eastonpal2487 4 года назад +1

      @@sumitzanje9660 This fixed it!

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

    I have a question, can someone please help me out?
    I want to run the solver multiPhase/interFoam/RAS/floatingObject but by default it runs with a cuboid body, I have a cylindrical body in .stl format and I want to use it as a floating object.
    How can I do this? Thanks to this video, I have been able to insert the cylindrical mesh in blockMesh by using snappyHexMesh, but how can I use the cylinder as a floating object? Thanks if someone can help me out, I am doing a univerisity homework :)

    • @dheaputri4195
      @dheaputri4195 9 месяцев назад

      excuse me, are you already finish about your work. because now I also have a problem similar to the one you are facing

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

    Thank you! But when I ran the 'surfaceFeatureExtract' command, it appeared error 'surfaceFeatureExtract: symbol lookup error: /usr/lib/libedgeMesh.so: undefined symbol: _ZNK4Foam11regIOobject11writeObjectENS_8IOstream12streamFormatENS1_13versionNumberENS1_15compressionTypeE'. Does anyone know why? I'm new to the openFoam and it's better that could explain in detail. Thanks in advance!

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

      I was having a similar problem, remember to save the stl file as ASCII. You can open the Solidworks part in Onshape and export it as stl if you don't have access to SW.

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

      Bruno Tojo Thanks, Bruno! I think I found the solution. The problem is “surfaceFeatureExtract” might be a old commander for openFOAM 8. I chose “surfaceFeatures” instead. It works fine now.

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

      @@vicgodlee 哈喽,如果改用surfaceFeatures命令的话,那请问你是怎么配置surfaceFeaturesDict文件的呢?

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

      @@chuanzhong3977 你好,直接在‘Surface’里面添加你的stl文件就可以,需要注意的是,你的模型里面不可以有‘洞’,也即是需要是个实体,你可以先用圆柱试一试。

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

      @@vicgodlee 你好,我也在学openfoam,可以加个好友共同交流吗?1663586841@qq.com

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

    Hi Lily,
    After simpleFoam I got such error:
    No MRF models present
    No finite volume options present
    Starting time loop
    streamLine streamlines:
    --> FOAM FATAL IO ERROR:
    keyword direction is undefined in dictionary "/home/marcin/OpenFOAM/marcin-7/run/PreGeo/system/controlDict.functions.streamlines"
    file: /home/marcin/OpenFOAM/marcin-7/run/PreGeo/system/controlDict.functions.streamlines from line 13 to line 20.
    From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
    in file db/dictionary/dictionary.C at line 570.
    Do you know how to solve it?
    Thanks in advance.

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

      Hi Marcin,
      I’ve fixed this error, maybe caused by the different version.
      I comment out ”#includeFunc streamlines“ in system/controlDict. (Openfoam v6)

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

    Hi! Nice video! When running simpleFoam I have a FATAL ERROR with this:
    --> FOAM FATAL IO ERROR:
    keyword direction is undefined in dictionary "/home/Desktop/cylinder/postrun/system/controlDict.functions.streamlines"
    I can't find that dictionary, can anybody help me?

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

      Run it with openfoam v5 instead of v7.

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

    I imported my own geometry, but after excuted parafoam, I can't see it in paraview(Only a mesh cube I could see.) Could someone help me? Thanks

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

      I assume you ran blockMesh which is why you can see it on paraview. But did you also run snappyHexMesh before paraview too? If you did and that's not the issue, then it could be that you are viewing the block as a surface and your geometry is inside so you can't see it. Try changing the surface view to wireframe as in the video. Hope this helps.

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

      @@kingl5519 In fact I had ran snappyHexMesh and turn the view to wireframe. I'm also sure that the cube point coordinates had adjusted to cover my geometry completely. That's confusing.

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

      Ok, finally ,I find the solution, I should add -overwrite option to snappyHexMesh.

  • @elliott8931
    @elliott8931 5 лет назад

    My university uses Autodesk Inventor instead of SolidWorks, and Inventor saves its files with the extension .ipt instead of .prt. I have also not been able to get it to work using these .ipt files. Is it absolutely necessary to have a .prt file? Is there a way to change what file the program is looking for? Inventor also won't export files to .prt

    • @BobBeatski71
      @BobBeatski71 4 года назад +1

      I use Rhino for my models and export my data as STL. STL is what you want to be using.

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

    Hello and thank you for this tutorial. I have an error message coming up, while trying to execute surfaceFeatureExtract which is looking like this:
    Create time
    Note: Feature line extraction only valid on closed manifold surfaces
    Reading surfaceFeatureExtractDict
    --> FOAM FATAL ERROR:
    No surfaces specified/found for entry: cylinder.STL
    From function int main(int, char**)
    in file surfaceFeatureExtract.C at line 307.
    FOAM exiting
    Do you have any idea how to solve this issue, please?

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

      Hi, have you found any answer to this question? I have the same error message.

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

      @@ungedrageset I have. The reason this command did not worked in my case was that i used OpenFOAM from openfoam.org at this time. And this variant did not had this command in its command folders. After downloading from openfoam.com, it worked. I know it sounds stupid, but in my case this was the solution.

    • @user-fj1cn7pg7l
      @user-fj1cn7pg7l 8 месяцев назад

      Make sure the stl file being referenced is renamed "file.stl" rather than how it saves as "file.STL".

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

    really, it do not working with me. I have tryed many times and it should be some magic to work perectly in this video. GIVE UP

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

    ok