CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > REEF3D

Heave decay of circular cylinder

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 1 Post By Varada
  • 1 Post By soydana
  • 1 Post By soydana
  • 1 Post By valgrinda

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 18, 2023, 13:41
Default Heave decay of circular cylinder
  #1
Member
 
Bhargav
Join Date: Aug 2022
Posts: 30
Rep Power: 4
Varada is on a distinguished road
Hello REEF3D team,

I am currently working on a heave decay simulation of a cylinder using REEF3D, as detailed in the paper titled "Simulation of floating bodies using a combined immersed boundary with the level set method in REEF3D" (H. Bihs, A. Kamath, J. Lu, and Ø. Arntsen, MARINE VII Conference, 2017).

In my study, I initially achieved good agreement between experimental and numerical results. However, as time progresses, I've noticed a growing deviation between the two sets of results.

I have attached the relevant control and ctrl files used in the simulation, along with a comparative plot for your reference. I would greatly appreciate it if you could spare some time to review these files. If you identify any discrepancies or potential errors in my input files, kindly guide me in rectifying them.
Attached Images
File Type: jpg Heave_Decay_2D.JPG (23.8 KB, 29 views)
Attached Files
File Type: txt control.txt (120 Bytes, 6 views)
File Type: txt ctrl.txt (344 Bytes, 7 views)
Varada is offline   Reply With Quote

Old   August 20, 2023, 14:44
Default
  #2
Senior Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 13
kamath is on a distinguished road
As time proceeds, the motions and waves produced become smaller. Decay tests are generally not really good for replication of experimental results in numerical model.
Check with a higher grid resolution
__________________
Arun
X years with REEF3D
kamath is offline   Reply With Quote

Old   August 22, 2023, 04:30
Default
  #3
Member
 
Bhargav
Join Date: Aug 2022
Posts: 30
Rep Power: 4
Varada is on a distinguished road
Help Needed: Choosing the Right X 41 Value for floating body simulations in REEF3D

I'm working with REEF3D and I'm a bit confused about the X 41 parameter. The default value is 0.6, but in the ctrl.txt for heave decay of a sphere given in tutorial (user REEF3D guide), you used 2.1.

I tried both values for a cylinder's heave decay in a 2D wave tank, and the results are different. Any suggestions on which value I should use?

Thanks you
Varada is offline   Reply With Quote

Old   August 23, 2023, 00:29
Default MPI-error
  #4
New Member
 
HCMC
Join Date: Aug 2023
Posts: 22
Rep Power: 3
TrungPham is on a distinguished road
Quote:
Originally Posted by Varada View Post
Hello REEF3D team,

I am currently working on a heave decay simulation of a cylinder using REEF3D, as detailed in the paper titled "Simulation of floating bodies using a combined immersed boundary with the level set method in REEF3D" (H. Bihs, A. Kamath, J. Lu, and Ø. Arntsen, MARINE VII Conference, 2017).

In my study, I initially achieved good agreement between experimental and numerical results. However, as time progresses, I've noticed a growing deviation between the two sets of results.

I have attached the relevant control and ctrl files used in the simulation, along with a comparative plot for your reference. I would greatly appreciate it if you could spare some time to review these files. If you identify any discrepancies or potential errors in my input files, kindly guide me in rectifying them.
Hi Varadar,
I have used your control and ctrl files (just change number of processors) but it did not work (see attachment picture )
Please kindly guide me in rectifying them.
Thank you ever so much
Attached Images
File Type: jpg MPI-error.JPG (87.5 KB, 13 views)
TrungPham is offline   Reply With Quote

Old   August 23, 2023, 02:09
Default
  #5
Member
 
Bhargav
Join Date: Aug 2022
Posts: 30
Rep Power: 4
Varada is on a distinguished road
I believe the input files are ok since the simulation is running on my computer. Please try by upgrading to the latest version of REEF3D.
TrungPham likes this.
Varada is offline   Reply With Quote

Old   August 23, 2023, 04:44
Default
  #6
New Member
 
