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!
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)
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
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.
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!
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.
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
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
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.
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?
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
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??
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!
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?
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
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
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?
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 :(
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 &
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??
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
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 보고싶네요! 한국오면 꼭 연락줘요!
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)
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
Thank you for the video (lots of time & effort on your part). That being said... that program is brutal. Just saying. Cheers!
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.
Thank you so much for the awesome tutorials! Please make more videos for the begineers like me.
Thanks so much for the explanations.
Very useful. Thankyou so much
Thank you so much for this tutorial video!!
Great...
This is the kind of tutorial I'm looking for....
Thanks...
Great tutorial Cyprien. Keep going
Very good job. Thank you so much
Great video! Very helpful!
Nice job. Thank you.
Great video, thanks!
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!
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.
Cause you have to name folder in which geometry file located as "triSurface", not "geometry".
@@SeaGoRetta I've been trying to figure this out for the last week. Thank you so much.
@@SeaGoRetta Thank you!
@seaGoRetta had the same issue! thanks for sharing the solution
@@SeaGoRetta same issue here. thank you for sharing this
Great sir.l like your tutorial from Pak
How wonderful! Tks
is there any reason why the polymesh is copied to the 0 folder? Usually it is located in constant
Thanks for this video. I have one doubt which how to change location of refinement region(box) using "locationInMesh" command?
Thank you Very much
Thank you! 🙂👍
Awesome!
why my mesh is not generated according to the motorbike if i have followed all the steps
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
Thank you, great tutorials. Can you make cfd tutorials using butterfly plug-in on grasshopper which use the openfoam?
Thanks
My geometry folder from constant is missing
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
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-sf5yr5np6g I had the same problem and it worked for me. Thank you!
@@user-sf5yr5np6g Thanks mate, for some reason, it works.
Hi, can you please make a vidéo about bouandaey conditions mixed i don't understand them very Well
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?
How to control boundary faces names for new model ?? As it is not defined by you in Salome
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?
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
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??
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!
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?
Shouldn’t we change even faces in the blockMesh?
i am getting cl cd zero
what is the solution
what is the density?
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
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.
may be because you don't wanna change your original files, so you make a copy
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
If you don’t have the permission, you can take it with “chmod +x nameoffile”. You might need sudo and the admin password.
@@Feaforall Thank you! meanwhile I used root perms, chmod did not work, unfortunately
Please make a tutorial on how to install mpi feature in Ubuntu platform
This is why Ansys is better. It's just faster and easier to use. This is redundant.
It’s crazy cause I don’t have money
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
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?
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 :(
I think you need to use snappyHexMesh -overwrite instead of just snappyHexMesh, I am on openfoam 9 and it seems to be working
i also have same error 😓
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 &
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??
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