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

[GAMBIT] Meshing T-pipe

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By -mAx-
  • 1 Post By -mAx-

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2016, 16:46
Default Meshing T-pipe
  #1
New Member
 
Jan Mlynar
Join Date: Nov 2015
Posts: 9
Rep Power: 10
maxpoint is on a distinguished road
Hi everyone!

Is there any possibility how to mesh T-pipe only with cooper?

I want to mesh DN 700 pipe connected with DN 400 pipe in "T-shape"

Thanks!
maxpoint is offline   Reply With Quote

Old   November 23, 2016, 01:10
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
This is not a T-Pipe, but you can get inspired from it
https://www.sharcnet.ca/Software/Gam...guide/tg03.htm
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   November 23, 2016, 03:49
Default
  #3
New Member
 
Jan Mlynar
Join Date: Nov 2015
Posts: 9
Rep Power: 10
maxpoint is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
This is not a T-Pipe, but you can get inspired from it
https://www.sharcnet.ca/Software/Gam...guide/tg03.htm
Thank, but I have already download every possible tutorial guides (include this one), but have not found anything. Although this example is similar, it is still too different.
maxpoint is offline   Reply With Quote

Old   November 23, 2016, 04:07
Default
  #4
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
Ok,
Then make a volume decomposition like this:
Capture.JPG

Capture1.jpg

Be sure to start meshing the red volume
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   November 23, 2016, 05:01
Default
  #5
New Member
 
Jan Mlynar
Join Date: Nov 2015
Posts: 9
Rep Power: 10
maxpoint is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
Ok,
Then make a volume decomposition like this:
Attachment 51945

Attachment 51946

Be sure to start meshing the red volume
Wow, thank you very much, that looks perfect. I have to admit that I am still begginer at Gambit, I mesh straight pipes with cooper, and T-pipe with tetrahedral.

Do you have a "step by step" guide of this?

Thanks alot for your advice!
maxpoint is offline   Reply With Quote

Old   November 23, 2016, 05:17
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
Here is my journal file:
**************

volume create height 50 radius1 5 radius2 5 radius3 5 offset 0 0 25 zaxis frustum
volume create height 50 radius1 10 radius2 10 radius3 10 offset 0 25 0 yaxis frustum
volume move "volume.1" offset 0 25 0
volume unite volumes "volume.1" "volume.2"
face create width 100 height 100 yzplane rectangle
volume split "volume.1" faces "face.8" connected
volume delete "volume.2" lowertopology
face create width 100 height 100 yzplane rectangle
face move "face.13" offset -10 0 0
face move "face.13" offset 1 0 0
face move "face.13" offset 1 0 0
face move "face.13" offset 1 0 0
face move "face.13" offset 1 0 0
volume split "volume.1" faces "face.13" connected
face create width 100 height 100 zxplane rectangle
face move "face.19" offset 0 10 0
face move "face.19" offset 0 10 0
face move "face.19" offset 0 -1 0
face cmove "face.19" multiple 1 offset 0 10 0
volume split "volume.2" faces "face.19" connected keeptool
volume split "volume.1" faces "face.19" connected keeptool
face delete "face.19" lowertopology
face move "face.20" offset 0 1 0
face move "face.20" offset 0 1 0
volume split "volume.3" faces "face.20" connected keeptool
volume split "volume.4" faces "face.20" connected
face create width 100 height 100 xyplane rectangle
volume split "volume.3" faces "face.34" connected
face split "face.38" vertices "vertex.12" "vertex.13"
face create wireframe "edge.86" "edge.15" real
volume split "volume.7" faces "face.40" connected
volume mesh "volume.8" cooper source "face.40" "face.32" "face.34" size 1
undo
/Undone to: volume mesh "volume.8" cooper source "face.40" "face.32" "face.34" si
volume mesh "volume.8" cooper source "face.40" "face.32" "face.34" size 0.5
volume mesh "volume.3" cooper source "face.34" "face.22" size 1
volume mesh "volume.4" cooper source "face.20" "face.26" size 1
undo
/Undone to: volume mesh "volume.4" cooper source "face.20" "face.26" size 1
volume mesh "volume.4" cooper source "face.20" "face.26" size 0.5
volume mesh "volume.2" cooper source "face.15" "face.21" "face.37" size 1
volume mesh "volume.5" cooper source "face.10" "face.28" "face.35" size 1
volume mesh "volume.6" cooper source "face.20" "face.17" size 1
volume mesh "volume.1" cooper source "face.4" "face.26" size 1
volume mesh "volume.7" cooper source "face.3" "face.40" size 1
window modify invisible mesh
window modify shade
window modify noshade
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   November 23, 2016, 05:55
Thumbs up
  #7
