|
[Sponsors] |
March 14, 2021, 12:54 |
DIVEMesh FAQ
|
#1 |
Senior Member
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 14 |
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 |
|
March 1, 2022, 05:10 |
|
#2 |
Senior Member
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 14 |
edit: If you are updating REEF3D or DiveMESH to a new version using
Code:
git pull Code:
make clean Code:
make -j N 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 |
|
March 1, 2022, 05:13 |
|
#3 |
Senior Member
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 14 |
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 |
|
July 11, 2023, 03:19 |
geo.dat file
|
#4 |
New Member
Chitrangini S
Join Date: Jun 2023
Location: Mumbai, India
Posts: 13
Rep Power: 3 |
Dear Sir,
I want to know if we need to write bathymetry data in ASCII format in geo.dat file? Thanks |
|
July 11, 2023, 09:41 |
|
#5 |
Super Moderator
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19 |
Yes, the geo.dat file is in ASCII format: [x y z] coordinates.
|
|
July 12, 2023, 04:27 |
|
#6 |
New Member
Chitrangini S
Join Date: Jun 2023
Location: Mumbai, India
Posts: 13
Rep Power: 3 |
Thank you Sir. I will try that.
|
|
Tags |
divemesh, grid generation, reef3d |
|
|
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 |