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

[Other] Having problems creating the correct half of a circle

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 29, 2016, 11:18
Default Having problems creating the correct half of a circle
  #1
New Member
 
vroembroem
Join Date: Jun 2016
Posts: 3
Rep Power: 9
vroembroem is on a distinguished road
I am having troubles with making half circles as the leading edge and trailing edge of an airfoil.
I am specifying the centerpoint, beginning and end point of the circle and then I would like to have the left half of the circle, instead I am getting the right half of the circle. The only thing I could imaging is changing the beginning and the end point around, but that changes nothing. Is there any way to control which half of the circle I get?
vroembroem is offline   Reply With Quote

Old   July 1, 2016, 02:00
Default
  #2
Member
 
OpenFoam
Join Date: Jun 2016
Posts: 82
Rep Power: 9
CFD-Lover is on a distinguished road
Can you share pictures of what you are attempting to do and more details?

Thank you,
CFD-Lover is offline   Reply With Quote

Old   July 1, 2016, 06:30
Default
  #3
New Member
 
vroembroem
Join Date: Jun 2016
Posts: 3
Rep Power: 9
vroembroem is on a distinguished road
Please see the attachted image. I am trying to get the half circle on the left.
For that to happen, I typed in:

Circle (1) = {1, 2, 3 }.

The problem is that I am getting the circle on the right. So I thought I should change the beginning and end point around, in other words:

Circle (1) = {3, 2, 1 };

But this changes nothing and I still get the circle on the right. Is there any way to control which half of the circle you get?
Attached Images
File Type: png circle.png (1.7 KB, 2 views)
vroembroem is offline   Reply With Quote

Old   July 3, 2016, 18:24
Default
  #4
Senior Member
 
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 12
Flowkersma is on a distinguished road
Hi,

Circle takes as a parameter start point, middle point and end point. So following code produces two half circles:

Code:
Point(1)={0,-1,0};
Point(2)={0,0,0};
Point(3)={0,1,0};

Circle(1)={1,2,3};
Circle(2)={3,2,1};
Regards, Mikko

Quote:
Originally Posted by vroembroem View Post
Please see the attachted image. I am trying to get the half circle on the left.
For that to happen, I typed in:

Circle (1) = {1, 2, 3 }.

The problem is that I am getting the circle on the right. So I thought I should change the beginning and end point around, in other words:

Circle (1) = {3, 2, 1 };

But this changes nothing and I still get the circle on the right. Is there any way to control which half of the circle you get?
Flowkersma 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
OpenFoam restarting simulation, stops at first Time loop syntex OpenFOAM Running, Solving & CFD 4 April 5, 2019 11:20
problems creating a mesh of inlet pipe peterle ANSYS 0 November 13, 2009 08:57
Problems with Meshing: Collapsed Cells Emmanuel Resch Siemens 1 July 30, 2007 03:02
Really big problems when creating own materials da Jop FLUENT 0 June 28, 2007 11:15
Problems about selecting the correct fuel in srcthermophysicalmodelsliquid aderliner OpenFOAM Running, Solving & CFD 0 March 15, 2007 23:59


All times are GMT -4. The time now is 04:37.