Troubleshooting Mesh Issues in Gambit and Fluent CFD Tutorials

  • Thread starter himanshu121
  • Start date
  • Tags
    Cfd Fluent
In summary, GAMBIT is a powerful geometry and mesh generation software with a single interface. It is great for CAD to CFD transitions and is very user friendly. There are many tutorials and manuals available online. Accuracy and efficiency are important considerations when using GAMBIT. For acoustic analysis, CFX or a third-party solver is required.
  • #1
himanshu121
653
1
Hi
i want to know the difference b/w a good mesh and a bad mesh in gambit, pls give me suggestions and if possible a good link which gives a lot of tutorial on gambit and fluent,

I am attaching a msh file which i created using gambit can anyone pls suggest what is wrong with the above mesh

All the help is appreciated and thanks in adv.

Regards
Himanshu
 
Engineering news on Phys.org
  • #2
i donn know how to upload such a large file of .msh format
 
  • #3
u can find the the document here
http://home.iitk.ac.in/~himan/
 
Last edited by a moderator:
  • #4
There are no good meshes and bad meshes. The only thing a mesh must fulfill is the well posed algebraic transformation: it's jacobian must be well defined (no physical point should be described by two computational points at the same location).

What makes a mesh a good mesh is the kind of computation you want to calculate. Before working with fluent o gambit, you should have in your mind how your physical realisation is going to result, where are going to be the largest gradients and what are the critical localizations where the propagation of numerical errors is more likely to occur. A lot of manuals are on line (there are manuals attached to the cd of each program). Or go to the library and check out the Fluent manual.
 
  • #5
In general, 3D FEM has particlar stability criterion regardless of software.

Here is a nice summary for CFD from Flow Science (Flow 3D)
http://www.flow3d.com/Cfd-101/criteria.htm

More generally -
http://www.flow3d.com/Cfd-101/cfd101.htm

GAMBIT: Geometry and Mesh Generation
GAMBIT is Fluent’s geometry and mesh generation software. GAMBIT's single interface for geometry creation and meshing brings together most of Fluent's preprocessing technologies in one environment. Advanced tools for journaling let you edit and conveniently replay model building sessions for parametric studies. GAMBIT's combination of CAD interoperability, geometry cleanup, decomposition and meshing tools results in one of the easiest, fastest and most straightforward preprocessing paths from CAD to quality CFD meshes.
http://www.fluent.com/software/gambit/index.htm

http://www.fluent.com/software/fluent/index.htm
http://www.fluent.com/software/fluent/grids.htm
http://www.fluent.com/software/fluent/dynamic.htm

Certainly mesh generation is important. I am not particularly familiar with GAMBIT, but I expect there is a default node/element density.

In certainly problems, the meshing would need adjustment, particular where there are large thermal gradients, otherwise the elements require appropriate shape/form functions. Computational efficiency is another issue that must be considered.

One can register for FLUENT support as a professional or academic/student -
http://www.fluent.com/support/fuscreg.htm

One may also try the following CFD forum -
http://www.cfd-online.com/Forum/
 
Last edited:
  • #6
cfd

hi
i wanted to do a 3D meshing of a wind turbine propeller in gambit.then i wanted to do aero acoustic analysis on it .could anyone help me out. thanks
 
  • #7


saadsami said:
hi
i wanted to do a 3D meshing of a wind turbine propeller in gambit.then i wanted to do aero acoustic analysis on it .could anyone help me out. thanks
HI,I am going to to do a similar project too. Thus I am very pleased to keep in touch with you if possible. Please do not hesitate to contact me.Thank you very much.
My email:gmwsy@sjp.buaa.edu.cn
 
  • #8
I don't mean to crap on your day, but I wouldn't trust those type of codes very much for aeroacoustics. We use CFX, and they claim at best 2nd order, and I've heard that the actual code runs at first order. This in layman's terms means that as you add more grid points, the solution doesn't converge quickly towards the actual solution (which as we know we will never get).

If you really want to resolve the acoustic waves, which can be magnitudes of orders down from the mean flow, you're going to need a LOT of grid. Also make sure you do whatever you can get to double precision for your solver, otherwise don't waste your time.

As with any third-party CFD solver, you'll get an answer, and it will probably seem right, but you have no idea what its really doing.

[/biased] :)
 
  • #9
A good grid is a grid that has no influence on the solution. When a grid is too fine you could get numerical round of errors and when to course one could get truncation errors.
Typically you want to watch aspect ration and skew angle, both can be checked in Gambit.
Also, the grid type should really depend on your problem. hexahedral grids are typically preferred in combustion modeling.
 
  • #10
