← Back to team overview

yade-users team mailing list archive

[Question #601679]: about simulate ocean wave

 

New question #601679 on Yade:
https://answers.launchpad.net/yade/+question/601679

Hello all,

I'm trying to use flowengine to simulate wave pressure, such as stationary wave( e.g. p=Asin(t/T)cos(x/L)). However, I fail to simulate it by using waveAction, sinMagnitude and sineAverage. On the other hand, I find that the pore pressure first occurs build-up and then slowly decreases to zero. I hope the pressure condition can always change with the cycle. 

Thanks to Robert, I modify my code according to his guidance. Here is my code:

## ______________   FLOW section   _________________
# Activate flow engine and set boundary conditions
flow.waveAction=1
A=500
T=0.5
avg=0
t=O.time
scale=math.sin(2*pi*t/T)
flow.bndCondIsPressure=[0,0,0,1,0,0]
flow.updateTriangulation=True
flow.meshUpdateInterval=50
flow.sinMagnitude=A*scale
flow.sineAverage=avg*scale
O.dt=0.1e-3
O.run(1,1)
*************************************************************************

As shown above, though waveAction can allow sinusoidal pressure condition to simulate ocean wave, I still don't know what is the simulated pressure expression and how to take into account of the pressure varies with the cycle and x variables.

Thank you for any suggestions.

Best,
Deng

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.