CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Reference area and wave profile along the hull

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 26, 2019, 17:47
Default Reference area and wave profile along the hull
  #1
New Member
 
Doyal kumar sarker
Join Date: May 2017
Location: Dhaka,Bangladesh
Posts: 6
Rep Power: 9
doyal kumar is on a distinguished road
Hii
I would like to predict total resistance coefficient and wave profile along the Wigley hull in STAR-CCM+. I am having some problems with my simulation.
I have created a force coefficient report but what would be the reference area in properties bar? Or is there any way to calculate the wetted surface area of the hull?
I am using a flat vof wave and DFBI model which is free to sink and trim. I want to create a wave profile along the hull, but don't know what to do.
Any advice would be a great help. Thank you.
doyal kumar is offline   Reply With Quote

Old   September 9, 2019, 12:12
Default
  #2
Senior Member
 
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20
ping is on a distinguished road
create a sum report using the area field function in the direction required to get the projection hull area

wave profile can be made by creating an isosurface of the volume fraction of water at 0.5 but use the hull surface as the input part rather than the full region
ping is offline   Reply With Quote

Old   September 9, 2019, 16:29
Default
  #3
New Member
 
Doyal kumar sarker
Join Date: May 2017
Location: Dhaka,Bangladesh
Posts: 6
Rep Power: 9
doyal kumar is on a distinguished road
Ping, Thank you very much.
Now I am clear about the reference area. But one more question on wave profile, if I select full region as input part, I get the a wave pattern and by activating isoline labels also get the value of position[z] on the isosurface but there are so many value. Now my question is, how can I get the value of position[z] just on the surface of the hull so that I can plot a graph wave height vs length of the hull. For convenience, I am attaching an image of wave scene. Again, thanks for helping me.
Attached Images
File Type: jpg wave scene.JPG (153.2 KB, 40 views)
doyal kumar is offline   Reply With Quote

Old   September 9, 2019, 22:44
Default
  #4
Senior Member
 
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20
ping is on a distinguished road
you have not followed my answer since you have used the full domain as the input part for the isosurface

you need to replace that with just the hull boundary and this creates the intersection of the wave and hull which is a line

and rid the iso labels and just use a normal smoothed contour

and if you have modeled the full hull rather than half then to rid one half you can clip the scene displayer in the y direction
ping is offline   Reply With Quote

Old   September 10, 2019, 08:54
Default
  #5
New Member
 
Doyal kumar sarker
Join Date: May 2017
Location: Dhaka,Bangladesh
Posts: 6
Rep Power: 9
doyal kumar is on a distinguished road
Sorry I was mistaken. Now I have created an iso surface with the input region just hull. Here are my steps
open a scalar scene with above mentioned iso surface as part and assigned the position[z] as field function.
Got the intersection line as you said but by activating iso labels there were no value on that intersection line. though there is a color bar that indicates the value of position[z] but it is quite difficult to point out the exact location on the line.
could you please explain further.
Thanks.
Attached Images
File Type: jpg Wave Scene2.JPG (19.2 KB, 42 views)
doyal kumar is offline   Reply With Quote

Old   September 10, 2019, 09:30
Default
  #6
Senior Member
 
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20
ping is on a distinguished road
looks like you have the wave profile now so to have just a line with no scalar colour etc place the isosurface in a geometry displayer and then you can control its features and remove the scalar displayer

if you want the profile displayed on a plot then create a new plot and ass the isosurface part to the plot and set the required axes eg x as position x and y as position z
ping is offline   Reply With Quote

Old   September 10, 2019, 13:56
Default
  #7
New Member
 
Doyal kumar sarker
Join Date: May 2017
Location: Dhaka,Bangladesh
Posts: 6
Rep Power: 9
doyal kumar is on a distinguished road
Thanks a lot, ping. My problems have been solved. Without your direction, it wouldn't be possible.
One more question, I know the procedure how to normalize the scalar function. If I want to normalize vector like direction [1,0,0], what will be the procedure?
doyal kumar is offline   Reply With Quote

Old   September 10, 2019, 21:34
Default
  #8
Senior Member
 
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20
ping is on a distinguished road
for your vector question it is time to read some of the extensive help on field functions
ping is offline   Reply With Quote

Old   December 1, 2020, 16:31
Default
  #9
Member
 
Tony Zhang
Join Date: Nov 2019
Location: soton
Posts: 45
Rep Power: 7
zyfsoton is on a distinguished road
Quote:
Originally Posted by doyal kumar View Post
Thanks a lot, ping. My problems have been solved. Without your direction, it wouldn't be possible.
One more question, I know the procedure how to normalize the scalar function. If I want to normalize vector like direction [1,0,0], what will be the procedure?
Hi Doyal, I am facing the same problem as yours. Currently, I am hoping to plot the wave profile along the hull in Paraview but I cannot manage to do that. Could you please share some steps for doing that? Many thanks, Tony
zyfsoton is offline   Reply With Quote

Old   December 3, 2020, 03:45
Default
  #10
Senior Member
 
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20
ping is on a distinguished road
why would you use paraview when it is so easy in star?
ping is offline   Reply With Quote

Old   December 3, 2020, 07:38
Default
  #11
Member
 
Tony Zhang
Join Date: Nov 2019
Location: soton
Posts: 45
Rep Power: 7
zyfsoton is on a distinguished road
Quote:
Originally Posted by ping View Post
why would you use paraview when it is so easy in star?
Hi ping, since I am using openfoam6 to run the case and postprocessing in paraview instead of starccm+, do you have any idea of how to do this in OF? Appreciated it if you can share something. Thanks, T
zyfsoton is offline   Reply With Quote

Old   December 3, 2020, 14:20
Default
  #12
New Member
 
Doyal kumar sarker
Join Date: May 2017
Location: Dhaka,Bangladesh
Posts: 6
Rep Power: 9
doyal kumar is on a distinguished road
Hii,
I didn't use the Openfoam but used Starccm+. And I never used the OpenFoam, so I am afraid whether my done steps would be any help or not.
doyal kumar is offline   Reply With Quote

Old   December 8, 2020, 09:01
Default
  #13
Senior Member
 
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20
ping is on a distinguished road
Quote:
Originally Posted by zyfsoton View Post
Hi ping, since I am using openfoam6 to run the case and postprocessing in paraview instead of starccm+, do you have any idea of how to do this in OF? Appreciated it if you can share something. Thanks, T
i know nothing about paraview, but i would hope you can do it in there too.
the result you want is a line at the intersection of two surfaces - one is the hull which you already have and the other is an iso-surface of the air-water interface and this is normally an iso-surface of the water phase at 0.5 concentration.
as the how you intersect these surfaces i suggest you ask a paraview forum.
ping 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
Pressure for wave height in an Water Wave Tank Cluain CFX 8 December 6, 2021 04:58
Turbulence dissipates too much energy for interFoam to simulate wave breaking jasonchen OpenFOAM Running, Solving & CFD 5 May 18, 2019 10:21
Transient blast wave simulation set-up siw CFX 7 August 25, 2016 19:49
Weird time step initialization behavior - Wave generation model liadpaskin CFX 3 July 11, 2015 07:21
Max and min wave height variating in time with 5order stokes waves lucaoggi STAR-CCM+ 1 October 31, 2014 08:16


All times are GMT -4. The time now is 00:30.