|
[Sponsors] |
April 21, 2022, 13:02 |
B 92 51 Create 'wavercon.dat' input file
|
#1 |
New Member
PJoynt
Join Date: Oct 2021
Posts: 21
Rep Power: 6 |
Hi All,
To generate the "wavercon.dat" input file I need to provide three columns "A", "omega", and "phi". I was wondering if there is a certain format that the rows should be in (ascending omega?). Additionally, I wanted to check the units: A = Amplitude = meters omega = Angular Frequency = rad/s phi = Phase = rad Thanks! Patrick |
|
April 22, 2022, 09:09 |
|
#2 |
Senior Member
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 14 |
You are correct (though it might not be a problem if they are not in ascending order).
Also SI units as you mention. Just make sure the first row is not 0.0 0.0 0.0 (which can happen from a Matlab FFT output).
__________________
Arun X years with REEF3D |
|
Tags |
wave generation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to calculate mass flow rate on patches and summation of that during the run? | immortality | OpenFOAM Post-Processing | 104 | February 16, 2021 09:46 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 22:53 |
Trouble compiling utilities using source-built OpenFOAM | Artur | OpenFOAM Programming & Development | 14 | October 29, 2013 11:59 |
[swak4Foam] funkySetFields compilation error | tayo | OpenFOAM Community Contributions | 39 | December 3, 2012 06:18 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 11:57 |