CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Convert to 2D Problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2014, 10:45
Unhappy Convert to 2D Problem
  #1
New Member
 
Join Date: Sep 2014
Posts: 2
Rep Power: 0
J.J.Jameson is on a distinguished road
Hello,

This is my first post, so I'm sorry if I'm doing something wrong! I have searched through the forum, but there was no answer given.

I am having trouble with Star-CCM's function to convert a mesh to 2D. I am modelling an contraction in a pipe. The model is effectively a rotated solid with the axis of revolution being the x-axis.

When I choose to convert the generated mesh to 2D, I get an error message saying "there are no boundaries in the z=0 plane". Considering the z=0 plane runs through the centre of the pipe, I do not understand why I'm getting this error message. Any ideas?
J.J.Jameson is offline   Reply With Quote

Old   September 25, 2014, 15:51
Default
  #2
azt
Member
 
allan thomson
Join Date: Mar 2009
Location: scotland
Posts: 45
Rep Power: 17
azt is on a distinguished road
hi

you probably do not have your geometry on the xy plane at z=0.
Put the centre at 0,0,0 and create a block (say) from 0,0,-1 to 0,0,1 and 0,1,-1 to 0,1,1. Extrude this 'sketch' in the x direction to create a block, say 20 long. Mesh this block then use the command create 2d grid from the drop down menu. Once you have your 2d planer grid, create cyclic interface along the line at y=0.

You should end up with a 2d plane with corner points 0,0 0,1 20,1 20,0 this is a pipe of radius 1 and 20 m long.

When creating the 3d block keep the +/- z size approximately the same as the +x dimension. This will aid meshing, but is a real pain if your geometry is large.

azt
azt is offline   Reply With Quote

Old   September 26, 2014, 05:11
Default
  #3
New Member
 
Join Date: Sep 2014
Posts: 2
Rep Power: 0
J.J.Jameson is on a distinguished road
Thank you for your answer, but I am certain I have geometry at the plane. I am attaching an image of one of the meshes with the z=0 plane highlighted.
http://imgur.com/CeN6E3q
J.J.Jameson is offline   Reply With Quote

Old   September 29, 2014, 16:00
Default
  #4
cwl
Senior Member
 
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 438
Rep Power: 18
cwl is on a distinguished road
You should half your model so - that its flat part would lie in z=0 plane.
cwl is offline   Reply With Quote

Old   October 3, 2014, 10:05
Default 2d pipe is a rectangle
  #5
Member
 
DaveyBaby
Join Date: May 2013
Posts: 46
Rep Power: 13
DaveyBaby is on a distinguished road
Hi,
I have an idea, not sure about it but here goes:
As you are solving in 2D, maybe you don't need to generate a cylinder at all. You could make a 2d sketch of half of the central plane section and extrude it normal to the sketch plane. You could then convert the mesh to 2d in the same way as the tutorial:
Tutorial Guide > Incompressible Flow > Steady Flow: Backward Facing Step > Setting Up the Backward Facing Step Case > Generating the Volume Mesh and Converting From 3D to 2D
It will look exactly the same as if you converted it from a cylinder by "un-revolving". More to the point, I think the 2d physics and the way Star solves will be equivalent. This last point is the part I'm not 100% on, but it seems reasonable to me.
Given how for 0 degrees of revolution the NS equations for a pipe become the 2d ones for a rectangle, and for a cuboid with 0 distance extrusion they also become the same? The question remains if for Star's 2D (one cell thick) there is something additional about the boundary conditions or something else that you need to consider.
Perhaps someone else could help with that?
DaveyBaby is offline   Reply With Quote

Old   October 3, 2014, 10:08
Default
  #6
Member
 
DaveyBaby
Join Date: May 2013
Posts: 46
Rep Power: 13
DaveyBaby is on a distinguished road
Actually, I just saw that azt suggested this! Maybe you and I both skipped over it as he started with saying that you may not be on the central plane...
DaveyBaby is offline   Reply With Quote

Reply

Tags
convert to 2d, issues, star-ccm+


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
Problem with interFoam; Wave/wiggle alpha1 behavior JonW OpenFOAM 10 February 4, 2023 08:27
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 05:43
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 07:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 20:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 15:52


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