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

[waves2Foam] Having a lot of trouble for a short wavelengths

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 18, 2017, 08:06
Default Having a lot of trouble for a short wavelengths
  #1
Senior Member
 
ArielJ
Join Date: Aug 2015
Posts: 127
Rep Power: 11
arieljeds is on a distinguished road
Hi all,

I am running free surface flow around a vertical surface piercing cylinder. I am having no trouble for longer wavelengths (smaller diameter to wavelength ratio) but am having a lot of trouble for a short wavelength (wavelength = 2.4 m, diameter = 0.5, waveheight = 0.25).

I am trying to use minimum 50 cells per wavelength and 8 per wave height, which have been plenty for previous simulations.

My constant/waveProperties.input file looks like this:

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  1.5                                   |
|   \\  /    A nd           | Web:      http://www.OpenFOAM.org               |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      environmentalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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;

//pName		   p_rgh;
inletCoeffs
{
    //waveType        potentialCurrent;
    //U               ( 0.6 0 0 );
    //Tsoft           0;
    
    waveType		stokesFirst;       	// Regular waves
    depth		2.5; 			// Water Depth 
    period		1.25;	 		// Wave period
    phi			0.00000;		// Phase
    direction		(1.0 0.0 0.0);		// Direction of incoming waves
    height		0.25;			// Wave height in meters
    Tsoft		0.0; 
   
    
    relaxationZone
    {
	relaxationScheme Spatial;
        relaxationShape  Rectangular;
        beachType        Empty;
        alphaCoefficient 1;
    
        relaxType   INLET;
        startX      ( -7.2 -3.5    0.0);
        endX        ( -3.6  3.5     0.0);
        orientation      (1.0 0.0 0.0);
    }
};




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

    relaxationZone
    {
        relaxationScheme Spatial;
        relaxationShape  Rectangular;
        beachType        Empty;  
        alphaCoefficient 1;  

        relaxType   OUTLET;
        startX      (  4.5 -3.5    0.0);
        endX        (  7.2  3.5   0.0);
        orientation      (1.0 0.0 0.0);
    }
};


// ************************************************************************* //
The issue appears to be with the mesh (or perhaps the relaxation zones??) but the mesh isn't too bad (max aspect ratio 5.6, see attached image). I've attached an image of the contour plot of velocity at alpha.water = 0.5.

Any advice on what could be causing these problems??
Attached Images
File Type: png screenshot_surface.png (122.1 KB, 81 views)
File Type: png meshSideView.png (36.5 KB, 66 views)
File Type: png meshTopView.png (26.0 KB, 52 views)
File Type: png relaxationZoneLayout.png (31.9 KB, 50 views)
arieljeds is offline   Reply With Quote

Old   January 2, 2024, 14:10
Default
  #2
New Member
 
Narayan Kumar
Join Date: Feb 2023
Location: Newark , DE
Posts: 19
Rep Power: 3
Narayan_UD is on a distinguished road
Hi , which software you are using for visualization ?
Narayan_UD 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
[Gmsh] trouble with les model in XiFoam after convertion gmshTofoam? lfgmarc OpenFOAM Meshing & Mesh Conversion 0 May 25, 2011 00:35
Trouble migrating oodles to pisoFoam while changing from OF 1.5 to 1.7 sebi OpenFOAM 0 December 7, 2010 10:00
trouble with Source Term sambatra OpenFOAM Running, Solving & CFD 2 October 5, 2010 04:28
Trouble with exporting tecplot files from FLUENT Argen FLUENT 2 January 5, 2010 03:42
equivalencing trouble Steve Collie CFX 6 August 22, 2001 19:26


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