CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

dynamicMesh 2D

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

Like Tree1Likes
  • 1 Post By wang.zhy

LinkBack Thread Tools Display Modes
Old   March 3, 2010, 23:04
Default dynamicMesh 2D
New Member
Join Date: Jun 2009
Location: beijing china
Posts: 11
Rep Power: 10
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, 10:38
Senior Member
kmooney's Avatar
Kyle Mooney
Join Date: Jul 2009
Location: Amherst, MA USA - San Diego, CA USA
Posts: 321
Rep Power: 11
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, 16:39
Senior Member
Jens Höpken
Join Date: Apr 2009
Location: Duisburg, Germany
Posts: 157
Rep Power: 10
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, 05:03
Default hexMesh4
New Member
Quinn Reynolds
Join Date: Jun 2014
Posts: 6
Rep Power: 5
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.
kittychunk is offline   Reply With Quote


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
Fluent3DMeshtoFoam r2d2 OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 36 November 30, 2015 13:22
DynamicMesh not buils using icc 100 in sgi altix 4000 arkangel OpenFOAM Installation 0 October 24, 2007 09:40
Compilation error ovchin OpenFOAM Bugs 4 September 20, 2007 03:56
Some one help!!! Write Cp location for dynamicmesh Endee FLUENT 0 July 11, 2007 05:42
MotionUy and DynamicMesh with OF14 bfa OpenFOAM Running, Solving & CFD 2 July 10, 2007 06:52

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