New Member
 
Jan Mlynar
Join Date: Nov 2015
Posts: 9
Rep Power: 10
maxpoint is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
Here is my journal file:
**************

volume create height 50 radius1 5 radius2 5 radius3 5 offset 0 0 25 zaxis frustum
volume create height 50 radius1 10 radius2 10 radius3 10 offset 0 25 0 yaxis frustum
volume move "volume.1" offset 0 25 0
volume unite volumes "volume.1" "volume.2"
face create width 100 height 100 yzplane rectangle
volume split "volume.1" faces "face.8" connected
volume delete "volume.2" lowertopology
face create width 100 height 100 yzplane rectangle
face move "face.13" offset -10 0 0
face move "face.13" offset 1 0 0
face move "face.13" offset 1 0 0
face move "face.13" offset 1 0 0
face move "face.13" offset 1 0 0
volume split "volume.1" faces "face.13" connected
face create width 100 height 100 zxplane rectangle
face move "face.19" offset 0 10 0
face move "face.19" offset 0 10 0
face move "face.19" offset 0 -1 0
face cmove "face.19" multiple 1 offset 0 10 0
volume split "volume.2" faces "face.19" connected keeptool
volume split "volume.1" faces "face.19" connected keeptool
face delete "face.19" lowertopology
face move "face.20" offset 0 1 0
face move "face.20" offset 0 1 0
volume split "volume.3" faces "face.20" connected keeptool
volume split "volume.4" faces "face.20" connected
face create width 100 height 100 xyplane rectangle
volume split "volume.3" faces "face.34" connected
face split "face.38" vertices "vertex.12" "vertex.13"
face create wireframe "edge.86" "edge.15" real
volume split "volume.7" faces "face.40" connected
volume mesh "volume.8" cooper source "face.40" "face.32" "face.34" size 1
undo
/Undone to: volume mesh "volume.8" cooper source "face.40" "face.32" "face.34" si
volume mesh "volume.8" cooper source "face.40" "face.32" "face.34" size 0.5
volume mesh "volume.3" cooper source "face.34" "face.22" size 1
volume mesh "volume.4" cooper source "face.20" "face.26" size 1
undo
/Undone to: volume mesh "volume.4" cooper source "face.20" "face.26" size 1
volume mesh "volume.4" cooper source "face.20" "face.26" size 0.5
volume mesh "volume.2" cooper source "face.15" "face.21" "face.37" size 1
volume mesh "volume.5" cooper source "face.10" "face.28" "face.35" size 1
volume mesh "volume.6" cooper source "face.20" "face.17" size 1
volume mesh "volume.1" cooper source "face.4" "face.26" size 1
volume mesh "volume.7" cooper source "face.3" "face.40" size 1
window modify invisible mesh
window modify shade
window modify noshade
Wow, what a perfect job!

Even I know it will take me a century, I will try it !!

Cannot thank you enough
maxpoint is offline   Reply With Quote

Old   November 23, 2016, 05:59
Default
  #8
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
copy those lines in text editor and save it as text.
Then in Gambit you pick this file to run the journal:
File>Run Journal...
__________________
In memory of my friend Hervé: CFD engineer & freerider

Last edited by -mAx-; November 23, 2016 at 07:43.
-mAx- is offline   Reply With Quote

Old   November 23, 2016, 07:36
Default
  #9
New Member
 
Jan Mlynar
Join Date: Nov 2015
Posts: 9
Rep Power: 10
maxpoint is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
copy those lines in text editor and save it as text.
Then in Gambit you this file to run the journal:
File>Run Journal...
One more time thank you a lot ))

I work on this model of gas metering station with orifice flowmeters. I believe that you really help me ))


model.jpg
maxpoint is offline   Reply With Quote

Old   November 23, 2016, 08:05
Default
  #10
Senior Member
 
Onur Özcan
Join Date: Feb 2016
Location: Istanbul/Turkey
Posts: 461
Rep Power: 12
oozcan is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
copy those lines in text editor and save it as text.
Then in Gambit you pick this file to run the journal:
File>Run Journal...
Does it work in FLUENT (ANSYS 14.5)?
oozcan is offline   Reply With Quote