The only time I've heard of there being a problem using too fine a mesh is if one is using a DRP scheme and just happens to start and end at the right point. Unless the grid size is approaching machine zero, IMHO you cannot ever make the mesh too small (making sure of course each line is at least d2 differentiable (assuming structured grid).
 
  • #11
Like they said before, when you apply small changes to a GOOD mesh, there will be little difference in the solution. The opposite for bad meshes.

I like to make a uniform mesh and use the grid adaptation tools in fluent to refine the mesh for me. Otherwise, you will be spending A LOT of time building grids.
 
  • #12


gmwsy said:
HI,I am going to to do a similar project too. Thus I am very pleased to keep in touch with you if possible. Please do not hesitate to contact me.Thank you very much.
My email:gmwsy@sjp.buaa.edu.cn

Hi , gmwsy@sjp.buaa.edu.cn I m student of beihang university. at the same time, i m studying gambit and fluent, too. i would like to know how to construct 3d nozzle in gambit. if you have experience with gambit please guide me how to construct that nozzle. my email is tunzawcn@gmail.com.
 
  • #13
Hi all,
I am working on my project using gambit for geometry and mesh generation,
in edge meshing I have no problem and in face meshing by tri-pave element I can mesh my faces successfuly but for volume meshing I can not mesh my volume,I don't know why but for every selections of my elements gambit provides an error.
only steirstep meshing is compatible and successfull.But this type of meshing creates additional faces and volumes that provides errors for boundary conditions and fluent mesh checking.is there any way to mesh my project successfully with other types of meshing?
please help me if you can.
with regards,
arman.
arman2h_civil@yahoo.com
 
  • #14
hi guys...am doing a project on turbine blades too...but there is a small problem in my mesh creation...there are no errors generated but my final pressure contour is not right... I am doing a 3d model by using a hex/tri mesh.
 
  • #15
You probably should have started a new thread, but why do you think that the problem lies in the mesh?
 
  • #16
because the only warning i get is during the mesh export...!
 
  • #17
Warning for poorly shaped elements? How poor? Where in the grid? What's the solution look like there? There are MANY questions you need to figure out before you can try debugging a problem like this and truly identifying where the problem lies.

Maybe you're just running to large CFL.
 
  • #18
I created a airfoil volume and placed it inside a cube. Gave the flow from left to right, subtracted the airfoil volume from the cube. Then I went for a volume mesh... Highly skewed elements <0.97...
 
  • #19
There are about a billion things that can go wrong with a CFD run. If the only you have to look at is the grid, then you need to hit the textbooks.
 
  • #20
hello
i'm asking is it possible to import vertexe from MATLAB program?
 
  • #21
I want 2 know "how 2 define the successive ratio in meshin?"
 
  • #22
about bryaton cycle
 
  • #23
Hello everyone. I've made a mesh file in Gambit 2.4.6 and want to open it in FLUENT 6.3.26. But FLUENT can't read the mesh file. Can anyone help and say what to do. It gives me the following:
Error: bad syntax. Usage:
utility fe2ram dimension read_format zoning write_format [inputfile [outputfile]]
dimension: [-d2 | -d3 | -surface]

Building...
grid,
Error: Null Domain Pointer

Error Object: ()
 
  • #24
how to down load cfd
 

FAQ: Troubleshooting Mesh Issues in Gambit and Fluent CFD Tutorials

What are the common causes of mesh issues in Gambit and Fluent CFD tutorials?

The most common causes of mesh issues in Gambit and Fluent CFD tutorials are incorrect boundary conditions, poor quality mesh elements, and improper geometry setup. These can lead to convergence issues and inaccurate results.

How can I check the quality of my mesh?

You can check the quality of your mesh by using the mesh diagnostic tools available in Gambit and Fluent. These tools can identify elements with poor aspect ratios, skewness, or distortion, which can affect the accuracy of your results.

What is the recommended mesh size for CFD simulations?

The recommended mesh size for CFD simulations depends on the complexity of your geometry and the level of accuracy required. In general, a finer mesh will provide more accurate results, but it will also increase the computational time and resources needed.

How do I troubleshoot mesh issues in Gambit and Fluent CFD tutorials?

To troubleshoot mesh issues, first check your boundary conditions and make sure they are correctly applied. Then, use the mesh diagnostic tools to identify and fix any poor quality elements. If the issue persists, review your geometry setup and make sure it is suitable for your simulation.

Can I import a mesh from other software into Gambit and Fluent?

Yes, both Gambit and Fluent support the import of meshes from other software in various formats such as ANSYS, STL, and Nastran. However, it is important to check for any compatibility issues and make necessary adjustments to ensure a smooth import.

Similar threads

Replies
1
Views
4K
Replies
1
Views
14K
Replies
1
Views
1K
Replies
1
Views
2K
Replies
2
Views
4K
Back
Top