CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Jonswap spectrum in openFoam (http://www.cfd-online.com/Forums/openfoam/119229-jonswap-spectrum-openfoam.html)

leopal June 12, 2013 10:53

Jonswap spectrum in openFoam
 
Dear all.
Does anyone can support me to run wave2Foam with irregular wave through JONSWAP spectrum?
I put the data required for this wave type, but it does not work:
waveType irregular;
spectrum JONSWAP;
N 50; // Number of frequencies
Tsoft 2;
writeSpectrum true; // Not required. Default:= false. Writes the target spectrum.
Hs 0.30;
Tp 3.04;
gamma 3.3;
depth 1.04;
direction (1 0 0);

regards
LeoPal


All times are GMT -4. The time now is 23:30.