HCMC
Join Date: Aug 2023
Posts: 22
Rep Power: 3
TrungPham is on a distinguished road
Quote:
Originally Posted by varada View Post
i believe the input files are ok since the simulation is running on my computer. Please try by upgrading to the latest version of reef3d.
control.txt

ctrl.txt
Dear Varada,
Thank you for your replying. I have just updated the latest version of REEF3D and run but there's the same error. May be I will try again.
Best regards
TrungPham is offline   Reply With Quote

Old   August 23, 2023, 09:36
Default
  #7
New Member
 
Ahmet Soydan
Join Date: Jun 2015
Location: Trondheim, Norway
Posts: 25
Rep Power: 12
soydana is on a distinguished road
Quote:
Originally Posted by Varada View Post
Hello REEF3D team,

I am currently working on a heave decay simulation of a cylinder using REEF3D, as detailed in the paper titled "Simulation of floating bodies using a combined immersed boundary with the level set method in REEF3D" (H. Bihs, A. Kamath, J. Lu, and Ø. Arntsen, MARINE VII Conference, 2017).

In my study, I initially achieved good agreement between experimental and numerical results. However, as time progresses, I've noticed a growing deviation between the two sets of results.

I have attached the relevant control and ctrl files used in the simulation, along with a comparative plot for your reference. I would greatly appreciate it if you could spare some time to review these files. If you identify any discrepancies or potential errors in my input files, kindly guide me in rectifying them.
First and foremost, make sure that you are using the latest Release Candidate of REEF3D.

Second, N40 should be 4 in your ctrl file.

Lastly, since the center of the cylinder is placed 0.02454 m above the free surface

center of location of your cylinder should be 1.24454 as below.

X 132 0.0762 0.01 5.0 0.005 1.24454

Then you are supposed to get better results.
TrungPham likes this.
__________________
Ahmet Soydan
Team REEF3D
www.reef3d.com
soydana is offline   Reply With Quote

Old   August 23, 2023, 21:27
Default
  #8
New Member
 
HCMC
Join Date: Aug 2023
Posts: 22
Rep Power: 3
TrungPham is on a distinguished road
Quote:
Originally Posted by soydana View Post
First and foremost, make sure that you are using the latest Release Candidate of REEF3D.

Second, N40 should be 4 in your ctrl file.

Lastly, since the center of the cylinder is placed 0.02454 m above the free surface

center of location of your cylinder should be 1.24454 as below.

X 132 0.0762 0.01 5.0 0.005 1.24454

Then you are supposed to get better results.
Thank you for your help.
Best regards
TrungPham is offline   Reply With Quote

Old   August 24, 2023, 01:15
Default
  #9
Member
 
Bhargav
Join Date: Aug 2022
Posts: 30
Rep Power: 4
Varada is on a distinguished road
Thank you for your response. Based on the tutorial, it seems that the value 3 is commonly used for N = 40. I'm curious if using 4 could potentially yield improved results, especially for simulations involving floating bodies. Another parameter I'm unsure about is X 41, which has a default value of 0.6. In the heave decay of a sphere tutorial, the value 2.1 is utilized. Could you kindly provide guidance on selecting an appropriate value for this parameter?
Varada is offline   Reply With Quote

Old   August 24, 2023, 04:32
Default
  #10
New Member
 
Ahmet Soydan
Join Date: Jun 2015
Location: Trondheim, Norway
Posts: 25
Rep Power: 12
soydana is on a distinguished road
Quote:
Originally Posted by Varada View Post
Thank you for your response. Based on the tutorial, it seems that the value 3 is commonly used for N = 40. I'm curious if using 4 could potentially yield improved results, especially for simulations involving floating bodies. Another parameter I'm unsure about is X 41, which has a default value of 0.6. In the heave decay of a sphere tutorial, the value 2.1 is utilized. Could you kindly provide guidance on selecting an appropriate value for this parameter?
With the new release candidate of REEF3D, it needs to be used N 40 4 which was N40 3 before.

