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

DIVEMesh FAQ

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 6 Post By kamath

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2021, 11:54
Default DIVEMesh FAQ
  #1
Senior Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 13
kamath is on a distinguished road
What prerequisites do I need to install and execute DIVEMesh?
Compilation of DIVEMesh requires only the GNU GCC compiler. This is installed as a part of the requirements for REEF3D.

Does DIVEMesh any require third-party software?
No.

How do I define the boundary conditions of my simulation domain?
The input file for DIVEMesh, control.txt, is where the boundary conditions of the simulation domain are defined. This includes the extent of the numerical wave tank, the grid size, grid stretching, wave generation, numerical beach, side and bottom wall boundaries.
You can use the example files for control.txt provided in the Tutorials folder as a template to setup your simulation domain.

How do I include bottom fixed structures in my simulation domain? How do I include a complex structure generated using a CAD software in the domain?
You can build complex fixed structures in the domain using the primitive solids defined in DIVEMesh using the S options. Multiple connected primitive solids will behave as one solid object in the domain.
You can also import complex structures in to the domain using the option S 1. Remember that the file should be in the ASCII format and be named solid.stl for DIVEMesh to recognise it as a file to be represented in the simulation domain. In case you need to convert an STL file from binary to Ascii, open the file in paraview and use the File> Save Data option, chose file type STL and select ASCII when prompted.

This applies only to fixed structures in the domain. For floating structures, refer to the FAQ on REEF3D.

How do I visualise the grid generated in DIVEMesh?
Including B 130 1 in control.txt will output a file grid_spacing.vtk that can be opened in Paraview to get an idea of the grid generated for the simulation. This file, though, does not take into account the presence of the object and you will see simply the grid in the entire domain.

On what faces of the simulation domain can I impose the wave generation boundary condition?
As of now (2021), wave generation boundary condition can only be applied to face 1 (C 11 6), that is the left boundary of the domain.

On what faces of the domain can I use the numerical beach boundary condition?
The beach boundary condition can be applied on all faces of the domain.

How do I include bathymetry in my computational domain?
The G commands (see DiveMESH user manual) in control.txt allows you to include a bathymetry file named as geo.dat. The format of geo.dat is simply three columns of digits containing the x, y and z coordinates.
__________________
Arun
X years with REEF3D
kamath is offline   Reply With Quote

Old   March 1, 2022, 04:10
Exclamation
  #2
Senior Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 13
kamath is on a distinguished road
edit: If you are updating REEF3D or DiveMESH to a new version using
Code:
git pull
then remember to first use:
Code:
make clean
and then use:
Code:
make -j N
where N is the number of cores

to compile the new version of the code.
This ensures that previously created objects do not interfere with new compilation. Not doing this can under many occasions lead to unforeseen errors.
__________________
Arun
X years with REEF3D
kamath is offline   Reply With Quote

Old   March 1, 2022, 04:13
Lightbulb
  #3
Senior Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 13
kamath is on a distinguished road
When there is a new release of DiveMESH along with a new release of REEF3D, please update both of them.
In such cases, the new REEF3D is NOT backward compatible with the older DiveMESH.
Therefore, crucial to update both in the case of a double release
__________________
Arun
X years with REEF3D
kamath is offline   Reply With Quote

Old   July 11, 2023, 02:19
Exclamation geo.dat file
  #4
New Member
 
Chitrangini S
Join Date: Jun 2023
Location: Mumbai, India
Posts: 13
Rep Power: 2
@Chitrangini is on a distinguished road
Dear Sir,
I want to know if we need to write bathymetry data in ASCII format in geo.dat file?

Thanks
@Chitrangini is offline   Reply With Quote

Old   July 11, 2023, 08:41
Default
  #5
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 377
Rep Power: 17
valgrinda is on a distinguished road
Yes, the geo.dat file is in ASCII format: [x y z] coordinates.
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   July 12, 2023, 03:27
Default
  #6
New Member
 
Chitrangini S
Join Date: Jun 2023
Location: Mumbai, India
Posts: 13
Rep Power: 2
@Chitrangini is on a distinguished road
Thank you Sir. I will try that.
@Chitrangini is offline   Reply With Quote

Reply

Tags
divemesh, grid generation, reef3d


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
CD-adapco FAQ Started - Fill it with Content! Jonas Larsson Siemens 0 September 12, 2005 10:51
Fluent FAQ Started - Fill it With Questions Jonas Larsson FLUENT 0 September 12, 2005 10:41
CFX FAQ Started - Fill it With Questions/Answers Jonas Larsson CFX 0 September 12, 2005 10:14
Phoenics FAQ - Editors Wanted Jonas Larsson Phoenics 0 September 6, 2005 03:53
Fluent FAQ - Editors Wanted Jonas Larsson FLUENT 0 September 6, 2005 03:50


All times are GMT -4. The time now is 17:33.