|
[Sponsors] |
[ImmersedBoundary] Immersed Boundary Method in OpenFOAM-3.1-ext |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 12, 2018, 13:44 |
load in more than 1 STL geometries for immersed boundary
|
#81 | |
New Member
MWu
Join Date: Nov 2013
Posts: 10
Rep Power: 13 |
Quote:
Dear Prof. Jasak Is that possible to load in two or more STL geometries for immersed boundary ? i.e. instead of 1 sphere, load in many spheres ... thanks as always |
||
March 12, 2018, 13:47 |
|
#82 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Hi,
The STL can be in as many pieces as you like. I did not test the setup with multiple independent immersed boundaries in separate patches, so there may be problems related to coding; if you hit any we need some further development to deal with this. You would only need to have true multiple IB patches (as opposed to having many bits of disconnected STL in a single immersed boundary) if you wish to post process eg forces on each bit separately. Hope this helps, Hrvoje
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
May 27, 2018, 17:29 |
|
#83 |
Member
Ben 017
Join Date: Nov 2017
Posts: 70
Rep Power: 9 |
Hello
May you help to plot drag and lift coefficient in movingcylinderinchannel tutorial/immersedboundary/foam-extent 4.0? I have changed the controlDict like this but it is printing out Cd=0, Cl=0 and Cm=0 for all time steps. what could be the reason behind?. functions { forces { type forceCoeffs; functionObjectLibs ( "libforces.so" ); outputControl timeStep; outputInterval 1; patches ( wall ); pName p; UName U; rhoName rhoInf; log true; rhoInf 1; CofR ( 0 0 0 ); liftDir (0 1 0); dragDir ( 1 0 0 ); pitchAxis ( 0 0 0 ); magUInf 1; lRef 1; Aref 1; } } |
|
September 16, 2018, 20:06 |
|
#84 |
New Member
KAMBIZ
Join Date: Jul 2017
Posts: 1
Rep Power: 0 |
Hello everybody ....
I'm new to Foam extend .... as mentioned in release note of foam-extend 4.0, there have been significant improvements in Immersed Boundary Solvers. Is it possible to consider the immersed body as an "elastic structure"? If yes, which tutorials is suitable to start simulation? Thanks everybody. |
|
October 18, 2018, 09:56 |
|
#85 | |
New Member
ZhaoJia
Join Date: Nov 2017
Posts: 8
Rep Power: 9 |
Quote:
I have run the example of movingCylinderInChannelIco without change it in foam extend 4.0, but when i open it with paraview and run it, there is a fatal error "size of field refValue(96) is not the same size as the patch(0) on patch ibCylinder of field U in file"movingCylinerInChannelIco/0.2/U", what is the reason for this? Thanks for your reply! |
||
May 16, 2019, 12:29 |
|
#86 | |
New Member
|
Quote:
do u find where this error comes from! im stuck on same error, any help would be appreciated --> FOAM FATAL ERROR: [0] tauWall not set for IB patch hull for field U [0] [0] From function const vectorField& immersedBoundaryVelocityWallFunctionFvPatchVectorF ield::wallShearStress() const [0] in file wallFunctions/immersedBoundaryVelocityWallFunctions/immersedBoundaryVelocityWallFunctionFvPatchVectorF ield.C at line 200. thanks |
||
August 30, 2019, 08:40 |
|
#87 | |
New Member
rubingqin
Join Date: Apr 2019
Posts: 6
Rep Power: 7 |
Quote:
|
||
August 30, 2019, 11:12 |
Immersedbounday
|
#88 |
New Member
|
As u know there is no physical body in mesh because its immersed. So the wall type should be immersed boundary wall
Look at immersedboundary tutorials u will find it |
|
September 1, 2019, 04:53 |
|
#89 |
New Member
rubingqin
Join Date: Apr 2019
Posts: 6
Rep Power: 7 |
I am so appreciated for your reply. But there is no tutorials in IBM of forcecoeffs. I'm still confused about the zero. Below is my controldict about force and forcecoeffs. The patch name is my immersed boundary. So what should I do?Looking forward to your help!
best wishes! functions ( forces { type immersedBoundaryForces; functionObjectLibs ("libimmersedBoundaryForceFunctionObject.so"); outputControl timeStep; outputInterval 1; patches ( ibCylinder ); pName p; UName U; rhoName rhoInf; rhoInf 1; log true; CofR ( 0 0 0 ); Aref 0.05; Uref 1; } forces { type forceCoeffs; functionObjectLibs ( "libforces.so" ); //functionObjectLibs ("libimmersedBoundaryForceFunctionObject.so"); outputControl timeStep; outputInterval 1; patches ( ibCylinder ); pName p; UName U; log true; rhoName rhoInf; rhoInf 1; CofR ( 0 0 0 ); liftDir ( 0 1 0 ); dragDir ( 0 0 1 ); pitchAxis ( 0 0 0 ); magUInf 1; lRef 2.83; Aref 0.05; } |
|
September 1, 2019, 14:06 |
Immersed boundary forces
|
#90 |
New Member
|
The first one in enough in foam extend immesrd bounday . Force coeff not needed.
After run afolder will create by name forces and u will find force and moments components inside it Best regards |
|
September 1, 2019, 21:50 |
|
#91 |
New Member
rubingqin
Join Date: Apr 2019
Posts: 6
Rep Power: 7 |
So the last question is that I want to get the force coefficient, such as drag of friction coefficient,to do some verification. What should I do?How to calculate? Is the force in the forcefille in N/m3 or whatelse? Best gratitudes for you. I have stumbled for a long time. thank you again.
|
|
September 2, 2019, 01:00 |
|
#92 | |
New Member
|
Quote:
I also faced with that problem since the force coeffs always get zero since dosent sense the immersed body. The way i used computing drag using forces directly using drag coeff formula which is the force component in the motion direction and the surface Best regards |
||
September 2, 2019, 22:20 |
|
#93 |
New Member
rubingqin
Join Date: Apr 2019
Posts: 6
Rep Power: 7 |
So what is the dimension in the force fields? I tried to calculate drag force coeffs,but can't agree with the literature. I think my formula is wrong. It’s a shame that I don't figure out the force file,is it in N/m3 or N/m or something else? How you calculate it?
|
|
September 2, 2019, 22:53 |
|
#94 | ||
New Member
|
Quote:
Quote:
Fd =Cd*Ar*rhoV^2(1/2) Fd is force in flow direction which in my case was -x direction, rho is ur fluid property and Ar is reference area which is 1D image of 3d shape that its surface vector is in flow direction Thats it For me this work quite fine Best regards |
|||
September 3, 2019, 21:17 |
|
#95 |
New Member
rubingqin
Join Date: Apr 2019
Posts: 6
Rep Power: 7 |
Thank you brother. It’s very useful.
|
|
December 6, 2019, 17:51 |
Immersed Boundary Method in foam extend 4.0
|
#96 | |||
New Member
Cindy Chen
Join Date: Sep 2019
Posts: 1
Rep Power: 0 |
Hi,
I know this is an old post, but I am trying to implement the immerse boundary method in foam extend 4.0. I have some problems with parallel running, although the error message is different from what you got before. I use the same way to edit $WM_PROJECT_DIR/etc/controlDict and change commsType to nonBlocking as: Quote:
However, it seems that the problem is not solved and same error message pops up after I did the commsType change. I have attached the log files from decomposePar and parallel run in the following: This is the log for decomposePar: Quote:
Quote:
Thanks, Cindy |
||||
May 18, 2020, 07:31 |
|
#97 |
New Member
Shang-Gui Cai
Join Date: Jan 2012
Location: Marseille, France
Posts: 10
Rep Power: 14 |
Hi,
Is it possible to output the skin friction on the immersed surfaces ? Thanks |
|
May 18, 2020, 07:45 |
|
#98 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Sure - use the wallShearStress tool. Immersed boundary is just a normal patch, although handled in a different ways.
Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
May 21, 2020, 07:01 |
|
#99 |
New Member
Shang-Gui Cai
Join Date: Jan 2012
Location: Marseille, France
Posts: 10
Rep Power: 14 |
Thanks a lot. The skin friction is extracted to the VTK file in each time step folder. But the VTK wall pressure has all zero values in the pitzDailyTurbulent case within foam-extend-4.1. It may be a bug for this particular case with the simpleFoam solver ?
Nevertheless the wall pressure can still be accessed from the usual volume solution by filtering the IB flag. The wall shear stress however does not work properly in the same way compared to the VTK data. Moreover, the wall surface quantities are extracted on the near wall cell boundaries in foam-extend-4.1, instead of the STL surface in foam-extend-4.0. Is it for accuracy consideration ? Shanggui |
|
May 22, 2020, 10:08 |
|
#100 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Not zero for me - are you sure you are looking at the right thing?
I run the tutorial to 150 iterations (not fully converged) and then wallShearStress. Attached is a picture: top is wall shear stress and bottom is pressure. Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk Last edited by hjasak; May 22, 2020 at 10:08. Reason: Add picture |
|
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 |