CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > REEF3D


Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree5Likes
  • 5 Post By kamath

LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2021, 12:54
Default DIVEMesh FAQ
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 97
Rep Power: 10
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?

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.
kamath is offline   Reply With Quote


divemesh, grid generation, reef3d

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 11:51
Fluent FAQ Started - Fill it With Questions Jonas Larsson FLUENT 0 September 12, 2005 11:41
CFX FAQ Started - Fill it With Questions/Answers Jonas Larsson CFX 0 September 12, 2005 11:14
Phoenics FAQ - Editors Wanted Jonas Larsson Phoenics 0 September 6, 2005 04:53
Fluent FAQ - Editors Wanted Jonas Larsson FLUENT 0 September 6, 2005 04:50

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