Comments (5)
Dear Wei Zhang,
Yes. You can use LHEEA/Grid2Grid (execution: postGrid2Grid) with modes_HOS_SWENSE.dat to regenerate the surface elevation.
Please try it and let me know if you have a problem.
Best regards,
Young-Myung CHOI
from hos-ocean.
Hello.
Thanks for replying so soon. I am wondering whether I can do that manually. I mean direct use the data? or I just "refine" the solution from the output.
Best
Wei
from hos-ocean.
Dear Wei Zhang,
You can do it manually. There are subroutines in Grid2Grid "src/libGrid2Grid/surf2Vol/HOSOcean/hosOcean/inc"
- init_read_mod: Read HOS parameters (nX, nY, ...)
- read_ascii_mod_HOSOcean: Read HOS modal amplitudes at each HOS time
Because you already know the modal amplitudes at each time, you can reconstruct them by formula.
Or you can refer the subroutine "reconstruction_direct" in HOS-ocean "sources/PostProcessing/reconstruction.f90".
Have a nice day,
Best regards,
Youngmyung CHOI
from hos-ocean.
Dear Wei Zhang,
Complementary to the reply of Youngmyung (thanks for being reactive on this!) this is not possible to reconstruct directly from the file a_3d.dat the free surface elevation / free surface velocity potential.
The point is that a_3d.dat stores only the wavenumbers and modulus of complex modal amplitudes. Then, the phase of each component is the missing information for what you want to achieve.
Best,
Guillaume
from hos-ocean.
Hi @gducrozet & @YoungmChoi
thanks all for reply.
I tried postG2G in grid2grid. still I cannot get perfect solution.see below
and there are some parameters which I don't know how to set.
Best
Wei
from hos-ocean.
Related Issues (20)
- Can't open module file 'type.mod' HOT 4
- i_case=32 HOT 1
- Error while making HOT 18
- phisx value HOT 2
- Limits in setting n1 and n2 HOT 1
- Installation in Windows environment - Microsoft Visual Studio HOT 8
- Simulation from external input HOT 4
- error: "Slope along x is too large" for i_case 84 HOT 4
- Simulation of nonlinear irregular waves HOT 10
- Running steps HOT 2
- Dirichlet-Neumann Operatior kappa HOT 2
- I meet errors during the install process HOT 2
- OpenFOAM coupling HOS
- I encountered an error during compilation. HOT 2
- How to run an example HOT 6
- The duration of the data output in probes.dat is ten times longer than the value set for T_stop in the input_HOS.dat file. HOT 11
- Resulting Hs for 2D simulations HOT 6
- Reason for omega_n2 being defined on extended x-grid and used on x-grid for irregular initialization HOT 1
- Breaking limit and adaptive time-step HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hos-ocean.