Understanding grid convergence - Part 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ธ.ค. 2024

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

  • @brandonjohnson8880
    @brandonjohnson8880 6 ปีที่แล้ว +41

    Note for people reading the comments:
    you can now create the paraView dummy file by running the command: paraFoam -touch
    in the case directory

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

      really helpful now I can see something in volume Fields (P U T)

  • @atertee
    @atertee 4 ปีที่แล้ว +11

    For anyone who had the issue with the "setFields" command and returned error such as "Foam Warning: (...) Field U not found", "Foam Warning: (...) Field T not found", "Foam Warning: (...) Field P not found", try changing the "0.orig" to "0" it fixed my issue.

    • @chintalapudirohitmanikanta4492
      @chintalapudirohitmanikanta4492 4 ปีที่แล้ว +1

      I've also faced the same problem.

    • @chintalapudirohitmanikanta4492
      @chintalapudirohitmanikanta4492 4 ปีที่แล้ว +1

      Now, I've tried to make a copy of 0.orig with name 0 and it works completely fine 😁. But I'm not sure if there will be any future problems because of this.

    • @jay22kar
      @jay22kar 4 ปีที่แล้ว

      Made a copy with name 0. Worked! Thanks

  • @waelelorfi5660
    @waelelorfi5660 8 ปีที่แล้ว +12

    Hello,
    Please note that "foamCalc mag U" has been deprecated and replaced by "postProcess -func sample"
    Thanks!

  • @masonmag
    @masonmag 5 หลายเดือนก่อน

    in OpenFOAM 11, the shockTube example is now located in 'tutorials/shockFluid/shockTube/' and the application is foamRun (instead of sonicFoam)

  • @shivamkhandelwal5441
    @shivamkhandelwal5441 4 ปีที่แล้ว +3

    Hi Jozsef , after I create my setFieldsDict by setting the field default values and field region values when I go to paraview and refresh I am not able to see the T,p,U in the drop down ( I am only able to see these - ' Solid color', 'vtkCompositeIndex' , 'CasePath' ,'vtkBlockColors'. And my ' toggle colour legend visibility' becomes ineffective. Please help!

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

      Maybe an issue with "skip zero time"?

    • @samuelnobre9431
      @samuelnobre9431 3 ปีที่แล้ว

      @Sandip Gewali thank you very much, it worked here with this command:)

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

      @@OpenFOAMJozsefNagy hello sir I am also having the same issue and also "paraFoam &" is also not working it gives errors like an import error. What should I do sir?

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

      Same issue here

  • @sandipgewali641
    @sandipgewali641 3 ปีที่แล้ว +2

    At 10:54, one doesn't need to copy the files into shockTube_1000 and shockTube_10000 folder.
    Also, inside shockTube_100 directory, one can create the dummy file executing the "paraFoam -touch" command, which will create a file named "shockTube_100.OpenFOAM" which can be read by Paraview. Repeat the same for the remaining two cases.
    To then visualize, one can run "paraFoam &" command, the "&" being the option to run the process Paraview in the background.

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  3 ปีที่แล้ว +2

      Thank your for your input.

    • @sandipgewali641
      @sandipgewali641 3 ปีที่แล้ว +1

      @@OpenFOAMJozsefNagy thanks for all the work you do for us. Much love 😍

  • @danieldrisburg320
    @danieldrisburg320 8 ปีที่แล้ว

    Thank you so MUCH!!! József Nagy, your virtual classes are more than helpful for me!! I am really enjoying learn with you! I have started learning from scratch with you, since then, I have learned loads! Thanks a lot! 10x better than using only the user guide! :)

  • @sandipgewali641
    @sandipgewali641 3 ปีที่แล้ว +1

    14:43 There is a backup folder 0.orig (just in case) because the setFieldsDict changes the files p,T and U. Thats brilliant.

  • @aveloxer
    @aveloxer 2 ปีที่แล้ว +1

    When I open the case (before running the simulation) in paraview, p, T, and U don't load into it. After the simulation I still only see results from t=0,001 to t=0,007, but not for t=0. Any ideas what might be the reason for that?

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  2 ปีที่แล้ว +1

      Yes, uncheck Skip zero time.

    • @jacksonpitts850
      @jacksonpitts850 6 หลายเดือนก่อน

      These comments are amazing! Every problem I run into has a solution in the comments. Thank you @aveloxer and thank you @OpenFOAMJozsefNagy !

    • @jacksonpitts850
      @jacksonpitts850 6 หลายเดือนก่อน

      @@OpenFOAMJozsefNagy Thank you!

  • @mechguruji8502
    @mechguruji8502 4 ปีที่แล้ว

    Every video i have seen so far is excellent and was great help in understanding

  • @ruizeng3076
    @ruizeng3076 6 ปีที่แล้ว +1

    hello professor, in this case , when we note the boundary in the blockMesh using the right hand rule, the thumb is pointing towards the surface to match the results shown in the file..... this contradicts what I learned from the last video that the normal vector (thumb) is always pointing out the surface

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

    Hello Dr. Nagy, Thanks for your awesome tutorials. I have an error while trying to run the simulation using sonicFoam : "PIMPLE: no residual control data found. Calculations will employ 2 corrector loops" ..... how can I solve this issue ?

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

      This is a warning, the simulation should still run.

  • @senolkupeli9508
    @senolkupeli9508 6 ปีที่แล้ว +1

    Hallo sir. When I command the blockMesh, it is created just 5 Folders inside the polyMesh.These are boundary,faces,neighbour,owner,points . I can't reach blockMeshdict folder inside the polyMesh. How can I fix that?

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

      For newer versions of OpenFOAM blockMeshDict is in system.

  • @tagorecoversbysetuhaque5038
    @tagorecoversbysetuhaque5038 8 ปีที่แล้ว +2

    Hello, Your videos are very helpful. I was trying to run the foam.foam using paraview. But I don't know why I could not load it. I followed the whole thing as you showed in the video. Your reply is highly appreciated.

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  8 ปีที่แล้ว +4

      Several people seem to have this problem. Try another paraview version or you can convert your results to VTK. The command is foamToVTK. You'll get a VTK folder and there you can open your results.

    • @clancybee9917
      @clancybee9917 7 ปีที่แล้ว +1

      I had the same problem...
      the problem was solved when I ran 'blockMesh' before running
      paraview foam.foam &
      U must have run it beforehand :)
      Peace :)

  • @taronpetrosyan5998
    @taronpetrosyan5998 6 ปีที่แล้ว +1

    Hello,
    First thanks for the great tutorials.
    Could you please help me, when I type setFields I get this error
    --> FOAM FATAL ERROR:
    cannot find file "/home/taron/OpenFOAM/openfoam6/tutorials/compressible/sonicFoam/laminar/shockeTube_baseCase/system/system/controlDict"
    I noticed that it wants to find the file in system/system/ but there is only one system and controlDict is there so I tried to create that additional /system folder and put files in it and enter the command. Thish time it shows this:
    --> FOAM FATAL ERROR:
    Cannot find file "points" in directory "polyMesh" in times "0" down to constant

    • @emrecilkaya3431
      @emrecilkaya3431 4 ปีที่แล้ว

      Hello, you should run the simulation from the main directory. So try to run it like this :
      1-)Firstly, you should go up to your main case file. Do not run the simulation when your directory is in one of the sub-folders of the case file.
      cd ~/OpenFoam/openfoam6/tutorials/compressible/sonicFoam/laminar/shockeTube_baseCase
      2-) Then run the simulation from this directory path with "sonicFoam" command. If you are using the later versions of Openfoam such as openFoam-7 . You may need to type "rhoPimpleFoam" instead of "sonicFoam".

  • @spandanmaikap7775
    @spandanmaikap7775 4 ปีที่แล้ว +1

    i get a big list of errors while executing the setField command, plz help and thanks for the videos

    • @spandanmaikap7775
      @spandanmaikap7775 4 ปีที่แล้ว

      --> FOAM Warning :
      From function bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = Foam::Vector; Foam::labelList = Foam::List]
      in file setFields.C at line 125
      Field U not found
      --> FOAM Warning :
      From function bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = double; Foam::labelList = Foam::List]
      in file setFields.C at line 125
      Field T not found
      --> FOAM Warning :
      From function bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = double; Foam::labelList = Foam::List]
      in file setFields.C at line 125
      Field p not found
      Setting field region values
      Adding cells with centre within boxes 1((0 -1 -1) (5 1 1))
      --> FOAM Warning :
      From function bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = double; Foam::labelList = Foam::List]
      in file setFields.C at line 125
      Field T not found
      --> FOAM Warning :
      From function bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = double; Foam::labelList = Foam::List]
      in file setFields.C at line 125
      Field p not found

    • @spandanmaikap7775
      @spandanmaikap7775 4 ปีที่แล้ว +1

      ok i solved the problem , intially in the tutorial there was no 0 directory only 0.orig , so I created one file with 0 and it worked

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  4 ปีที่แล้ว +2

      @@spandanmaikap7775 Great!

  • @ozgurcangumus1456
    @ozgurcangumus1456 3 ปีที่แล้ว +1

    Thanks for those great tutorials! I tried to increase the duration of the simulation to observe shock reflection from the sides but interestingly shock wave seems to be damped out. Is this due to the zero gradient BC that we have used to define the sides? What kind of BC shall I use?

    • @ozgurcangumus1456
      @ozgurcangumus1456 3 ปีที่แล้ว

      I think using noSlip BC for U solves the problem but I am not sure for p and T.

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  3 ปีที่แล้ว +2

      It is due to the discretization schemes. Take a look at the following videos!

  • @miha39688
    @miha39688 3 ปีที่แล้ว

    Hi. I followed the instruction but when I try to used the "sonicFoam" solver I get "FATAL ERROR" that it can not find the informations in fvSolution/fvScheme/thermophysicalProperties. I notice that content is this folder is different from content it is show in this tutorial. I try to change the data in these folder base on the tutorial but I still get error.
    I just want to ask where can I get the case setup with the same folders as this in tutorial. I am using openFOAM 2012.

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  3 ปีที่แล้ว +1

      I had recently a live stream of the redux version of this tutorial check out that video!

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

      @@OpenFOAMJozsefNagy thanks for reply

  • @DaylightDigital
    @DaylightDigital 10 ปีที่แล้ว

    5:20 Why does sonicfoam use actual pressure [Pa] instead of pressure divided by density [m^2/s^2] like icofoam? Or did I misunderstand something?

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  10 ปีที่แล้ว +2

      No, that is correct. If you take a look at the compressible Navier Stokes equations, you see, that you do not divide by the constant density (because the flow is compressible i.e. the density is not constant). sonicFoam is a compressible solver. In icoFoam you solve the incompressible Navier Stokes equations, where you do divide by the constant density.

    • @DaylightDigital
      @DaylightDigital 10 ปีที่แล้ว

      József Nagy Oh I see, it's kind of obvious now that I see what the code is doing. Kind of like how some codes solve the NS equations in non-dimensional form first, then multiply by the appropriate constants after a solution is found? I guess there's no need for the solution variables to be the actual physical quantities so long as a well-defined map exists to go between them.

  • @tanveerfathima3820
    @tanveerfathima3820 6 ปีที่แล้ว +1

    Whenever I type setFields, I get this error:
    Create mesh for time = 0
    Reading setFieldsDict
    Setting field default values
    --> FOAM Warning :
    From function bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = Foam::Vector; Foam::labelList = Foam::List]
    in file setFields.C at line 123
    Field U not found
    --> FOAM Warning :
    From function bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = double; Foam::labelList = Foam::List]
    in file setFields.C at line 123
    Field T not found
    --> FOAM Warning :
    From function bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = double; Foam::labelList = Foam::List]
    in file setFields.C at line 123
    Field p not found
    Setting field region values
    End

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  6 ปีที่แล้ว +1

      Did you use the correct syntax?

    • @tanveerfathima3820
      @tanveerfathima3820 6 ปีที่แล้ว +1

      I guess I made a mistake somewhere. I followed your steps again and it was running fine. Thankyou :)

    • @elisgj.7045
      @elisgj.7045 5 ปีที่แล้ว +1

      I had the same problem, and i renamed the files p.orig to p, T.orig to T and U.orig to U. After, that the setFields command gave the same results as the video.
      I think its a problem with the openfoam7 users.

    • @PM-ei3og
      @PM-ei3og 5 ปีที่แล้ว +3

      I just changed the folder name from 0.orig to 0 and the setField function worked.

    • @kritirajpandey1465
      @kritirajpandey1465 4 ปีที่แล้ว

      @@PM-ei3og tht buds i had the same issue , just change the 0.orig to 0 it worked , the tut file copied doesnn't have the 0 dir so one need to change it to '0"

  • @vaporisedair4919
    @vaporisedair4919 4 ปีที่แล้ว

    How come the sonic solver supports laminar flow? Is it for solver velocity stability?

  • @binilbabu9460
    @binilbabu9460 4 ปีที่แล้ว +2

    Dear Jozsef,
    I'm using OpenFOAM version 6. In the tutorial file, there is no 0.org file and in folder 0, there is no magU file too. Do I need to download the files from any external source?

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  4 ปีที่แล้ว +2

      In newer versions you don'T have this file. You don't need it for the simulation.

    • @binilbabu9460
      @binilbabu9460 4 ปีที่แล้ว

      @@OpenFOAMJozsefNagy Thank you for your reply.

    • @binilbabu9460
      @binilbabu9460 4 ปีที่แล้ว

      @@OpenFOAMJozsefNagy Dear sir,
      I after running the analysis I got some pressure value other than 100000 and 10000. What may be the reason for that?

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  4 ปีที่แล้ว

      @@binilbabu9460 Oscillations?

  • @User-Tal1951
    @User-Tal1951 2 ปีที่แล้ว

    Hi, where can I download the tutorial sonicFoam?

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

      You should have it in the .com version of OpenFOAM.

  • @sungbaelee818
    @sungbaelee818 7 ปีที่แล้ว +1

    Hello sir,
    in paraview foam.foam I can't manipulate p, U, T and also there is nothing in Cell Arrays. In your case you have T, U, magU and p but in my case it doesn't show anything in the Cell Array and in your case you can choose Solid Color, cellNormals, magU, p, T, U, etc. but in my case I can only choose Solid color, cellNormals, vtkCompositeIndex, CasePath (partial), vtkBlockColors (partial).
    What did I do wrong?

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  7 ปีที่แล้ว +1

      Hmm. Difficult to say. Do you get some error from Paraview? Which version do you use?

    • @sungbaelee818
      @sungbaelee818 7 ปีที่แล้ว +1

      József Nagy I use OpenFOAM5.0 and Ubuntu 16.04

    • @sungbaelee818
      @sungbaelee818 7 ปีที่แล้ว +1

      and how can I get mag U file?

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  7 ปีที่แล้ว +1

      I mean which version of Paraview and is there a error message?

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  7 ปีที่แล้ว +1

      With e.g. the postProcess -funcs '(div(U) mag(U))' command

  • @amiraliyazdan2369
    @amiraliyazdan2369 9 หลายเดือนก่อน

    Hi József, I really enjoy following you so far, however, I noticed that the tutorial sequences are not the same for different openFoam versions. Right now I am using openFoam11 and I can't locate tutorials/compressible/sonicFoam/laminar/shockTube. is there a way to overcome this issue or do I just have to install openFoam2.3?

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  9 หลายเดือนก่อน

      Yes, I do not support the .org version anymore, because of things like this. They just randomly drop things and change syntax to break compatibility. Please use v2312 to be compatible with my tutorials and also have backwards compatibility for the future.

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

    How can I define multiple boxToCell.

  • @karshtharyani4253
    @karshtharyani4253 9 ปีที่แล้ว

    Sir, I am looking for simulating a jet impingement slurry erosion test. Can you please give me any suggestions for the solver that I must use? Also, how does one calculate the erosive wear rate using OpenFOAM?

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  9 ปีที่แล้ว +1

      +karsh tharyani I think, that for that you need both a multiphase and a compressible flow. So comperssibleInterFoam. Maybe you have to modify it. Take a look at the source code, if it contains everything, you need. As for the wear you could calculate the force on the wall, where your liquid hits the wall.

  • @manikantaswamy1251
    @manikantaswamy1251 6 ปีที่แล้ว +1

    Sir, i didn't find setFiledsDict in my download .where i can find it??

    • @MrMido7arakat
      @MrMido7arakat 6 ปีที่แล้ว

      Hello manikanta, the setFieldsDict should be located inside the system folder of your case. For any reason you cannot find it over there, use the following link to get the file and place it inside the system folder.
      drive.google.com/open?id=1_HFRtmy83pvabUBmls-nYRIFNNv5S-lZ

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  6 ปีที่แล้ว

      This was in the tutorial, which came with OpenFOAM, but it is a simple text file so you can just copy it off the screen.

    • @manikantaswamy1251
      @manikantaswamy1251 6 ปีที่แล้ว +1

      Thank you sir, for your support.
      But now i am getting the following error when i execute the SonicFaom
      Reading field U
      Reading/calculating face flux field phi
      Creating turbulence model
      Selecting turbulence model type laminar
      Creating field kinetic energy K
      No MRF models present
      No finite volume options present
      Starting time loop
      Time = 1e-05
      Courant Number mean: 0 max: 0
      diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
      PIMPLE: iteration 1
      --> FOAM FATAL IO ERROR:
      keyword div(((rho*nuEff)*dev2(T(grad(U))))) is undefined in dictionary "/home/manikanta/OpenFOAM-in-Box-18.06v1/Othercases/OpenFOAM-2.4.x-master/tutorials/compressible/sonicFoam/laminar/shockTube_100/system/fvSchemes.divSchemes"
      file: /home/manikanta/OpenFOAM-in-Box-18.06v1/Othercases/OpenFOAM-2.4.x-master/tutorials/compressible/sonicFoam/laminar/shockTube_100/system/fvSchemes.divSchemes from line 30 to line 36.
      From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
      in file db/dictionary/dictionary.C at line 441.
      FOAM exiting
      Could you please help me with this?
      Thankyou in advance

    • @MrMangkokoo
      @MrMangkokoo 6 ปีที่แล้ว

      i'm using openfoam6 and there's many difference of file in the tutorials folder sir, should i replace it with older one from github.com/OpenFOAM/OpenFOAM-2.4.x (?)

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  6 ปีที่แล้ว

      I used back then the recent version of 2.3.0. You might, but it is a better idea to use the recent ones. On wiki.openfoam.com/Tutorials, amogst my tutorials I mention the syntax changes in recent versions. Unfortunately TH-cam doesn't allow me to change the videos.

  • @pki79
    @pki79 9 ปีที่แล้ว +1

    Great series of videos! Like it! Doing every step. I see many times you talk "uncomment" in the meainig of "comment out" :-)

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  9 ปีที่แล้ว +2

      pki79 Well, I'm not a native speaker.

    • @MP-wt9kz
      @MP-wt9kz 5 ปีที่แล้ว +1

      that word seems to exist.

  • @武昌区F91
    @武昌区F91 5 ปีที่แล้ว

    Hi, Jozsef! When I run the simulation of 100 cells and 10000 cells, there is a FOAM FATAL ERROR " negative initial temperature T0: -0.0406692". What can I do to solve this problem?

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

    Hello, everything works fine! Except for the ShockTube_10000 simulation. When I run SetFields I get the following message:
    Create mesh for time = 0
    --> FOAM FATAL ERROR: (openfoam-2112 patch=220610)
    Cannot find file "points" in directory "polyMesh" in times "0" down to constant
    From virtual Foam::IOobject Foam::fileOperation::findInstance(const Foam::IOobject&, Foam::scalar, const Foam::word&) const
    in file global/fileOperations/fileOperation/fileOperation.C at line 1137.
    FOAM exiting
    Anyone can help me? Thank you so much
    Sara

  • @hjmo7815
    @hjmo7815 4 ปีที่แล้ว

    Thank you very much!! But when I run setFields, it returned:
    Setting field default values
    --> FOAM Warning :
    From bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = Foam::Vector; Foam::labelList = Foam::List]
    in file setFields.C at line 125
    Field U not found
    --> FOAM Warning :
    From bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = double; Foam::labelList = Foam::List]
    in file setFields.C at line 125
    Field T not found
    --> FOAM Warning :
    From bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = double; Foam::labelList = Foam::List]
    in file setFields.C at line 125
    Field p not found
    Setting field region values
    Adding cells with centre within boxes 1((0 -1 -1) (5 1 1))
    --> FOAM Warning :
    From bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = double; Foam::labelList = Foam::List]
    in file setFields.C at line 125
    Field T not found
    --> FOAM Warning :
    From bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = double; Foam::labelList = Foam::List]
    in file setFields.C at line 125
    Field p not found

  • @alina-valentinaavram7654
    @alina-valentinaavram7654 5 ปีที่แล้ว

    when I try to run setFields for shocktube_100 I get this:
    --> FOAM FATAL ERROR:
    cannot find file "/home/alina/OpenFoam/tutorials/tutorials/compressible/sonicFoam/laminar/shockTube_100/system/system/controlDict"
    From function virtual Foam::autoPtr Foam::fileOperations::uncollatedFileOperation::readStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const
    in file global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C at line 532.
    I do have the controlDict but it is in "/home/alina/OpenFoam/tutorials/tutorials/compressible/sonicFoam/laminar/shockTube_100/system/controlDict"
    Any idea how to fix it?

    • @emrecilkaya3431
      @emrecilkaya3431 4 ปีที่แล้ว +1

      Hello, you should run the simulation from the main directory. So try to run it like this :
      1-)Firstly, you should go up to your main case file. Do not run the simulation when your directory is in one of the sub-folders of the case file.
      cd ~/OpenFoam/tutorials/tutorials/compressible/sonicFoam/laminar/shockTube_100
      2-) Then run the simulation from this directory path with "sonicFoam" command

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

    I want to simulate this case but when write sonicFoam, the terminal say:
    sonicFoam: symbol lookup error: /lib/libincompressibleTransportModels.so: undefined symbol: _ZN4Foam9UOPstream5writeERKNS_5tokenE
    what do i do?

  • @alcarnielo
    @alcarnielo 4 ปีที่แล้ว

    Good mornign professor. Excellent Tutorials!
    I managed to run this tutorial with OpenFoam8.
    Instead of using socinFoam I used rhoPimpleFoam
    after running it appeared 2 warning messages:
    """
    --> FOAM Warning : functionObjects::mag mag(U) cannot find required object U of type volScalarField
    --> FOAM Warning : functionObjects::mag mag(U) cannot find required object U of type surfaceScalarField
    """
    Do you know what does that means?

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  4 ปีที่แล้ว

      This has something to do with the functionObject incontrolDict, not the simulation itself.

  • @MartinGarcia-fw2mb
    @MartinGarcia-fw2mb 9 ปีที่แล้ว

    Hi! Your videos are great. I have a question. To Repear your videos in paraview use the version 3.12.0. When i repeat them, does not leave the refresh botton. I'm doing some step wrong? thanks in advance. All the best.

    • @OpenFOAMJozsefNagy
      @OpenFOAMJozsefNagy  9 ปีที่แล้ว +1

      +Martín García As far as I know, your don't have this button in older versions. I use the newer versions (4.x and upwards).

  • @chintalapudirohitmanikanta4492
    @chintalapudirohitmanikanta4492 4 ปีที่แล้ว

    I don't have 0 dir instead i have 0.orig. Can anyone help me how to get 0 file from 0.orig

  • @REHIMIF
    @REHIMIF 4 ปีที่แล้ว

    Really A GREAT Thank you Man and GOD bless you