CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

[GAMBIT] Problems while meshing a 3d CAD model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2012, 04:41
Default Problems while meshing a 3d CAD model
  #1
Member
 
Georgi Angelov
Join Date: Nov 2012
Posts: 78
Rep Power: 13
CFDST is on a distinguished road
Hello all CFD's users,

I have a problem while meshing a imported 3d CAD model.The model is for HVAC simulation and the Inlets are at the top and the oulets are at the botom of the model. First I tried to imported is an iges file but when i choose a spatial import options and make all the options that I have read in the gambit(ansys) user guide, nothing happens I clicked accept and there is nothing on the screen. Next I tried to imported it again as an iges but a "native" import options this works but no volumes where recognised and the model is a little bit grey it is not colored well. Next I tried to import it as an acis file and it works best. I have one volume recognised, all the faces are also recognised. So I started to mesh it - first to mesh the volume and next the inlets,outlets and walls. Meshing the volume- the process starts but at the middle of it an error appears on the screen and it says: "That a fatal error has occurred.It is not possible for GAMBIT to continue from this point.Please contact your local fluent officer..... ". The only way to mesh the volume is with stairstep mesh,but this mesh is not complete and there are only 5 or 6 zones meshed in the whole model,so the only option for me was the stairstep despite of the mesh is not complete but it works somehow. Next meshing the outlets,inlets and walls- It works I meshed it with Tri-Pave 0.05. I made all the boundary types-the inlets with velocity inlets,the outlets with outflow and the walls. When I export the mesh and opened it in fluent and click grid-check- Errors appeared- Skipping all the outlets and inlets(not referenced by grid) and when I click display grid-the only grid that appears is the Volume-stairstep grid. My questions are: I have to clean the geometry,because it is too complex for gambit to mesh it?
2.Why fluent can not recognise the outlets and inlets grid despite of the fact they are meshed.
I have upload the cad file and the iges and sat file.Thank in advance.
CFDST is offline   Reply With Quote


Old   November 6, 2012, 05:55
Default
  #3
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
If nobody helps you until friday, I will check it at the office (still in vacation )
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   November 6, 2012, 06:22
Default
  #4
Senior Member
 
Marion
Join Date: Jul 2012
Location: France
Posts: 122
Rep Power: 14
Marion is on a distinguished road
Hi,
You can try cutting your volumes into smaller volumes in order to find out where the problem is located. IT is also a good way to control the mesh.
Marion.
Marion is offline   Reply With Quote

Old   November 7, 2012, 02:33
Default
  #5
Member
 
Georgi Angelov
Join Date: Nov 2012
Posts: 78
Rep Power: 13
CFDST is on a distinguished road
Thank you for your replies!
Marion- I have tried to clean up the geometry and split in some volumes,but it is still complex and the program give errors. I'm thinking to start using Ansys, but I don't have time now to learn it because I need the analysis of the hall in days.My task in the University is for the next week, so I'm running out of time.
Max- I will be very pleased if you can help me after your vacation.Enjoy it and all the best.
CFDST is offline   Reply With Quote

Old   November 9, 2012, 01:51
Default
  #6
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
you have very thin entities in your model.
You will have to do some splits for meshing it with acceptable quality
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   November 9, 2012, 11:57
Default
  #7
Member
 
Georgi Angelov
Join Date: Nov 2012
Posts: 78
Rep Power: 13
CFDST is on a distinguished road
Thank you Max, I have made the volume again but I had some problems. I want to make it a single volume from all the faces with stitching and then to try meshing the volume. There is an error message: "Cannot create an Acis body. Is this an open shell?". I saw earlier thread in which you said that you have to click on shaded mode to see where are my missing faces,but I cannot see any holes in the model. Here is the model, I will be very pleased if you can see where are the missing faces for creating the volume.The model was made in Autocad 3d from surfaces and regions.
CFDST is offline   Reply With Quote

Old   November 9, 2012, 11:59
Default
  #8
Member
 
Georgi Angelov
Join Date: Nov 2012
Posts: 78
Rep Power: 13
CFDST is on a distinguished road
http://www.2shared.com/file/cRB4WANR...ri_opit-1.html
CFDST is offline   Reply With Quote

Old   November 9, 2012, 23:06
Default
  #9
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
there are many small steps present in the geometry. Are these important?
Far is offline   Reply With Quote

Old   November 12, 2012, 00:49
Default
  #10
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
Quote:
Originally Posted by CFDST View Post
Thank you Max, I have made the volume again but I had some problems. I want to make it a single volume from all the faces with stitching and then to try meshing the volume. There is an error message: "Cannot create an Acis body. Is this an open shell?". I saw earlier thread in which you said that you have to click on shaded mode to see where are my missing faces,but I cannot see any holes in the model. Here is the model, I will be very pleased if you can see where are the missing faces for creating the volume.The model was made in Autocad 3d from surfaces and regions.
From .sat geometry you get a closed volume
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   November 12, 2012, 03:35
Default
  #11
Member
 
Georgi Angelov
Join Date: Nov 2012
Posts: 78
Rep Power: 13
CFDST is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
From .sat geometry you get a closed volume
You made a closed volume from the .sat file ?
CFDST is offline   Reply With Quote

