Immersed Boundary Cylinder Tutorial using IcoIbFoam application
Hi Everyone,
Good to find out that Immersed Boundary Mesh have been implemented in OpenFoam recently. However, I am trying to run the tutorial on Cavity and Flow around a cylinder with Immersed Boundary Foam in OF2.3.0 but gives so many error messages wheun running it with icoIbFoam command. Even when I installed d version 1.6-ext, can't still run it. I have followed the Tutorial procedures and included the additional dictionaries, but can't run. Tried to run the wmake for compilation, but complains of not seeing octree.H and some other files. Meanwhile, octree.H and .C and in my meshtool directory. Can anyone who has successfully ran this share more hints with me? I am a up comer. Many thanks. |
Greetings Francis,
It's really complicated to help you if you don't indicate which exact tutorial and source code you're referring to, where is it located and/or where you got it from. edit: I ask this because I have absolutely no idea where such tutorial and solver exist :( Best regards, Bruno |
Hi
check this out: http://www.cfd-online.com/Forums/ope...tml#post459040 AFAIK it is ready to compile and run, but only for 1.6-ext Best, Pablo |
I may or may not have a functional 2.3 port of the IB code. I have run some interIbFoam tests which look pretty good but there seems to be some stabiltiy issues. Next step is port the ico solver and see how that performs. I'll try to keep you guys up to date if I make any progress.
|
Update: icoIbFoam seems to be working just fine!
Question for anyone reading this: In order to port this I had to bring over the writeVTKNormals() function from foam extend and add it to the PrimitivePatch class in 2.3. Because of this I had to do a near full recompile of the whole OF install. Is there a more intelligent way to do this? Create a new derived class perhaps? This was the only change I needed to make to the main foam installation. The rest of the changes were on the IB lib and IB solver side. |
Greetings to all!
I had this on my to-do list for some weeks now and I've finally come around to git'ifying this source code and creating a wiki page for it:
@Francis: Quote:
Essentially, the missing step is to first run the script Allwclean: Code:
./Allwclean @Kyle: Quote:
Quote:
edit: Done! See this commit: https://github.com/wyldckat/Immersed...ea8f3c083f09c6 It's on the branch "decoupledTriSurface" in my git repository! Best regards, Bruno |
Kyle, your port sounds quite interesting for me. Please, keep us informed.
Do you plan to port also simpleIBFoam? Best Regards |
Hi Everyone, I have no idea on how to create my airfoil.ftr or immersedBoundary.ftr files. I already created my .stl files. Do anyone know how to create .ftr of the icoIbFoam?
|
Quote:
surfaceConvert file.stl file.ftr Ftr files can not be opened with Paraview. Only STL geometries can be seen. Best Regards |
Thank you. Do you mean I need to use tbw command: surfaceConvert file.stl file.ftr. ?
|
Quote:
I'll probably make a new thread once its up and running. Cheers! Kyle |
Quote:
Job well done. I found out today that you prepared the git clone link and can now be installed on a network. I have really been worried about this. Meanwhile, I am currently trying to simulate an airfoil with the IB method on OF16ext already installed on my Ubuntu. My ibAirfoil.ftr and ImmersedBoundary.ftr seems not to be in order. During running, I get 0 number of IB cells, no values for ImmersedBoundaryForces and .. Code:
Create time The keynote on how to compile a new solver is also a useful tool. Please, can you further enlighten me on this. Many thanks. |
Hi Francis,
Quote:
Code:
surfaceConvert path/to/file.stl path/to/file.ftr Code:
surfaceConvert constant/triSurface/cylinderRefined.ftr constant/triSurface/cylinderRefined.stl Quote:
Code:
surfaceCheck ibAirfoil.stl Bruno |
Quote:
Hi afrotimy, Could you please tell me how did you solve this problem (more details will be appreciated)?. Thanks in advance. |
1 Attachment(s)
I have changed the original geometry by another one generated with CATIA and always I obtain the following message:
Can`t find nearest triSurface point for cell 3644, (x y z) The stl is closed and surfaceCheck is ok. What things are needed to take into account for stl generation? UPDATED: The geometry is a cylinder with a box just above it. It seems like there are problems to detect the nearest triSurface point when the stl has two perpendicular ( or similar) surfaces. Any hint? Depending on cell size, position wrt stl,... it could fail or not. How to deal with it? |
Greetings to all!
@be_inspired: From what I can see in the image you provided, it seems that you're demanding waaaaay too much from this (experimental?) IBM feature! My advice is to simplify your STL so that there is only one change in geometry within each cell in the volume mesh. For example, I believe that a golf ball might be successfully simulated using this solver, because the dimples on the balls surface aren't a very complex shape change. But still, the volume mesh resolution will likely have to be greater than the one on the example case. Best regards, Bruno |
Hi there!
I am trying to run this IB tutorial: 'ImmersedBoundary/tutorials/flowOverCylinder'. I am stuck because the next error appears once the mesh refinement has been done and I try to run 'icoIbFoam': Code:
Create time I use the foam-extend-3.1 release. Any hint?? Thanks in advance!! Best, |
Quote:
|
You could try extending the trisurface search span vector in immersedBoundaryFvPatch.C around line 960:
Code:
Cheers! Kyle |
Hi all,
I am having the same error but with a different cell ID (8921). Extending the span with 20*delta[cellI] did not work for me. I am using foam extend 3-1. Any ideas on this? Thanks. |
All times are GMT -4. The time now is 07:25. |