Difference between revisions of "Examples/2D/souto etal 2012 standingwave"

From AQUAgpusph
Jump to: navigation, search
m
m (Added a note about the example generation)
Line 34: Line 34:
 
== Setting up the simulation ==
 
== Setting up the simulation ==
  
 +
In [http://canal.etsin.upm.es AQUAgpusph] the examples are generated on top of template archives, which are read and modified by the Python Script Create.py, such that they can be ran from an arbitrary folder, and modified just touching such Create.py script.
  
 +
However we are interested into setup the case from scratch, assuming that we are running it in the same folder we are creating the input files.
  
 
== References ==
 
== References ==
 
<references />
 
<references />

Revision as of 14:35, 12 March 2015

Introduction

In this examples we are reproducing the simulation of the standing wave carried out by Souto et all (2012) [1].

The standing wave is defined on top of an infinite periodic fluid domain composed by rectangular subdomains of dimensions , with . In such domain a wave with length (i.e. the wave number is ) and amplitude is imposed. Denoting the ratio by the following velocity potential can be considered:

valid for small values of . In previous equations is the angular frequency given by the dispersion relation of gravity waves: , and corresponds to the flat free surface (In Fig. 13 of Souto et all (2012)[1] it is wrong described)

Therefore the velocity field can be computed as . It should be noticed that for a flat free surface is obtained.

With such velocity potential, for a viscous fluid, it is possible to get an analytical solution for the kinetic energy decay[2]:

where the kinematic viscosity can be computed from the Reynolds number:

In our simulation , , , and , where is the initial distance between the particles.

Setting up the simulation

In AQUAgpusph the examples are generated on top of template archives, which are read and modified by the Python Script Create.py, such that they can be ran from an arbitrary folder, and modified just touching such Create.py script.

However we are interested into setup the case from scratch, assuming that we are running it in the same folder we are creating the input files.

References

  1. 1.0 1.1 Antonio Souto-Iglesias, Fabricio Macià, Leo M. González, Jose L. Cercos-Pita. On the consistency of MPS. Computer Physics Communications, 2012
  2. J. Lighthill. Waves in Fluids. Cambridge University Press, 2001