|
[Sponsors] |
[ImmersedBoundary] Immersed Boundary Method in OpenFOAM-3.1-ext |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 26, 2015, 16:15 |
|
#21 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Unfortunately it hasn't, at least not as far as I can figure out.
From what I've seen so far, there was a somewhat silent release of foam-extend 3.1.1, which is dated as having the last commit marked at 2014-11-07. I don't know what happened exactly, but I guess that the foam-extend team did not have enough time to take care of it during December . |
|
March 7, 2015, 14:25 |
|
#22 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quote:
|
||
March 12, 2015, 08:14 |
immersedBoundaryOmegaWallFunction
|
#23 |
Member
Join Date: May 2014
Posts: 40
Rep Power: 12 |
Thank's for the update wyldckat
Did anyone get the immersedBoundaryOmegaWallFunction to work in ext-3.1? The epsilon-wall function does work and is used in one of the tutorial cases, but I'd like to use the one for omega. So I included it in the Make/file of the simpleIbFoam, corrected a typo in the .H-files, recompiled and... well... Code:
[...] + wmake simpleIbFoam In file included from /opt/OpenFOAM/foam-extend-3.1/src/finiteVolume/lnInclude/fvMatrices.H:40:0, from /opt/OpenFOAM/foam-extend-3.1/src/finiteVolume/lnInclude/fvPatchFields.H:33, from /opt/OpenFOAM/foam-extend-3.1/src/finiteVolume/lnInclude/volFields.H:41, from /opt/OpenFOAM/foam-extend-3.1/src/finiteVolume/lnInclude/fvMatrix.H:40, from ../immersedBoundary/lnInclude/immersedBoundaryFvPatchField.C:29, from ../immersedBoundary/lnInclude/immersedBoundaryFvPatchField.H:367, from wallFunctions/immersedBoundaryOmegaWallFunctions/immersedBoundaryOmegaWallFunctionFvPatchScalarField.H:55, from wallFunctions/immersedBoundaryOmegaWallFunctions/immersedBoundaryOmegaWallFunctionFvPatchScalarField.C:27: /opt/OpenFOAM/foam-extend-3.1/src/finiteVolume/lnInclude/fvScalarMatrix.H:56:1: error: invalid use of incomplete type ‘class Foam::fvMatrix<double>’ ); ^ In file included from ../immersedBoundary/lnInclude/immersedBoundaryFvPatchField.H:42:0, from wallFunctions/immersedBoundaryOmegaWallFunctions/immersedBoundaryOmegaWallFunctionFvPatchScalarField.H:55, from wallFunctions/immersedBoundaryOmegaWallFunctions/immersedBoundaryOmegaWallFunctionFvPatchScalarField.C:27: /opt/OpenFOAM/foam-extend-3.1/src/finiteVolume/lnInclude/fvPatchField.H:75:7: error: declaration of ‘class Foam::fvMatrix<double>’ class fvMatrix; ^ [...] Any idea? |
|
April 5, 2015, 09:40 |
|
#24 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Phil_,
I've finally managed to test this. It seems that the "immersedBoundaryOmegaWallFunction" was developed in a previous development iteration and was not updated for the version they released later on. In other words, the source code I started with for my repository did not yet have this boundary condition fully working. You might want to contact Wikki: http://wikki.co.uk/ - for getting a clearer response on whether this has already been fixed in the version they're planning on releasing in foam-extend 3.2. Either way, I did the code updates I could quickly see that needed to be updated and I've pushed the changes to the branch "fe31" on my repository: https://github.com/wyldckat/ImmersedBoundary/tree/fe31 Please try it out and let me/us know if it worked. If it doesn't, then please provide a test case I can work with, so that I can test it. Best regards, Bruno
__________________
|
|
April 9, 2015, 04:49 |
Seems to work
|
#25 |
Member
Join Date: May 2014
Posts: 40
Rep Power: 12 |
Dear Bruno,
thank you very much for the updated version I did a quick test with one of the tutorial cases (tutorials_HJ/pitzDailyTurbulentsimpleIbFoam/) and it ran without an error message. In my case however I get a singular matrix error, but I guess I'm doing something wrong, just don't know what Any hints what I should look for? Best regards, Philip |
|
April 9, 2015, 17:34 |
|
#26 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Philip,
Well, there are a few details here:
Therefore, as far as I can figure out, there are only a few options left:
Bruno |
|
April 10, 2015, 03:30 |
|
#27 |
Member
Join Date: May 2014
Posts: 40
Rep Power: 12 |
Dear Bruno,
thank you for the clarification on the implementation of the wall functions. It's true, I noticed some strange behaviour with the k-epsilon model in my test case. So I think it's best to wait for the new release. Anyway I'll give it a shot and test the latest update of your code. Many thank's for your effort. Best regards, Philip |
|
April 21, 2015, 05:09 |
Regarding interIbFoam
|
#28 |
New Member
Tsuyoshi Koyama
Join Date: Oct 2012
Posts: 6
Rep Power: 14 |
I am currently testing the immersed boundary implementation of interIbFoam
in OpenFoam and found some strange behaviors in the example in the directory, ImmersedBoundary/tutorials/damBreakWithCylinder When you change the initial conditions of the water by setting the line in "setFieldsDict" from box (-1 0 -1) (-0.46 1 1); to box (-1 0 -1) (1 0.1 1); which leaves a part of the cylinder above water level, instead of seeing the water stay still, the water level starts to increase. This increase can be checked by computing the total amount of water. This problem seems to arise in any case whenever the water interface interacts with the immersed boundary. I suspect that the problem lies in the polynomial interpolation scheme implemented at the immersed boundary which acts as a source for the volume fraction, increasing the total amount of water in the simulated domain. If anyone has a nice fix for this problem it would be of great help. Many thanks in advance. |
|
May 27, 2015, 10:33 |
|
#29 | |
New Member
Join Date: Oct 2013
Posts: 12
Rep Power: 13 |
Quote:
There is someone able to solve it ? |
||
May 27, 2015, 14:21 |
|
#30 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Are you compiling the nextRelease branch? Try adding
#include "fvMatrices.H" at the top of immersedBoundaryForces.C Please let me know, Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
May 28, 2015, 06:34 |
|
#31 |
New Member
Join Date: Oct 2013
Posts: 12
Rep Power: 13 |
Thank you for your fast reply.
I'm compiling the master branch, I have made the change that you have suggest but the output it's the same. |
|
June 25, 2015, 00:28 |
|
#32 |
Member
Francisco T
Join Date: Nov 2011
Location: Melbourne, Australia
Posts: 64
Blog Entries: 1
Rep Power: 15 |
Hello
Im trying to complie Immersed Boundary method according to this instructions: http://openfoamwiki.net/index.php/Ex...oam-extend_3.1 Code:
mkdir -p $FOAM_RUN cd $FOAM_RUN/.. git clone git@github.com:wyldckat/ImmersedBoundary.git ImmersedBoundary cd ImmersedBoundary git checkout fe31 cd src ./Allwmake Code:
>>./Allwmake Code:
wmake error: environment variable $WM_OPTIONS not set + wmake surfaceInvertNormal wmake error: environment variable $WM_OPTIONS not set + wmake libso immersedBoundary wmake error: environment variable $WM_OPTIONS not set + wmake libso immersedBoundaryForce wmake error: environment variable $WM_OPTIONS not set + wmake makeTriSurfaceMesh wmake error: environment variable $WM_OPTIONS not set + wmake refineImmersedBoundaryMesh wmake error: environment variable $WM_OPTIONS not set + wmake potentialIbFoam wmake error: environment variable $WM_OPTIONS not set + wmake icoIbFoam wmake error: environment variable $WM_OPTIONS not set + wmake interIbFoam wmake error: environment variable $WM_OPTIONS not set + wmake simpleIbFoam wmake error: environment variable $WM_OPTIONS not set Code:
>>export Code:
WM_OPTIONS="darwinIntel64GccDPOpt" Regards and thanks for your help Fran Last edited by wyldckat; June 28, 2015 at 17:17. Reason: Added [CODE][/CODE] markers |
|
July 27, 2015, 07:31 |
IBM in foam-extend next release
|
#33 |
Member
Join Date: May 2014
Posts: 40
Rep Power: 12 |
Dear all,
so foam-extend next release (release 3.2) is available and I ran a small test for the immersed boundary. For the kEpsilon turbulence model it works like a charm, but with the kOmegaSST model it complains about "tauWall not set for IB patch ibChannel for field U". In the kEpsilon model tauWall is set by the immersedBoundaryEpsilonWallFunction. This wall function is replaced by immersedBoundaryOmegaWallFunction where tauWall is not defined. Any ideas? In the meantime I'll dig in a little more and try to find out what's going on. Phil |
|
August 9, 2015, 19:16 |
Immersed Boundary on buoyantBoussinesqPisoFoam
|
#34 |
Member
Manjura Maula Md. Nayamatullah
Join Date: May 2013
Location: San Antonio, Texas, USA
Posts: 42
Rep Power: 13 |
Dear all,
Tutorials are working good for IBM in foam-extend-3.1. I was trying to derive a new solver from buoyantBossinesqPisoFoam using IBM on foam-extend 3.1. I followed the SOLVER_COOKBOOK provided by wildckat and InterIbFoam solver. It compiled just fine. But when I ran a test case, it is not getting the immersed boundary. I was trying to find out the reason. What I have got is that the commaned line "immersedBoundaryAdjustPhi(phi,U)" is not working in pressure equation (pEqn.H) and that's why the phi is not adjusted for immersed boundary by the command adhustPhi(phi,U,p). There is no error in solver compilation, but in results i can not see the effect of immersed boundary that I provided. Here I have attached the solver if anyone wants to look. Any ideas? It would be appreciated. MMMN |
|
August 10, 2015, 12:51 |
|
#35 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Not to be rude, but the cook-bok was written by me.
Have a look at constant/polyMesh/boundary Do you have an immersed boundary patch in there with zero faces?
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
August 10, 2015, 18:45 |
|
#36 | |
Member
Manjura Maula Md. Nayamatullah
Join Date: May 2013
Location: San Antonio, Texas, USA
Posts: 42
Rep Power: 13 |
Quote:
You are right I was missing that part to change the boundary for immersed boundary. Now the case is running, but I am getting some unphysical results. As I mentioned I compiled the solver from buoyantBoussinesqPisoFoam, I left the DEqn.H unchanged. Is that might be source of my unrealistic results? Or other words, do I need to do anything for immersed boundary treatment for transport equation (in my case D.Eqn.H)? You mentioned in the solver cook-book to mask with faceIbMask on calculation of face fluxes. How can I do that for transport equation? I checked the boundary conditions, they are ok, as I run the case without IBM and it gives good results and I also added the boundary for immersed boundary for all the fields. I would appreciate your support if look into my attached solver. Thanks Last edited by mmmn036; August 10, 2015 at 20:01. |
||
August 12, 2015, 22:48 |
|
#37 | |
Member
Manjura Maula Md. Nayamatullah
Join Date: May 2013
Location: San Antonio, Texas, USA
Posts: 42
Rep Power: 13 |
Quote:
Did you developed buoyantBoussinesqPisoFoam solver and test cases with IBM? I am looking forward for it. Thanks |
||
August 15, 2015, 23:24 |
|
#38 |
Member
Manjura Maula Md. Nayamatullah
Join Date: May 2013
Location: San Antonio, Texas, USA
Posts: 42
Rep Power: 13 |
Hello All,
I have complied a solver for buoyantBoussinesqPisoIbFoam following the instructions from Hjasak's solver-cookbook. It compiled ok and I run a taste case which runs good too. But I can see some strange behavior around the immersed boundary I attached a glyph plot for velocity below. The scaling for imposing zero net-flux through the IB faces around immersed boundary is not working, what I believe. Does this problem sources from boundary conditions? I checked all the boundary and play around with different combination, but this behavior prevails. Any one can give me some ideas on that? Thanks |
|
August 29, 2015, 00:55 |
|
#39 |
Member
Ali
Join Date: Oct 2013
Location: St John's Canada
Posts: 31
Rep Power: 13 |
Hello foamers,
Is there anyone, who is trying to use immersed boundary method in foam-extend-3.2. I have compiled foam-extend-3.2 to test this method. But it seems that there is some problem in interIbFoam solver. It diverge after few seconds with exploding alpha values . I have also tried explicit MULES solver for alpha, which has the same outcome. I hope someone will share experience. Ali |
|
August 29, 2015, 02:47 |
|
#40 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
What exactly are you trying to run? Are you running the solver I wrote or a modified one?
There are tutorials provided with the release and they are running every day, so I *know* they work. Can you run the tutorials without errors? Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
Tags |
immersed boundary method, openfoam-1.6-ext, openfoam-3.1-ext |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 08:30 |
implementation of the Immersed Boundary Method | mi_cfd | Main CFD Forum | 19 | April 24, 2019 02:24 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
[ImmersedBoundary] who has the paper about immersed boundary method in openfoam | blueshit | OpenFOAM Community Contributions | 1 | November 18, 2013 08:16 |