|
[Sponsors] |
September 13, 2021, 10:37 |
Issue when using grid stretching
|
#1 |
New Member
Joao Brazao
Join Date: Aug 2021
Posts: 7
Rep Power: 5 |
Hi everyone, hope you're all well.
I've been optimising a model by changing the resolution of the grid in the area where I intend to place the solid of interest. Once I add grid stretching with option 8 - "three zones with constant d[...]" - the execution of Reef3D fails with the following message: ERROR detected by Hypre ... BEGINIt runs without issues when I use a cubic cells size and a rectangular domain. Does anyone have the same issue when running the input files? Thank you in advance. My system details for reference: Model Name: MacBook Pro Model Identifier: MacBookPro15,1 Processor Name: 6-Core Intel Core i7 Processor Speed: 2.6 GHz Number of Processors: 1 Total Number of Cores: 6 Memory: 16 GB |
|
September 14, 2021, 03:45 |
|
#2 |
Senior Member
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 14 |
Use B 2 to define the total number of cells. Otherwise the maximum number of cells is undefined and thus the decomposition incomplete.
Also you can use the output DIVEMesh-Non-Uniform-Mesh.txt to look at the max and min sizes and their locations. Include B 130 1 and you get gridSpacing.vtk which shows you the grid in Paraview.
__________________
Arun X years with REEF3D |
|
September 15, 2021, 13:28 |
|
#3 | |
New Member
Joao Brazao
Join Date: Aug 2021
Posts: 7
Rep Power: 5 |
Quote:
Edit: found the issue that was remaining in my interpretation of how the code in B 123 is used. The z1 and z2 are the absolute coordinate where to start the following section - I though they were additive to each other. Thank you once again. Good stuff this. |
||
November 7, 2023, 08:43 |
|
#4 | |
New Member
wangya
Join Date: Nov 2023
Posts: 1
Rep Power: 0 |
Quote:
|
||
November 8, 2023, 14:45 |
|
#5 |
New Member
Joao Brazao
Join Date: Aug 2021
Posts: 7
Rep Power: 5 |
Hi there wangya, I did solve the problem. The problem was misinterpretation of how to provide inputs to the variable grid sections. Testing it, by using B130, and then looking at the gridSpacing file on Paraview, was really helpful. I advise you do a couple tests, print with B130 and inspect your grid - you'll probably find what input you are providing that might be wrong. You just need to run the diveMESH, no need for a full simulation. Hope this helps!
|
|
December 27, 2023, 09:02 |
|
#6 |
New Member
Keshav Pathak
Join Date: Jul 2022
Posts: 27
Rep Power: 4 |
Hello REEF3D team
I am experiencing the same error while using spacing.dat file for generating the grid mesh. My simulation runs ok while using the given options other than B 101 10, B 102 10 and B 103 10. However, I am getting the similar error while using the B 102 10 option. I am attaching all the necessary files for your consideration. Thank you Regards KP |
|
January 14, 2024, 07:25 |
|
#7 |
Super Moderator
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19 |
Your y-spacing file contains "0.500" twice, so dy becomes zero there - resulting in divide by zero errors.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mapping results from CFD grid to structural grid of a free-form surface | mbecker | OpenFOAM Running, Solving & CFD | 1 | October 18, 2013 11:16 |
Grid stretching to achieve non-reflecting BCs | lost.identity | Main CFD Forum | 4 | December 1, 2009 15:35 |
Convergence issue with fine grid | itisharisankar | FLUENT | 0 | June 27, 2009 03:02 |
MapFields to New Grid For Extreme Grid Deformations due to Body Motion | albcem | OpenFOAM | 0 | May 5, 2009 15:17 |
Grid Quality and the Solution | Faraz | Main CFD Forum | 4 | January 10, 2000 19:18 |