CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Mesh Utilities

a question about refineMesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 22, 2011, 10:09
Default a question about refineMesh
  #1
New Member
 
liufang
Join Date: Jun 2011
Posts: 4
Rep Power: 5
fangliu is on a distinguished road
Hi everybody!
I' like using refineMesh to refime the mesh like below

but the result is like below

what should I do?
Thanks very much!
Attached Images
File Type: jpg 1.jpg (10.7 KB, 342 views)
File Type: jpg 2.jpg (13.0 KB, 333 views)
fangliu is offline   Reply With Quote

Old   June 22, 2011, 21:46
Default
  #2
New Member
 
liufang
Join Date: Jun 2011
Posts: 4
Rep Power: 5
fangliu is on a distinguished road
I have fund the answer, the refineMesh works well.The refined grids just like the first figure, but the paraview's display is not correct, The diagonal lines are of fictitious. I still do not know how to correct it.
fangliu is offline   Reply With Quote

Old   June 22, 2011, 21:59
Default
  #3
New Member
 
liufang
Join Date: Jun 2011
Posts: 4
Rep Power: 5
fangliu is on a distinguished road
Checking the "Use VTkPolyhedron", paraview will show the correct display.
fangliu is offline   Reply With Quote

Old   June 28, 2011, 06:29
Default
  #4
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 299
Rep Power: 8
openfoam_user is on a distinguished road
Hi,

Where is located the "Use VTkPolyhedron" in paraFoam ?

Regards,

Stephane.
openfoam_user is offline   Reply With Quote

Old   June 28, 2011, 22:35
Default reply
  #5
New Member
 
liufang
Join Date: Jun 2011
Posts: 4
Rep Power: 5
fangliu is on a distinguished road
Hi,
If you compile "PV3FoamReader Module" correctly, the paraview's "Object Inspector" looks like figure below ,you can check "use VTKPolyhedron".

but if you failed to compile "PV3FoamReader Module", paraview can still work, the "Object Inspector" looks like figure below ,you can not check "use VTKPolyhedron", the display is not correct, but the grids are ok.
Attached Images
File Type: jpg p1.jpg (23.2 KB, 320 views)
File Type: jpg p2.jpg (22.1 KB, 321 views)
fangliu is offline   Reply With Quote

Old   September 5, 2011, 12:35
Default
  #6
Senior Member
 
Francois
Join Date: Jun 2010
Location: Netherlands
Posts: 102
Rep Power: 6
Fransje is on a distinguished road
Hi All,

OpenFOAM cannot use meshes with floating nodes, so no the, diagonals are not fictitious. Valid cell shapes recognized by OpenFOAM can be found here. Therefore, to correctly close the mesh shown in the first post, OpenFOAM will create triangles, which is consistent with the diagonals shown in paraview/paraFoam.

Kind regards,

Francois.
Fransje is offline   Reply With Quote

Old   October 31, 2011, 12:22
Default how I can refine a specific region?
  #7
New Member
 
giovanni silva
Join Date: Jul 2010
Posts: 14
Rep Power: 6
giovanni10 is on a distinguished road
Does anyone know how I can refine a specific region in a cavity for example?
Thanks!
giovanni10 is offline   Reply With Quote

Old   January 20, 2012, 17:14
Default
  #8
Member
 
Join Date: Sep 2011
Posts: 45
Rep Power: 5
ic3wall is on a distinguished road
Quote:
Originally Posted by fangliu View Post
Hi everybody!
I' like using refineMesh to refime the mesh like below

but the result is like below

what should I do?
Thanks very much!
I have the exact OPPOSITE problem ... refineMesh doesn't add the diagonal, so two faces are orthogonal to another single face, which creates problems

Is there a switch somewhere in the refineMeshDict that I haven't seen ???
ic3wall is offline   Reply With Quote

Reply

Tags
mesh adaption, refinemesh

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
Unanswered question niklas OpenFOAM 2 July 31, 2013 17:03
Cannot refineMesh with useHexTopology true ver141 naoki OpenFOAM Bugs 5 June 11, 2008 05:07
Poisson Solver question Suresh Main CFD Forum 3 August 12, 2005 05:37
CHANNEL FLOW: a question and a request Carlos Main CFD Forum 4 August 23, 2002 06:55
question K.L.Huang CD-adapco 1 March 29, 2000 04:57


All times are GMT -4. The time now is 13:55.