Old   November 12, 2012, 03:51
Default
  #12
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
the import generates the volume automatically
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   November 13, 2012, 04:32
Default
  #13
Member
 
Georgi Angelov
Join Date: Nov 2012
Posts: 78
Rep Power: 13
CFDST is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
the import generates the volume automatically
http://www.2shared.com/file/cRB4WANR...ri_opit-1.html but when I import this file with file/import/acis gambit only recognise 114 faces but no volumes,and when I try to createa volume from wireframe or faces,there is a problem.
CFDST is offline   Reply With Quote

Old   November 13, 2012, 04:38
Default
  #14
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
With your last sat file, yes I also have 114 faces.
But with your first sat file, I get a volume (Gambit 2.4.6)
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   November 14, 2012, 08:44
Default
  #15
Member
 
Georgi Angelov
Join Date: Nov 2012
Posts: 78
Rep Power: 13
CFDST is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
With your last sat file, yes I also have 114 faces.
But with your first sat file, I get a volume (Gambit 2.4.6)
Thank you for the replies. I made a new geometry I have meshed the volume,but now the problems are in Fluent. I meshed the volume with Tet/Hybrid TGrid 0.6,all the air terminals with Tri Pave 0.2, The walls connected with the Air terminals with Tri Pave 0.6 and it works.I set the boundary conditions to the air terminals on top and those on the wall to "velocity inlet" and the floor air terminals to "outflow",all the walls to boundary condition" wall ", the volume to fluid. I have exported the mesh into fluent.But there are problems with the iterations and there is a mistake "outflows reversed flow in 74 faces on outflow 8", I have tried to make the outflow terminals from "Outflow" boundary condition to "Outflow-Pressure" and the erorr message is the same.
My steps in fluent are:
1.File/Read/Case-Hall.msh
2.Grid/Check
3.Display/Grid
4.Define/models/solver-Pressure based and Implicit
5.Define/models/viscous- K- epsilon
6.Define/models/energy-energy equation
7.Define/materials-air
8.Define Boundary Conditions- Velocity inlets Top- 5 m/s and 306 K
Velocity inlets wall-7 m/s 293 K
Walls- Temperature 293 K
Outlets-Flow rate weigthing - 1
Hall- Volume-fluid
9.Solve-Controls-Solutions
Flow and Turbulunce , Second order upwind
10.Solve/monitor/residiuals - plot
11.Solve/Initialize/init
12.file/write/case
13.Solve/Iterate


1.Is this Outflow error from the reason that we haven't put all the air terminals in the hall? because we want to try and then to draw them all,because they are about 350 air t.,
2.May be somewhere in the boundary conditions we are missing something?
3.May be in the mesh it has to be with more precise?
Here are some pictures and the .msh and .dbs files.I will be very pleased if somebody helps me.
CFDST is offline   Reply With Quote


Old   November 14, 2012, 09:02
Default
  #17
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
reversed flow isn't a huge problem.
You may let iterate, and it can disappear.
You could also use pressure-outlet instead of outflow.
Important is to check the convergence. You can also monitor a value like the pressure at your inlet
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   November 14, 2012, 09:41
Default
  #18
Member
 
Georgi Angelov
Join Date: Nov 2012
Posts: 78
Rep Power: 13
CFDST is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
reversed flow isn't a huge problem.
You may let iterate, and it can disappear.
You could also use pressure-outlet instead of outflow.
Important is to check the convergence. You can also monitor a value like the pressure at your inlet
I have made 200 iterations and it ends at the 198 iteration with erorr " Floating point error: invalid number"
Erorr object: (). I checked the convergence
criterion and made it 0.01. I change the outflows to presure outlets and the error is the same. Is the problem from the continuity line, or may be if I put all the air terminals in the hall may be it will go down or ?
CFDST is offline   Reply With Quote

Old   November 15, 2012, 07:58
Default
  #19
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
*any errors or warning in the check Mesh?
*is mass conservation respected (massflow in = mass flow out)?
*before iterations break, display velocity contour, and check if it well flows
*check also if you don't have other boundaries as yours, which appear (wall-shadoww, or whatever)
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   December 29, 2012, 06:48
Default gambit sudden crash
  #20
Member
 
Aathavan
Join Date: Nov 2012
Posts: 70
Rep Power: 13
Aadhavan is on a distinguished road
Hi every one,
I am facing strange problem in Gambit, while creating the geometry in gambit. The sudden crash is happening often middle of my work, I dont know what is the reason.

I have attached the error message please have a look and give me some idea what to do?

Thanks,
Aadhavan
Attached Files
File Type: pdf ErrorMessage.pdf (31.2 KB, 11 views)
Aadhavan is offline   Reply With Quote

Reply


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
Problems solving T Equation in separated flow using a second Order Closure Model pascool OpenFOAM Programming & Development 1 November 19, 2012 10:29
Tetra Meshing over Frigate Ship Model rohitsaini@y7mail.com CFX 11 September 3, 2012 14:26
Problems bout CFD model of biomass gasification, Downdraft gasifier wanglong FLUENT 2 November 25, 2009 23:27
CAD model sliver faces - CFX Mesh - Parasolid? Ianto CFX 3 February 8, 2009 18:32
Vehicle CAD Model Meshing B Bru Siemens 5 June 8, 2007 17:30


All times are GMT -4. The time now is 16:41.