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

[GAMBIT] Rectangular tank.

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By -mAx-

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 17, 2014, 06:49
Default Rectangular tank.
  #1
Member
 
Join Date: Sep 2014
Posts: 43
Rep Power: 11
darkluix88 is on a distinguished road
Hi at all,
I'm studying the sloshing for cars' tanks, so I want to begin my study (I'm at first steps) creating a simple rectangular tank with a negligible length to resolve the problem in 2-D with fluent14.
Now, I've read and seen a lot of tutorials, but there isn't one that makes an example "step to step" for the beginners, so anyone can help me?

For the mesh I'm using gambit, the lenghts are (for example) 15m x 0.1m x 0.5m [L x D x H]...I've created the brick, but now how can I:
1) increase/decrease the number of cells (the command "interval size" doesn't change anything) e realize the mesh?
2) set the boundary conditions on the faces?
3) export only a 2-D face from the tank for 5/6 fluent solver - bidimensional (ps: I've tried over and over but it returns me an error)?

Sorry for my bad English, but thanks to anyone that can help me
darkluix88 is offline   Reply With Quote

Old   October 17, 2014, 08:07
Default
  #2
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
1) in Mesh/Edge you have to pick severela edges in the same time, for controling them on the fly.
In your case, you select the 4 edges for length, then apply a element size.
The same for 4 edges (height), and 4 edges (width).
after doing thant, normally, if everything is ok, you only have to pick one edge, and all the 3 others will be automatically selected

2) https://www.sharcnet.ca/Software/Gam...one_bound_type

3)I would create another dbs for that, and delete all what you don't need
But your 2d face has to lie on XY plane >> see Export Mesh (XY)
https://www.sharcnet.ca/Software/Gam...le_export_mesh

Here are the tutorials: https://www.sharcnet.ca/Software/Gam...uide/tgtoc.htm
ghost82 likes this.
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 21, 2014, 04:07
Default
  #3
Member
 
Join Date: Sep 2014
Posts: 43
Rep Power: 11
darkluix88 is on a distinguished road
At beginning thanks for the help
I have meshed the geometry, but when I try to export 2-D mesh (XY plane) it returns me an error...why?
I have attempted to position the rectangular tank in +X +Y -Z position (with the down-left vertex in the origin of the axes), but I haven't resolved the problem.
darkluix88 is offline   Reply With Quote

Old   October 21, 2014, 04:26
Default
  #4
Senior Member
 
ghost82's Avatar
 
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 26
ghost82 will become famous soon enough
Maybe reporting the error could help
ghost82 is offline   Reply With Quote

Old   October 21, 2014, 14:14
Default
  #5
Member
 
Join Date: Sep 2014
Posts: 43
Rep Power: 11
darkluix88 is on a distinguished road
Sorry, I forgot to write the error
It is this one:
Error: A 2d export was requested but the mesh is not planar within the tolerance defined in the default FILE_I0.MESH.EXPORT_2D_TOLERANCE.
All mesh nodes must lie on the XY plane or a parallel plane within tolerance.
Errors were found during export. Export file was not created.
darkluix88 is offline   Reply With Quote

Old   October 21, 2014, 14:16
Default
  #6
Senior Member
 
ghost82's Avatar
 
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 26
ghost82 will become famous soon enough
The description of the error is self explanatory: 2d geometry must lie in the xy plane.
__________________
Google is your friend and the same for the search button!
ghost82 is offline   Reply With Quote

Old   October 21, 2014, 15:03
Default
  #7
Member
 
Join Date: Sep 2014
Posts: 43
Rep Power: 11
darkluix88 is on a distinguished road
Yes but it doesn't make sense, because my brick is a parallelepiped and the face of my interest is that on XY plane...what is the problem?
darkluix88 is offline   Reply With Quote

Old   October 21, 2014, 15:06
Default
  #8
Senior Member
 
ghost82's Avatar
 
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 26
ghost82 will become famous soon enough
The problem is that if you have a parallelepiped you have a 3d geometry, so uncheck the 2d export option before exporting and run a 3d simulation. If you want a 2d geometry then draw, mesh and export a 2d square (in the xy plane).
__________________
Google is your friend and the same for the search button!
ghost82 is offline   Reply With Quote

Old   October 21, 2014, 15:37
Default
  #9
Member
 
Join Date: Sep 2014
Posts: 43
Rep Power: 11
darkluix88 is on a distinguished road
Ahhh...so if I have a more complex geometry and for some reason I want to study the problem only on a surface, it's impossible to export the wanted geometry? I have to make only the surface and export this one? (Ps: thanks for the patience )
darkluix88 is offline   Reply With Quote

Old   October 21, 2014, 15:40
Default
  #10
Senior Member
 
ghost82's Avatar
 
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 26
ghost82 will become famous soon enough
No problem
You can perform a 2d simulation if the 3rd dimension (z) doesn't influence your fluid flow (this means having an infinite depth).
But if you have a complex geometry then you must perform a 3d simulation.
__________________
Google is your friend and the same for the search button!
ghost82 is offline   Reply With Quote

Old   October 22, 2014, 05:02
Default
  #11
Member
 
Join Date: Sep 2014
Posts: 43
Rep Power: 11
darkluix88 is on a distinguished road
Thanks ghost82, I have understood!
Now I have another question concerning the boundary conditions. After created the rectangular 2D tank, I wanna apply an oscillating movement to the left side (edge) of the tank using UDF.
So I have set the WALL condition to left, right and bottom edge (calling in order "movement wall", "side wall" and "bottom wall" to distinguish them), but for the upper edge that represents an "open surface", which condition I have to set?
Because I have read in tutorials that I cannot apply the OUTFLOW condition for VOF problem...essentially the tank is open in upper surface and the fluid can go out the tank if the movement is very strong.

I hope to have explained well the question
darkluix88 is offline   Reply With Quote

Old   October 22, 2014, 07:39
Default
  #12
Senior Member
 
ghost82's Avatar
 
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 26
ghost82 will become famous soon enough
You could try with pressure outlet.
ghost82 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
udf for moving rectangular tank puneetnema Fluent UDF and Scheme Programming 1 January 7, 2018 09:39
3d rectangular tank asdnet36 Structural Mechanics 0 January 25, 2014 12:24
udf for rectangular tank sloshing puneetnema Fluent UDF and Scheme Programming 0 November 25, 2013 07:14
[DesignModeler] Rectangular tank puneetnema ANSYS Meshing & Geometry 1 September 7, 2013 00:40
Cd value....hole in a rectangular tank.... karthik FLUENT 2 October 29, 2005 13:11


All times are GMT -4. The time now is 01:24.