CFD Online URL
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

Problem with geometry.

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 6, 2011, 05:56
Default Problem with geometry.
  #1
Senior Member
 
Andrea Ferrari
Join Date: Dec 2010
Posts: 267
Rep Power: 7
Andrea_85 is on a distinguished road
Hi all,

I built a simple geometry consisting of a circle inside a square. Then i extruded my geometry with 1 layer to have a 2D problem. Here my .geo file:

// Gmsh project created on Tue Jan 4 16:30:24 2011

lc = 0.0001;
d1 = 0.001;
r = 0.00014142;
c = 0.0005;

Point(1)={0, 0, 0, lc};
Point(2)={d1-0.0003, 0, 0, lc};
Point(3)={d1-0.0003, d1-0.0003, 0, lc};
Point(4)={0, d1-0.0003, 0, lc};
Point(5)={c+r-0.00015, c+r-0.00015, 0, lc};
Point(6)={c+r-0.00015, c-r-0.00015, 0, lc};
Point(7)={c-r-0.00015, c-r-0.00015, 0, lc};
Point(8)={c-r-0.00015, c+r-0.00015, 0, lc};
Point(9)={c-0.00015, c-0.00015, 0, lc};
Circle(1) = {5, 9, 8};
Circle(2) = {8, 9, 7};
Circle(3) = {7, 9, 6};
Circle(4) = {6, 9, 5};
Line(5) = {2, 3};
Line(6) = {3, 4};
Line(7) = {4, 1};
Line(8) = {1, 2};
Line Loop(9) = {1, 2, 3, 4};
Ruled Surface(10) = {9};
Line Loop(11) = {7, 8, 5, 6};
Plane Surface(12) = {11,9};
Extrude {0, 0, 0.00001} {
Surface{12};
Layers{1};
Recombine;
}
Extrude {0, 0, 0.00001} {
Surface{10};
Layers{1};
Recombine;
}
Physical Surface("top") = {37};
Physical Surface("bottom") = {29};
Physical Surface("left") = {25};
Physical Surface("right") = {33};
Physical Surface("front") = {54};
Physical Surface("back") = {12};
Physical Surface("obstacle") = {53, 49, 45, 41};
Physical Volume("internal") = {1};

OpenFoam impot the geometry without any problem and if i do CheckMesh everything is ok. I run the simulation (fluid enter on the top and displace another fluid) but something strange happens. The flow stops when it reaches exactly one of the points used to define the circle (point 5).
When I built the mesh I used the option "Mesh from curvature" in the mesh option in order to have these 4 (8 in 2D) points on the circle exactly on the edges of the prisms and not on the side but i got the same problem if I do not.
Maybe is a problem with boundary condition because i have to define 4 surfaces on the disc and not only one, but all 4 have the same patch "wall". Is there a way to define a single surface or otherwise any suggestion to solve the problem??

Thanks

Andrea
Andrea_85 is offline   Reply With Quote

Old   January 6, 2011, 09:34
Default
  #2
Senior Member
 
Andrea Ferrari
Join Date: Dec 2010
Posts: 267
Rep Power: 7
Andrea_85 is on a distinguished road
I solved it!
Andrea_85 is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] O-grid around wing geometry Anorky ANSYS Meshing & Geometry 12 August 17, 2011 22:28
Transient problem with changing geometry! Fascal FLUENT 4 July 5, 2010 11:11
How can FLUENT be used to model a transient problem with changing geometry? Fascal FLUENT 0 June 30, 2010 16:21
[GAMBIT] problem in importing Pro Engineer geometry :-( arash_7444 ANSYS Meshing & Geometry 3 June 14, 2010 03:06
Time Taken for the Whole CFD Process David Main CFD Forum 1 March 20, 2000 17:47


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