Comments (11)
I do not see how this is possible... Did you check that the probes.dat file was really generated with this input file?
Best,
G.
from hos-ocean.
I do not see how this is possible... Did you check that the probes.dat file was really generated with this input file?
Best, G.
Thank you very much for your response! Indeed, I have confirmed that the probes.dat file represents the outcome of running the program with the input_HOS.dat input file. Additionally, I've noticed a discrepancy in the initial lines of information between the output probes.dat file and the data provided in my input file input_HOS.dat, as illustrated in the provided screenshot. When compiling the HOS-ocean program, I only made modifications to the makefile, specifically adjusting the address in LIBDIR and incorporating libblas.a within the LINKLIB section. Could this compilation error potentially be the cause of the observed discrepancy?
Best,
B.
from hos-ocean.
Sorry, I did not notice this query was for HOS-ocean for which I am not always using probes outputs.
The behavior you observe is expected. When you choose i_case=3, the stop time you indicate in the number of peak periods, not the physical time. Since you have a peak period of 10s, the stop time is 20*10=200s. The same applies for the dimensions of the domain in the horizontal plane, it is specified in number of peak wavelengths.
from hos-ocean.
Sorry, I did not notice this query was for HOS-ocean for which I am not always using probes outputs.
The behavior you observe is expected. When you choose i_case=3, the stop time you indicate in the number of peak periods, not the physical time. Since you have a peak period of 10s, the stop time is 20*10=200s. The same applies for the dimensions of the domain in the horizontal plane, it is specified in number of peak wavelengths.
"Ah, I see! I understand the meaning of your expression now. Thank you once again for your sincere response."
from hos-ocean.
@gducrozet
Dear professors
I have some questions for you.
Firstly,I don't really understand the difference between ky_n2 and ky.Why are there two kinds of wave number expressions in the y-direction.
Secondly,I don't understand the meanings of function"build_kth" and variable"kth_local" in "resol_HOS"
Thirdly,What does module''velocities" do? Hasn't the module "resol_HOS" sovle the problems of phiz(velocity) ?
Best Wishes
from hos-ocean.
Some elements below:
- ky_n2 and ky are simply using a different number of modes in the description along y-direction. Different defintions are easier to manipulate due to the storage of positive and negative values for ky (and ky_n2).
- the build_kth simply compute ktanh(kh)
- module velocities computes the velocities inside the fluid domain (and not only on the free surface)
from hos-ocean.
Some elements below:
- ky_n2 and ky are simply using a different number of modes in the description along y-direction. Different defintions are easier to manipulate due to the storage of positive and negative values for ky (and ky_n2).
- the build_kth simply compute k_tanh(k_h)
- module velocities computes the velocities inside the fluid domain (and not only on the free surface)
Thank you very much for your reply!Recently,I've always wondered why kth(kh) is multiplied by temp_C_Nd as shown in the figure below.I don't really understand this loop, even though it's commented.Can you explain in more detail?
Best
from hos-ocean.
This loop corresponds to the computation of the vertical derivatives of phi^(m) at different orders.
The build_kth build the factor you need to multiply the modal amplitude to compute this derivative at a given order.
In short, it is computing the following equations:
from hos-ocean.
Dear Professor,
I would like to inquire about a matter regarding post-processing in HOS-Ocean. I am interested in obtaining the x-direction velocity profile Vx at the point (0,0). Specifically, I wish to acquire evenly spaced Vx values within a depth of 200 meters (i.e., z=(-200,0)), with an interval of 0.5 meters. However, I have noticed that the settings in my plot result in additional content in the output VP_card.dat file. Could you kindly advise if my setup is correct?
from hos-ocean.
Hello @banzhiqing
It seems there is an issue in the writing of the VP_card
file. Not sure where it comes from. I do not have a lot of time to look at it but if you change the following file in sources/PostProcessing
it should solve your issue: output_post_process.f90.txt
NB: Remove the .txt extension, GitHub comments does not support .f90 files
Please let me know if it solves your issue
from hos-ocean.
@gducrozet
Dear Professor,I think the default wave main direction is the x-axis,How can I change the main direction wave?I wanna transform it to y-axis for 3D wave
from hos-ocean.
Related Issues (20)
- 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
- 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
- reconstruction of surface elevation from modes HOT 5
- 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
- Resulting Hs for 2D simulations HOT 6
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.