Olaflow waveDict generation with fft
This commit is contained in:
parent
8f902fb24d
commit
1506fd06a1
2 changed files with 33 additions and 19 deletions
|
@ -15,23 +15,30 @@ FoamFile
|
|||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
//waveType regular;
|
||||
//waveTheory cnoidal;
|
||||
//genAbs 1;
|
||||
//absDir 0.0;
|
||||
//nPaddles 1;
|
||||
//wavePeriod 20.0;
|
||||
//waveHeight 15.0;
|
||||
//waveDir 0.0;
|
||||
//wavePhase 0.;
|
||||
//tSmooth 0.0;
|
||||
|
||||
waveType solitary;
|
||||
waveTheory Boussinesq;
|
||||
genAbs 0;
|
||||
waveType irregular;
|
||||
genAbs 1;
|
||||
absDir 0.0;
|
||||
nPaddles 1;
|
||||
waveHeight 7.5;
|
||||
waveDir 0.0;
|
||||
secondOrder 1;
|
||||
waveHeights
|
||||
{n}
|
||||
(
|
||||
{wh}
|
||||
);
|
||||
wavePeriods
|
||||
{n}
|
||||
(
|
||||
{wper}
|
||||
);
|
||||
wavePhases
|
||||
{n}
|
||||
(
|
||||
{wph}
|
||||
);
|
||||
waveDirs
|
||||
{n}
|
||||
{
|
||||
0
|
||||
};
|
||||
|
||||
// ************************************************************************* //
|
Reference in a new issue