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

Vertical Slices Being Cut Out of STL

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By IADInocencio
  • 1 Post By valgrinda

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2021, 10:54
Post Vertical Slices Being Cut Out of STL
  #1
New Member
 
PJoynt
Join Date: Oct 2021
Posts: 21
Rep Power: 6
pjoynt is on a distinguished road
Hi all,

I am currently trying to run a simple wave propagation case using a variable bathymetry defined by a STL. I have done this simulation with the exact same STL in OpenFOAM without issue but when I try to re-create the simulation in REEF3D I get some vertical slices that are being generated by the mesh. The attached image is viewing the first time step of the pvtu using a contour by phi with a value range of 0.

Are there any suggestions on how to go about fixing this issue or if this is just a visual bug?

I have attached the control, ctrl, and stl files (the stl would only upload with a .txt extension)

Cheers,
Patrick
Attached Images
File Type: png verticalSlices.PNG (58.6 KB, 20 views)
Attached Files
File Type: txt ctrl.txt (821 Bytes, 11 views)
File Type: txt control.txt (133 Bytes, 11 views)
File Type: txt solid.stl.txt (12.2 KB, 10 views)
pjoynt is offline   Reply With Quote

Old   November 4, 2021, 06:01
Default
  #2
Member
 
Ismael Incoencio
Join Date: Sep 2021
Posts: 45
Rep Power: 7
IADInocencio is on a distinguished road
Hi, sorry I'm still new to this software too, but I noticed this shows up when the still water level crosses objects. Not sure about the numerical meaning of this, but I've attached a sample to show.

Sadly I'm still running something on my workstation, so I can't test your files yet.
Attached Images
File Type: jpg WITH SOLID.JPG (26.0 KB, 19 views)
File Type: jpg WITHOUT SOLID.JPG (20.9 KB, 17 views)
pjoynt likes this.
IADInocencio is offline   Reply With Quote

Old   November 8, 2021, 06:33
Default
  #3
Senior Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 14
kamath is on a distinguished road
As you might have known, the model uses the level set method to represent the free surface. In addition, when you have structures in the domain, the lev set method is used to represent the boundary of such an object as well.

Therefore, you will see the "vertical slices" around these structures when you load the first (just initialised) time step from the simulation.

It is not a bug, it is simply a visual representation of the complete level set representation in the domain.

As Inocencio has pointed out, the visual representation "makes sense" once you include the stl of the actual object.

When you look at the simulation running, you will also see how the free surface behaves at the boundary with the structure.

Hope that helps.
__________________
Arun
X years with REEF3D
kamath is offline   Reply With Quote

Old   November 8, 2021, 07:22
Default
  #4
New Member
 
PJoynt
Join Date: Oct 2021
Posts: 21
Rep Power: 6
pjoynt is on a distinguished road
Quote:
Originally Posted by kamath View Post
As you might have known, the model uses the level set method to represent the free surface. In addition, when you have structures in the domain, the lev set method is used to represent the boundary of such an object as well.

Therefore, you will see the "vertical slices" around these structures when you load the first (just initialised) time step from the simulation.

It is not a bug, it is simply a visual representation of the complete level set representation in the domain.

As Inocencio has pointed out, the visual representation "makes sense" once you include the stl of the actual object.

When you look at the simulation running, you will also see how the free surface behaves at the boundary with the structure.

Hope that helps.

Thanks kamath, great to know!
pjoynt is offline   Reply With Quote

Old   November 9, 2021, 10:43
Default
  #5
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19
valgrinda is on a distinguished road
Hi all,

in general, the solid geometries are used as an overlay over the mesh loaded in preview. Without the "REEF3D_Solid.vtp", the free surface my look strange at times. But this only happens "inside" the structure and only due to geometric considerations. So no need to worry, it does not effect your numerical results. You can find the "REEF3D_Solid.vtp" file inside the "DIVEMesh_Paraview" folder (this is also where the grid preview is located).
pjoynt likes this.
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda 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
[Tutorials] Tutorial of how to plot residuals ! wolle1982 OpenFOAM Community Contributions 172 December 6, 2024 07:20
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 2 November 11, 2021 12:04
[CAD formats] Creating waterproof STL using snappyHexMesh or salome Tobi OpenFOAM Meshing & Mesh Conversion 58 May 13, 2020 07:01
[snappyHexMesh] SHM does not cut out STL totalart OpenFOAM Meshing & Mesh Conversion 2 August 3, 2014 03:51
Plotting Residuals ata OpenFOAM 12 July 8, 2011 03:50


All times are GMT -4. The time now is 01:37.