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

dynamicMesh 2D

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wang.zhy

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2010, 23:04
Default dynamicMesh 2D
  #1
New Member
 
Eric.wang
Join Date: Jun 2009
Location: beijing china
Posts: 11
Rep Power: 17
wang.zhy is on a distinguished road
Hi foamers
I am working on a 2d simulatin required mesh refine. I checked the source and found dynamicRefineFvMesh using meshcutter hexRef8 which can only split a cell into 8 octant. but in 2D use ,I just want 4.I checked the source of hexRef8 and found it is a really long code .

Is there anybody can help me and tell me .
1 .How to change hexRef8 into hexRef4 ?
2 .How to make dynamicRefineFvMesh worked in 2D ?
3 .Is it possible to make 1 and 2 come true ?

thanks for your attention !
Any comment is welcom !
mm.abdollahzadeh likes this.
wang.zhy is offline   Reply With Quote

Old   July 25, 2012, 11:38
Default
  #2
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 18
kmooney is on a distinguished road
I know this is an old post but I am bumping it. I'm curious if anyone has looked into extending hexRef8 into its 2d counter part.
kmooney is offline   Reply With Quote

Old   July 26, 2012, 17:39
Default
  #3
Senior Member
 
Jens Höpken
Join Date: Apr 2009
Location: Duisburg, Germany
Posts: 159
Rep Power: 17
jhoepken is on a distinguished road
Send a message via Skype™ to jhoepken
For what I know about dynamic mesh refinement, this does not work in 2D. If you have empty type boundaries in your mesh, your simulation will break after the first refinement step, as you don't have a 2D mesh any more.

As a workaround, you could swap type empty to type symmetryPlane in your boundary definition. This would not be a real 2D simulation, but it is kind of working. Though it's validity to your problem has to be discussed.
jhoepken is offline   Reply With Quote

Old   October 1, 2015, 06:03
Default hexMesh4
  #4
New Member
 
Quinn Reynolds
Join Date: Jun 2014
Posts: 7
Rep Power: 12
kittychunk is on a distinguished road
For what it's worth, I found this library on GitHub. I'm not sure if it is still being developed and haven't tested it myself, but it looks promising.

https://github.com/chrisb2244/2D-AMR-OFlib
kittychunk 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
[Commercial meshers] Fluent3DMeshtoFoam r2d2 OpenFOAM Meshing & Mesh Conversion 36 November 30, 2015 13:22
DynamicMesh not buils using icc 100 in sgi altix 4000 arkangel OpenFOAM Installation 0 October 24, 2007 10:40
Compilation error ovchin OpenFOAM Bugs 4 September 20, 2007 04:56
Some one help!!! Write Cp location for dynamicmesh Endee FLUENT 0 July 11, 2007 06:42
MotionUy and DynamicMesh with OF14 bfa OpenFOAM Running, Solving & CFD 2 July 10, 2007 07:52


All times are GMT -4. The time now is 05:43.