Giter Club home page Giter Club logo

Comments (11)

gducrozet avatar gducrozet commented on August 24, 2024

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.

banzhiqing avatar banzhiqing commented on August 24, 2024

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?
5a87283e6ef98f5b1af63195dde152e
1b8c42e7e25a705f84e5e3c1ab0d2ca

Best,
B.

from hos-ocean.

gducrozet avatar gducrozet commented on August 24, 2024

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.

banzhiqing avatar banzhiqing commented on August 24, 2024

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.

95nq avatar 95nq commented on August 24, 2024

@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.

gducrozet avatar gducrozet commented on August 24, 2024

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.

95nq avatar 95nq commented on August 24, 2024

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?
image
Best

from hos-ocean.

gducrozet avatar gducrozet commented on August 24, 2024

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:
image

from hos-ocean.

banzhiqing avatar banzhiqing commented on August 24, 2024

@gducrozet

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?
figure1
figure2
figure3

from hos-ocean.

gducrozet avatar gducrozet commented on August 24, 2024

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.

95nq avatar 95nq commented on August 24, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.