YingyiLiu/HAMS

issue about control file

Closed this issue · 12 comments

Hi,
I use this program recently to do my work, and i have 2 questions about the control file.
The first is that whats the meaning of the '2.D0', i see the control file in test case, and i found that like the numer of the water depth, it writes '2.D0', whats the meaing of the D?
The second is that whats the meaning of 2 options 'Reference_body_length' and 'Wave_diffrac_solution', and i dont see any info in the manual,
Thank you very much for the help.

Hi,
i also want to know how can i get the free surface elevation and pressure data because the out file seems dont include the free surface.

The first is that whats the meaning of the '2.D0', i see the control file in test case, and i found that like the numer of the water depth, it writes '2.D0', whats the meaing of the D?

I think I can easily answer this one: this is Fortran's scientific notation for double precision number. You can think of it as equivalent to the more common "E notation" 2.e0.

Reference_body_length

Hi, I use this program recently to do my work, and i have 2 questions about the control file. The first is that whats the meaning of the '2.D0', i see the control file in test case, and i found that like the numer of the water depth, it writes '2.D0', whats the meaing of the D? The second is that whats the meaning of 2 options 'Reference_body_length' and 'Wave_diffrac_solution', and i dont see any info in the manual, Thank you very much for the help.

The first is that whats the meaning of the '2.D0', i see the control file in test case, and i found that like the numer of the water depth, it writes '2.D0', whats the meaing of the D?

I think I can easily answer this one: this is Fortran's scientific notation for double precision number. You can think of it as equivalent to the more common "E notation" 2.e0.

I will skip the first question as Matthieu has already answered it. 'Reference_body_length' refers to the scale length of the body you calculated for, equivalent to ULEN in the Wamit gdf file. 'Wave_diffrac_solution' is explained in the following publication: https://www.researchgate.net/publication/355585903_Introduction_of_the_Open-Source_Boundary_Element_Method_Solver_HAMS_to_the_Ocean_Renewable_Energy_Community

Hi, i also want to know how can i get the free surface elevation and pressure data because the out file seems dont include the free surface.

Free surface elevation and the hydrodynamic pressure are equivalent in nondimensional value at the free surface.

I think I can easily answer this one: this is Fortran's scientific notation for double precision number. You can think of it as equivalent to the more common "E notation" 2.e0.
Free surface elevation and the hydrodynamic pressure are equivalent in nondimensional value at the free surface.

Thank you for the help. It helps me a lot.
THank you again!

Hi, i also want to know how can i get the free surface elevation and pressure data because the out file seems dont include the free surface.

Free surface elevation and the hydrodynamic pressure are equivalent in nondimensional value at the free surface.

Hi, How can i see the elevation data? Which file is the result in the output? It seems can not see it in the BEMrosetta

You can find the data in the *.6p file.

You can find the data in the *.6p file.

Thank you so much for your reply!

Dear professor, sorry to bother you again,
i create a file that calculate the elevation and when i calculate this in 3 different frequency, the result is this
1681216413500
but, when i just calculate one frequency, it turns that
1681216485324
I dont know whats the meanting of this
1681216544053
1681216555467
while it doesnt exeist in the result with one frequency.

Sorry to bother you again and thank you vert much!

Hi,
when i run the program, it will produce a file called ErrorCheck.txt in the output file, but why the rotation center is different from what i set in the control file .
For example, i set the 'Reference_body_center -0.356 0.000 0.000' in the control file, and in the hydrostatic.in, the rotation center is -0.356 0.000 0.000 too, but in the ErrorCheck.txt, it turns out
'The rotation center is input as (please confirm if it is correct):
0.000 0.356 0.000'

Dear professor, sorry to bother you again, i create a file that calculate the elevation and when i calculate this in 3 different frequency, the result is this 1681216413500 but, when i just calculate one frequency, it turns that 1681216485324 I dont know whats the meanting of this 1681216544053 1681216555467 while it doesnt exeist in the result with one frequency.

Sorry to bother you again and thank you vert much!

Regarding the Wamit-format output, please refer to the user manual of Wamit: https://www.wamit.com/manual.htm

Hi, when i run the program, it will produce a file called ErrorCheck.txt in the output file, but why the rotation center is different from what i set in the control file . For example, i set the 'Reference_body_center -0.356 0.000 0.000' in the control file, and in the hydrostatic.in, the rotation center is -0.356 0.000 0.000 too, but in the ErrorCheck.txt, it turns out 'The rotation center is input as (please confirm if it is correct): 0.000 0.356 0.000'

Thanks for reporting. The problem has been corrected.