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

waves2Foam : combinedWaves

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 25, 2023, 15: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

Old   December 2, 2024, 14:05
Default
  #2
New Member
 
Yavar
Join Date: Jun 2024
Posts: 2
Rep Power: 0
yavar.mohammadi@uri.edu is on a distinguished road
Quote:
Originally Posted by Narayan_UD View Post
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
Hi, I have this issue. Were you able to solve it?

Thanks
yavar.mohammadi@uri.edu is offline   Reply With Quote

Reply

Tags
openfaom, waves2foam


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


All times are GMT -4. The time now is 14:03.