|
[Sponsors] |
December 25, 2023, 14: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 |
|
Tags |
openfaom, waves2foam |
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |