# [GAMBIT] How to plot S pipe

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

 October 9, 2013, 13:49 How to plot S pipe #1 Senior Member   Join Date: Jan 2011 Posts: 235 Rep Power: 8 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

 October 10, 2013, 00:37 #2 Super Moderator     Maxime Perelli Join Date: Mar 2009 Location: Switzerland Posts: 3,149 Rep Power: 32 do you have a sketch of your geometry? __________________ In memory of my friend Hervé: CFD engineer & freerider

October 10, 2013, 02:44
#3
Senior Member

Join Date: Jan 2011
Posts: 235
Rep Power: 8
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
 photo.jpg (38.1 KB, 15 views)

 October 10, 2013, 03:07 #4 Super Moderator     Maxime Perelli Join Date: Mar 2009 Location: Switzerland Posts: 3,149 Rep Power: 32 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

 October 10, 2013, 03:25 #5 Senior Member   Join Date: Jan 2011 Posts: 235 Rep Power: 8 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

 October 10, 2013, 08:15 #6 Senior Member   Join Date: Jan 2011 Posts: 235 Rep Power: 8 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?

 October 10, 2013, 08:22 #7 Super Moderator     Maxime Perelli Join Date: Mar 2009 Location: Switzerland Posts: 3,149 Rep Power: 32 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

 October 10, 2013, 08:28 #8 Senior Member   Join Date: Jan 2011 Posts: 235 Rep Power: 8 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?

 October 10, 2013, 08:36 #9 Super Moderator     Maxime Perelli Join Date: Mar 2009 Location: Switzerland Posts: 3,149 Rep Power: 32 pictures always help Untitled.png __________________ In memory of my friend Hervé: CFD engineer & freerider

 October 10, 2013, 08:53 #10 Senior Member   Join Date: Jan 2011 Posts: 235 Rep Power: 8 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

 October 10, 2013, 08:59 #11 Super Moderator     Maxime Perelli Join Date: Mar 2009 Location: Switzerland Posts: 3,149 Rep Power: 32 Seems to be ok. Gambit generates the volume? __________________ In memory of my friend Hervé: CFD engineer & freerider

 October 10, 2013, 09:06 #12 Senior Member   Join Date: Jan 2011 Posts: 235 Rep Power: 8 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

 October 10, 2013, 09:12 #13 Super Moderator     Maxime Perelli Join Date: Mar 2009 Location: Switzerland Posts: 3,149 Rep Power: 32 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

 October 10, 2013, 09:31 #14 Senior Member   Join Date: Jan 2011 Posts: 235 Rep Power: 8 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 ?

 October 10, 2013, 09:33 #15 Super Moderator     Maxime Perelli Join Date: Mar 2009 Location: Switzerland Posts: 3,149 Rep Power: 32 __________________ In memory of my friend Hervé: CFD engineer & freerider

 October 10, 2013, 09:44 #16 Senior Member   Join Date: Jan 2011 Posts: 235 Rep Power: 8 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?

 October 11, 2013, 01:05 #17 Super Moderator     Maxime Perelli Join Date: Mar 2009 Location: Switzerland Posts: 3,149 Rep Power: 32 Create your surface-section and rotate it Untitled.png Untitled1.png __________________ In memory of my friend Hervé: CFD engineer & freerider

 October 11, 2013, 02:19 #18 Senior Member   Join Date: Jan 2011 Posts: 235 Rep Power: 8 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?

 October 11, 2013, 04:46 #19 Super Moderator     Maxime Perelli Join Date: Mar 2009 Location: Switzerland Posts: 3,149 Rep Power: 32 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

 October 11, 2013, 13:45 #20 Senior Member   Join Date: Jan 2011 Posts: 235 Rep Power: 8 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

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post [DesignModeler] DesignModeler Pipe within pipe shields ANSYS Meshing & Geometry 12 April 30, 2015 03:58 dahvqaz FLUENT 2 December 5, 2012 11:14 monty_p20 FLUENT 0 November 17, 2011 18:18 Abhi Main CFD Forum 12 July 8, 2002 09:11 ram Main CFD Forum 5 June 17, 2000 21:31

All times are GMT -4. The time now is 22:12.