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

[GAMBIT] How to plot S pipe

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 9, 2013, 14:49
Default How to plot S pipe
  #1
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
mariam.sara is on a distinguished road
Hi I need to plot S pipe as 3D geometry in Gambit with diameter 20 mm and has contraction at the middle of it (diameter after contraction is 15 mm) anybody can assist me with it please?

mariam
mariam.sara is offline   Reply With Quote

Old   October 10, 2013, 01:37
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
do you have a sketch of your geometry?
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 10, 2013, 03:44
Default
  #3
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
mariam.sara is on a distinguished road
Hi max thanks for the respond I sent you approximate picture for the draw as 2D I want this plot as 3 D all dimensions and boundary conditions were shown please try to add it with meshing the pipe and send me text with the JOU file if possible?

mariam
Attached Images
File Type: jpg photo.jpg (38.1 KB, 17 views)
mariam.sara is offline   Reply With Quote

Old   October 10, 2013, 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

you do it, and I will help you

For upper and lower "loops" is the cross section constant? (20mm ř)
If yes you just need to use sweep function for generating volume.
Draw the "path" for your loop, create your surface section, and sweep.
Once it is done, you can recflect and move a copy of this volume for having the second "loop".
Place both volumes to their right place and you just need finally to create the restriction (ř15). Here your can use the revolve tool (2d sketch and revolve)
Once everything is ready you can unite all the volumes (or not if you need this decomposition for your mesh)
Untitled.png Untitled1.png
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 10, 2013, 04:25
Default
  #5
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
mariam.sara is on a distinguished road
Yes both parts have 20 mm diameter thanks for the explaining and pictures I am not very expert with doing these processes in Gambit? however i will try and let you know I have lesson now will contact you later.

mariam
mariam.sara is offline   Reply With Quote

Old   October 10, 2013, 09:15
Default
  #6
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
mariam.sara is on a distinguished road
Hi I really failed to draw the path at your first image I draw the circle with radius 10 mm at yz plane then i tried to draw arc (with radius 10 mm too) but it not that shown in your picture may you tell me the steps of drawing it?
mariam.sara is offline   Reply With Quote

Old   October 10, 2013, 09:22
Default
  #7
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
I draw an arc because I wanted to do it quick.
Maybe you want somethink else than an arc...
It was just an example, anyway the procedure is the same whatever a path you choose: sweep your section along this path
The arc I designed is generated with https://www.sharcnet.ca/Software/Gam...dge_create_arc
method 3
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 10, 2013, 09:28
Default
  #8
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
mariam.sara is on a distinguished road
I tried the third method but how much the radius of path? I select it same as circle radius (10 mm) but i think it wrong?
mariam.sara is offline   Reply With Quote

Old   October 10, 2013, 09:36
Default
  #9
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
pictures always help
Untitled.png
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 10, 2013, 09:53
Default
  #10
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
mariam.sara is on a distinguished road
Dear max i post you journal file please check is it correct? if it correct please tell me how to reflect the other part?

/ Journal File for GAMBIT 2.2.30, Database 2.2.14, ntx86 BH04110220
/ Identifier "default_id5284"
/ File opened for write Thu Oct 10 15:00:22 2013.
vertex create coordinates 0 0 0
edge create radius 40 startangle 0 endangle 180 center "vertex.1" xyplane arc
face create radius 10 xyplane circle
undo
/Undone to: face create radius 10 xyplane circle
face create radius 10 yzplane circle
undo
/Undone to: face create radius 10 yzplane circle
face create radius 10 zxplane circle
face move "face.1" offset 40 0 0
volume create rotate "face.1" onedge "edge.1" draft 0 extended
mariam.sara is offline   Reply With Quote

Old   October 10, 2013, 09:59
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
Seems to be ok.
Gambit generates the volume?
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 10, 2013, 10:06
Default
  #12
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
mariam.sara is on a distinguished road
Well how now i can reflect this volume to get the second part? i am really not understand too how to use revolve tool from 2D face as you mentioned? i do not have idea how to do it to draw the contraction part (i.e. with 15 mm diameter)?

Thanks a lot
mariam.sara is offline   Reply With Quote

Old   October 10, 2013, 10:12
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
copy volume (option recflec) --> https://www.sharcnet.ca/Software/Gam..._volm_movecopy

For the contraction part you create a 2d-slice, and you revolve it around desired axis
https://www.sharcnet.ca/Software/Gam...#geom_volm_rev
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 10, 2013, 10:31
Default
  #14
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
mariam.sara is on a distinguished road
I copy volume 1 and select reflect option with plane coordinates as below:
(0,0,0) -> (0,1,0)
it told me that the second volume created but i did not see it ?
mariam.sara is offline   Reply With Quote

