CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[waves2Foam] trying to modify the waveFlume tutorial by changing the geometry and inlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 9, 2014, 08:06
Default trying to modify the waveFlume tutorial by changing the geometry and inlet
  #1
New Member
 
Dmitrijs Gavrilovs-Stepanovs
Join Date: Jun 2014
Posts: 15
Rep Power: 11
Dmitrjs is on a distinguished road
Good afternoon everyone,
Hopefully you all are having a good summer and I was wondering if you could help me with the following problem.
I am trying to modify the waveFlume tutorial by changing the geometry (increasing the domain) and wave inlet conditions. Everything runs OK, but when I view it in paraFoam, the wave flume stops at certain point in the tank as if there is a relaxation zone. If I change the period to larger value, then the wavelength becomes longer and waves reach the relaxation zone I set up at the outlet, however, I need to use a lower value of period. Here is my waveProperties.input file:

seaLevel 0.00;

// A list of the relaxation zones in the simulation. The parameters are given
// in <name>Coeffs below.
relaxationNames (inlet outlet);

initializationName outlet;

inletCoeffs
{
// Wave type to be used at boundary "inlet" and in relaxation zone "inlet"
waveType stokesFirst;

// Ramp time of 2 s
Tsoft 2;

// Water depth at the boundary and in the relaxation zone
depth 1.0;

// Wave period
period 1.0;

// Phase shift in the wave
phi 0.000000;

// Wave number vector, k.
direction (1.0 0.0 0.0);

// Wave height
height 0.033;

// Specifications on the relaxation zone shape and relaxation scheme
relaxationZone
{
relaxationScheme Spatial;
relaxationShape Rectangular;
beachType Empty;

relaxType INLET;
startX (0 0.0 -1);
endX (3 0.0 1);
orientation (1.0 0.0 0.0);
}
};

outletCoeffs
{
waveType potentialCurrent;
U (0 0 0);
Tsoft 2;

relaxationZone
{
relaxationScheme Spatial;
relaxationShape Rectangular;
beachType Empty;

relaxType OUTLET;
startX (14.408 0.0 -1);
endX (17.965 0.0 1);
orientation (1.0 0.0 0.0);
}
};

I do not know whether there is something wrong with the relaxation zones (the dimensions of them) or the value of wave height and period are too small for this domain, so I thought someone could help me to understand what is wrong.
Thank you in advance!
Dmitrjs is offline   Reply With Quote

Old   July 9, 2014, 16:53
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Good evening,

@Dimitrijs: Please read this thread carefully: http://www.cfd-online.com/Forums/ope...-get-help.html (Hint: You have by far given enough information for anyone to help you).

Kind regards,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.

Last edited by wyldckat; October 8, 2018 at 10:16. Reason: removed answer to another post that was on the main thread
ngj is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
Single inlet geometry Gearb0x OpenFOAM Running, Solving & CFD 6 January 13, 2020 16:18
Interfoam - Real world Geometry with constant inlet flow bdh1103 OpenFOAM Running, Solving & CFD 0 February 10, 2016 14:54
Tutorial about pressure inlet, pressure outletReverse flow in pressure inlet Tanjina FLUENT 0 February 26, 2014 00:13
Inlet profile independent of geometry orientation ? arapha FLUENT 0 February 18, 2011 16:28


All times are GMT -4. The time now is 09:16.