CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to set wave parameters of streamfunction in waves2foam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2019, 05:48
Default How to set wave parameters of streamfunction in waves2foam
  #1
New Member
 
Ian
Join Date: Aug 2018
Posts: 15
Rep Power: 8
insane is on a distinguished road
Hi, everyone
Recently, I want to validate a case where the wave height is 0.062m and period is 1s and depth is 0.4m, after calculating I found the wave is a third-order Stokes wave, I was told I can get it in waves2foam by using the stream function in waves2foam.
But I am a newbie in this area, I am not sure how to set the wave parameters in the waveproperties.
According to waves2foam's manual, I have set the depth height and direction. I have also set specifyPeriod to true and set the period.
But I am not sure about how to set N Niter specifyEuler and correspoding eulerVelocity or stokesVelocity.
Could anyone tell me how to set it, any advice would be appreciated!

Code:
 waveType    streamFunction;  
    
    Tsoft       1;

    depth      0.4;
    
    period      1;

    phi         0.000000;

    direction  (1 0.0 0.0);
     
    debug;
   
    height      0.062;

//  confused parameters 
	N  1;
        Niter 3;
  	specifyPeriod true;


	specifyEuler false;
	stokesVelocity 0;
insane 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
[ICEM] ICEM Scripting Issues tylerplowright ANSYS Meshing & Geometry 33 September 27, 2021 17:35
Waves2Foam usage for 2D wave in 3D domain erncyc OpenFOAM Running, Solving & CFD 0 May 22, 2014 01:31
Fluent 14 journal script to set fluid parameters jhome ANSYS 0 April 30, 2012 05:26
How to set a oblique incidence wave Boundary shiw FLOW-3D 2 March 6, 2011 20:15
Help with GNUPlot Renato. Main CFD Forum 6 June 6, 2007 20:51


All times are GMT -4. The time now is 17:54.