|
[Sponsors] |
Ramp-up time for Stokes 2 wave propagation using interFoam in OpenFOAM-6 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 26, 2019, 05:39 |
Ramp-up time for Stokes 2 wave propagation using interFoam in OpenFOAM-6
|
#1 |
New Member
Pierre Erdeven
Join Date: Apr 2019
Location: France
Posts: 1
Rep Power: 0 |
Hi all,
I am quite new in the OpenFOAM world. I am trying to compute a Stokes 2 wave, which propagates along x<0 in a 3D domain. I use the interFoam solver of OpenFOAM-6. I already got some results without damping zone at outlet and by initializing the wave in the whole domain. Of course this leads to a lot of reflections from this boundary. Before tackling the problem of body forces I want first to add a ramp-up time to the wave propagation, in order to see it moving from inlet to outlet. I tried to use the following inlet boundary condition in U.orig: Code:
inlet { // https://cpp.openfoam.org/v6/waveVelocityFvPatchVectorField_8H_source.html type waveVelocity; origin (18.0145 7.50604166667 0); // origin of the wave coordinate system direction (1 0 0); // direction of the mean flow speed 2.6034; // speed of the mean flow waves ( Stokes2 { length 5.147; amplitude 0.081; phase 0; angle 3.141593; // 180 deg = 3.141593 rad } ); // ramp // { // type linearRamp; // start 0; // duration 1.977; // } scale table ((-18.0145 0) (18.0145 0)); // From outlet to inlet set: 0 crossScale constant 1; } I also noticed that using the scale function totally flattens the waves. So, my questions are:
Do not hesitate to ask me if you need more information. Thanks in advance for any ideas! Pierre Last edited by piR; April 26, 2019 at 09:25. |
|
September 27, 2020, 13:18 |
|
#2 |
New Member
Virag Mishra
Join Date: Mar 2014
Posts: 8
Rep Power: 12 |
Did you get any clarification on this?
|
|
Tags |
hydrodynamic, interfoam, openfoam-6, ramp-up, wave |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
courant number increases to rather large values | 6863523 | OpenFOAM Running, Solving & CFD | 22 | July 6, 2023 00:48 |
Setting up Lid driven Cavity Benchmark with 1M cells for multiple cores | puneet336 | OpenFOAM Running, Solving & CFD | 11 | April 7, 2019 01:58 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 01:01 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 05:03 |