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

waves2Foam : combinedWaves

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 25, 2023, 14:48
Default waves2Foam : combinedWaves
  #1
New Member
 
Narayan Kumar
Join Date: Feb 2023
Location: Newark , DE
Posts: 19
Rep Power: 3
Narayan_UD is on a distinguished road
Hi everyone ,

Although I read the waves2Foam manual in detail, I am unable to write the code to implement combined waves.

I need help in editing waveProperties to implement


###############################################


timeShift 0;

seaLevel 0.4;

seaLevelAsReference true;

relaxationNames ( leftWall );

initializationName init;

pName p_rgh;

leftWallCoeffs
{
waveType combinedWaves ;// chappelear1962;



combinedWaveNames chappelear1962;
{
height 0.071;
depth 0.4;
direction ( 1 0 0 );
x0 ( -6 0 0 );
L1 0.072754697;
L3 -0.072829289;
}

combinedWaveNames chappelear1962;
{
height 0.071;
depth 0.4;
direction ( 1 0 0 );
x0 ( -6 0 0 );
L1 0.072754697;
L3 -0.072829289;
}

relaxationZone
{
relaxationScheme Spatial;
relaxationShape Rectangular;
beachType Empty;
relaxType INLET;
startX ( -6 0.4 0 );
endX ( 0 0.4 0.6 );
orientation ( 1 0 0 );
relaxationWeight Exponential;
exponent 14;
}
}

initCoeffs
{
waveType potentialCurrent;
U ( 0 0 0 );
Tsoft 0;
}

########################################

I will appreciate if anyone pinpoint the error
Narayan_UD is offline   Reply With Quote

Reply

Tags
openfaom, waves2foam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[waves2Foam] combined set of waves with waves2Foam blaise OpenFOAM Community Contributions 7 December 16, 2023 08:33
Problems installing waves2Foam extension JaimeMB OpenFOAM Programming & Development 0 October 28, 2022 12:18
[waves2Foam] installing waves2foam into OpenFoam 6 madgeogr OpenFOAM Community Contributions 1 June 15, 2021 11:17
[waves2Foam] waves2Foam compatible with IHFoam [v. 2012] ngj OpenFOAM Community Contributions 4 April 24, 2021 07:43
[waves2Foam] working on adding waves2Foam toolbox to compressibleInterFoam instead of interFoam betsybrite OpenFOAM Community Contributions 4 October 23, 2014 01:13


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