When it comes to the X 41 parameter, a thinner thickness layer can be used now as some improvements have been applied to the 6DOF algorithm in REEF3D. So I'd recommend you to use 0.6 which is a default value for X 41 now.
TrungPham likes this.
__________________
Ahmet Soydan
Team REEF3D
www.reef3d.com
soydana is offline   Reply With Quote

Old   August 24, 2023, 05:45
Default
  #11
New Member
 
HCMC
Join Date: Aug 2023
Posts: 22
Rep Power: 3
TrungPham is on a distinguished road
Quote:
Originally Posted by soydana View Post
With the new release candidate of REEF3D, it needs to be used N 40 4 which was N40 3 before.

When it comes to the X 41 parameter, a thinner thickness layer can be used now as some improvements have been applied to the 6DOF algorithm in REEF3D. So I'd recommend you to use 0.6 which is a default value for X 41 now.
When using the command N 40 4, I get an error like the image attached (if I use N 40 3, I don't get this error).
Thank you in advance for your help.
N40.JPG
TrungPham is offline   Reply With Quote

Old   August 24, 2023, 05:48
Default
  #12
New Member
 
Ahmet Soydan
Join Date: Jun 2015
Location: Trondheim, Norway
Posts: 25
Rep Power: 12
soydana is on a distinguished road
Quote:
Originally Posted by TrungPham View Post
When using the command N 40 4, I get an error like the image attached (if I use N 40 3, I don't get this error).
Thank you in advance for your help.
Attachment 95869
Can you share your control files?
__________________
Ahmet Soydan
Team REEF3D
www.reef3d.com
soydana is offline   Reply With Quote

Old   August 24, 2023, 06:05
Default
  #13
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 396
Rep Power: 18
valgrinda is on a distinguished road
I think you guys are confusing code versions:

Varada is using the master, whereas the change to N 40 4 as low storage RK is only in the latest RC.

In Varada's version, N 40 4 is still IMEX (removed in RC).
TrungPham likes this.
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   August 24, 2023, 06:14
Default
  #14
New Member
 
HCMC
Join Date: Aug 2023
Posts: 22
Rep Power: 3
TrungPham is on a distinguished road
[QUOTE=soydana;855814]
Can you share your control files?
Here is the control and ctrl files.
Best regards
control.txt
ctrl.txt

Hi All,
By the way, I have a few more questions:
Based on the setup CFD model presented in as detailed in the paper titled "Simulation of floating bodies using a combined immersed boundary with the level set method in REEF3D" (H. Bihs, A. Kamath, J. Lu, and Ø. Arntsen, MARINE VII Conference, 2017), I adapted my example as follows:
1. The spatial domain of the numerical wave tank (NWT) is 30m long 1.2m width and 1.0m high. The water depth is d=0.71m and the water is initially still. The density of the water is ρ=1000kg/m3.
2. A circular cylinder is located at 21.5m far from Wavemaker.
3. Input wave parameters (height, period): 0.17m, 2.27s
3. Water depth 0.71m
4. The body is a horizontal circular cylinder with a radius r=0.115m and half of water density, ρ=500kg/m3. The cylinder is partially submerged with its centroid at h1=0.03m above the free surface.
Is it correct to declare X 131 statement as below?
X 131 0.115 21.615 21.5 0.60 0.74
TrungPham is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Flow over a circular cylinder, Re=8000, Problem with cd david caseiro FLUENT 4 October 10, 2017 10:18
[Gmsh] 3D Free surface flow past circular cylinder meshing using GMSH arieljeds OpenFOAM Meshing & Mesh Conversion 7 January 14, 2017 12:57
Local Nusselt Number Around Circular Cylinder! mskamran FLUENT 2 May 9, 2013 09:12
Flow past 2 smooth circular cylinder slip FLUENT 0 July 8, 2010 18:45
[blockMesh] Grid generation cross flow over circular cylinder Yanma OpenFOAM Meshing & Mesh Conversion 0 July 7, 2010 08:02


All times are GMT -4. The time now is 20:05.