Old   November 23, 2016, 08:08
Default
  #11
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
do you mean automation?
It was possible on Fluent 6.3
Now I don't know
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   November 23, 2016, 08:42
Default
  #12
Senior Member
 
Onur Özcan
Join Date: Feb 2016
Location: Istanbul/Turkey
Posts: 461
Rep Power: 12
oozcan is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
do you mean automation?
It was possible on Fluent 6.3
Now I don't know
I dont know what does automation mean ? , thank you,
oozcan is offline   Reply With Quote

Old   November 23, 2016, 08:45
Default
  #13
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
automatic tasks
(like a batch file)
oozcan likes this.
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   November 23, 2016, 08:54
Default
  #14
Senior Member
 
Onur Özcan
Join Date: Feb 2016
Location: Istanbul/Turkey
Posts: 461
Rep Power: 12
oozcan is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
automatic tasks
(like a batch file)
I dont know what batch file mean thank you again
oozcan is offline   Reply With Quote

Old   November 23, 2016, 08:57
Default
  #15
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
open case 1
run case 1
write case and data for run1
open case 2
run case 2
write case and data for run2
open case 3
run case 3
write case and data for run3
...
the computer does all the tasks automatically
oozcan likes this.
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   November 23, 2016, 09:00
Default
  #16
Senior Member
 
Onur Özcan
Join Date: Feb 2016
Location: Istanbul/Turkey
Posts: 461
Rep Power: 12
oozcan is on a distinguished road
Thank you Max!
oozcan is offline   Reply With Quote

Old   November 23, 2016, 16:46
Default
  #17
New Member
 
Jan Mlynar
Join Date: Nov 2015
Posts: 9
Rep Power: 10
maxpoint is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
copy those lines in text editor and save it as text.
Then in Gambit you pick this file to run the journal:
File>Run Journal...
Max, how did you create a volume 8, or face 40?

Because, if I run this journal in Gambit 2.2.30 it show me an error on this pic

model trial.jpg

I am almost done, but I do not know, how to split this last red volume ((

m?j model.JPG

Thanks a lot!
maxpoint is offline   Reply With Quote

Old   November 24, 2016, 01:04
Default
  #18
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
ok in your case I think you don't need to do another split.
You only have to enforce gambit to choose cooper scheme, and select source faces for cooper.
Here choose the 3 surfaces as I mentionned in the picture
Be also aware you need to mesh this volume first, and all other after:
you will project mesh from blue surfaces, on red one.
If red surface is already meshed, Gambit cannot project mesh on blue surfaces, because it has do generate a cut in the mesh
Capture.JPG
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   November 24, 2016, 14:27
Default
  #19
New Member
 
Jan Mlynar
Join Date: Nov 2015
Posts: 9
Rep Power: 10
maxpoint is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
ok in your case I think you don't need to do another split.
You only have to enforce gambit to choose cooper scheme, and select source faces for cooper.
Here choose the 3 surfaces as I mentionned in the picture
Be also aware you need to mesh this volume first, and all other after:
you will project mesh from blue surfaces, on red one.
If red surface is already meshed, Gambit cannot project mesh on blue surfaces, because it has do generate a cut in the mesh
Attachment 51981
Thank a lot max ))

I almost done it, but couldnt mesh the last volume... I will do my whole project in tetrahedra and convert to polyhedra. Numerical time will be longer, but just thinkin, that I have to dothis for all T-pipes makes me cry

almost done.jpg
maxpoint is offline   Reply With Quote

Old   November 25, 2016, 01:33
Default
  #20
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
Then Apply Tet/Hexcore, it fill fill the domain with a max of hexa in the core of your volume.
But you will have to delete all the splits in the T-junction, else you will enforce the presence of tetraeders on the split surfaces
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Reply

Tags
meshing 3d, t-pipe

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[ANSYS Meshing] Meshing a Simple Pipe With Different Diameters Adnann ANSYS Meshing & Geometry 2 May 16, 2016 03:38
[ICEM] ICEM "U" shaped pipe meshing mshaux ANSYS Meshing & Geometry 2 April 12, 2016 09:06
[ICEM] Hexa meshing branched pipe with different angles about its perimeter fascinatedbyCFD ANSYS Meshing & Geometry 1 November 19, 2015 10:11
[ICEM] Pipe 90 elbow joint meshing issue sihaqqi ANSYS Meshing & Geometry 25 April 17, 2015 04:59
Meshing of circular pipe in CFX-mesh Fatnes CFX 3 March 27, 2009 06:29


All times are GMT -4. The time now is 02:17.