|
[Sponsors] |
December 25, 2023, 15:48 |
waves2Foam : combinedWaves
|
#1 |
New Member
Narayan Kumar
Join Date: Feb 2023
Location: Newark , DE
Posts: 19
Rep Power: 3 |
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 |
|
December 2, 2024, 14:05 |
|
#2 | |
New Member
Yavar
Join Date: Jun 2024
Posts: 2
Rep Power: 0 |
Quote:
Thanks |
||
Tags |
openfaom, waves2foam |
|
|
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 |