Old   October 10, 2013, 10:33
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
fit to window
https://www.sharcnet.ca/Software/Gam...304.htm#gc_fit
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 10, 2013, 10:44
Default
  #16
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
mariam.sara is on a distinguished road
Thank you i did it but still not have any idea about the last part and what you mean with slice? may you tell me this step by step? sorry to bother you with my questions?
mariam.sara is offline   Reply With Quote

Old   October 11, 2013, 02:05
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
Create your surface-section and rotate it
Untitled.png Untitled1.png
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 11, 2013, 03:19
Default
  #18
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
mariam.sara is on a distinguished road
Hi max thanks again for the photos? If the diameter is 15 mm I aware the face height is (20/2 mm) but I wondered how much the length of the face in this case?
mariam.sara is offline   Reply With Quote

Old   October 11, 2013, 05:46
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
If you don't know the details of your geometry, then I don't know too
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 11, 2013, 14:45
Default
  #20
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
mariam.sara is on a distinguished road
Hi max an error happen when i tried to revolve the surface please can you check it i sent you the jou file below :

/ Journal File for GAMBIT 2.2.30, Database 2.2.14, ntx86 BH04110220
/ Identifier "ss"
/ File opened for write Fri Oct 11 19:52:15 2013.
identifier name "ss" new saveprevious
/ Journal File for GAMBIT 2.2.30, Database 2.2.14, ntx86 BH04110220
/ Identifier "default_id5284"
/ File opened for write Thu Oct 10 15:00:22 2013.
vertex create coordinates 0 0 0
edge create radius 40 startangle 0 endangle 180 center "vertex.1" xyplane arc
face create radius 10 xyplane circle
undo
/Undone to: face create radius 10 xyplane circle
/Undone to: face create radius 10 xyplane circle
face create radius 10 yzplane circle
undo
/Undone to: face create radius 10 yzplane circle
/Undone to: face create radius 10 yzplane circle
face create radius 10 zxplane circle
face move "face.1" offset 40 0 0
volume create rotate "face.1" onedge "edge.1" draft 0 extended
edge create straight "vertex.2" "vertex.3"
undo
/Undone to: edge create straight "vertex.2" "vertex.3"
edge delete "edge.1" lowertopology
volume reflect "volume.1" vector 0 1 0 origin 0 0 0
undo
/Undone to: volume reflect "volume.1" vector 0 1 0 origin 0 0 0
volume creflect "volume.1" multiple 1 vector 0 1 0 origin 0 0 0
volume move "volume.2" offset -40 0 0
undo
/Undone to: volume move "volume.2" offset -40 0 0
volume move "volume.2" offset -60 0 0
undo
/Undone to: volume move "volume.2" offset -60 0 0
volume move "volume.2" offset -80 -10 0
volume move "volume.2" offset 0 -5 0
vertex create coordinates -40 0 0
undo
/Undone to: vertex create coordinates -40 0 0
vertex create coordinates -20 0 0
undo
/Undone to: vertex create coordinates -20 0 0
vertex create coordinates -30 0 0
vertex create coordinates -30 -10 0
vertex create coordinates -40 -10 0
vertex create coordinates -17.5 -5 0
undo
/Undone to: vertex create coordinates -17.5 -5 0
vertex create coordinates -20 -5 0
undo
/Undone to: vertex create coordinates -20 -5 0
vertex create coordinates -25 -5 0
undo
/Undone to: vertex create coordinates -25 -5 0
vertex create coordinates -32.5 -5 0
edge create threepoints "vertex.8" "vertex.11" "vertex.9" arc
edge create straight "vertex.5" "vertex.8"
edge create straight "vertex.10" "vertex.5"
edge create straight "vertex.10" "vertex.9"
face create wireframe "edge.8" "edge.9" "edge.6" "edge.7" real
/ERROR occurred in the next command!
volume create revolve "face.7" dangle 360 vector 0 0 1 origin 0 0 0
mariam.sara 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
[DesignModeler] DesignModeler Pipe within pipe shields ANSYS Meshing & Geometry 13 November 25, 2018 23:14
Double Walled Pipe Boundary dahvqaz FLUENT 2 December 5, 2012 11:14
plot Pressure drop in pipe monty_p20 FLUENT 0 November 17, 2011 18:18
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 22:31


All times are GMT -4. The time now is 08:46.