CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Absorbing Boundary Conditions (https://www.cfd-online.com/Forums/openfoam-solving/88588-absorbing-boundary-conditions.html)

nickmai123 May 20, 2011 22:33

Absorbing Boundary Conditions
 
Hi Everyone,

I'm just wondering if anyone's ever done wave propagation with OpenFOAM. If so, how did you specify the boundary conditions on the domain? That is, how did you do totally absorbing boundaries for the wave propagation?

I know for flow simulations, the pressure's usually set to 0 and the velocity is set to zeroGradient to simulate the flow through an infinitely long tube, or over a large area.

Any suggestions? I thought about using groovyBC to do this. Thanks guys!

--Nick

Phicau May 23, 2011 17:40

Hi

actually there is no unique answer, neither a universal way to make a 100% absorbent bc for interFoam.

As a simple approach you can try to increase the cell length in the dissipation area, but your domain may grow quite a lot.
Another option is to set an artificial beach in which waves break, but once again the domain is increased.
It can also done by means of adding a so called "sponge layer", this is just a porous medium. I have never used porous media in OF, so I ignore if this approach is suitable.

The most versatile option is to program a custom BC which allows the waves to flow out. This is what I am currently doing, along with wave generation.

Absorbing in a 2D domain is nearly straightforward to develop and there are a lot of well-performing formulations (10% reflection coefficient).

3D absorption is more tricky, there are also a lot of formulations, mainly based on digital filters. The difficult part is to estimate the direction of the wave to absorb, the rest is the same as 2D one.

I am sorry I cannot currently comment anything on specific theories. As soon as my work is finished and published I will share the code if I am allowed to do so.

Pablo H

wswaw October 14, 2015 10:29

Quote:

Originally Posted by Phicau (Post 308914)
Hi

...

I am sorry I cannot currently comment anything on specific theories. As soon as my work is finished and published I will share the code if I am allowed to do so.

Pablo H

Hello Pablo!

How is your work on the absorbing boundaries now? I guess it must be done~

I'm new in both OpenFOAM and acoustic simulation. Now I'm struggling with the implementation of non-reflecting boundary conditions and I really need some examples on writing and compiling a custom BC. May I have the title of your publishment and some details of the code if possible?

Thank you! And sorry for bother you years later :)

Huey



Quote:

Originally Posted by nickmai123 (Post 308644)
Hi Everyone,
...
Any suggestions? I thought about using groovyBC to do this. Thanks guys!

--Nick

Hi Nick!

What about your problem now? Is it solved? I'm now facing with a similar question so I look forward to get some information from you.

Thanks a lot~

Huey

Calmly December 21, 2017 06:17

Hello!

Is there any BC which can absorb some of the pressure/energy of a wave?

I've seen waveTransmissive BC but it absorbs the whole wave.

I want to use it as a BC of a wall where the blast wave is reflected and absorb some of the energy (10% for example). I am using rhoCentralFoam solver

Calmly January 11, 2018 06:54

Quote:

Originally Posted by Calmly (Post 675800)
Hello!

Is there any BC which can absorb some of the pressure/energy of a wave?

I've seen waveTransmissive BC but it absorbs the whole wave.

I want to use it as a BC of a wall where the blast wave is reflected and absorb some of the energy (10% for example). I am using rhoCentralFoam solver

Can somebody help me?


All times are GMT -4. The time now is 13:25.