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

[mesh manipulation] OpenFoam2.1 dynamic mesh - expanding a circular face

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By panpanzhong

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 3, 2013, 12:39
Default OpenFoam2.1 dynamic mesh - expanding a circular face
  #1
New Member
 
Peng Zhong
Join Date: Jun 2013
Posts: 12
Rep Power: 13
panpanzhong is on a distinguished road
Hi OpenFoam Users. I am new to OpenFoam and I try to simulate a cylindrical hole expanding. I figured attach and detach dynamic Mesh can help. But I don't know how to use it. Could someone please upload an example of attach and detach dynamic Mesh or point me in the right direction? Thank you in advance.

Last edited by panpanzhong; June 4, 2013 at 15:35.
panpanzhong is offline   Reply With Quote

Old   June 7, 2013, 19:24
Default OpenFoam2.1 dynamic mesh - expanding a circular face
  #2
New Member
 
Peng Zhong
Join Date: Jun 2013
Posts: 12
Rep Power: 13
panpanzhong is on a distinguished road
Dear OpenFoam users. How do I deform a circular face of a mesh so that its radius increases. I want to use this concept to simulate a cylindrical hole expanding radially. If someone has done a similar case, please point me to the right direction or post a case file. Thank you very much.

pan
panpanzhong is offline   Reply With Quote

Old   June 8, 2013, 18:02
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings panpanzhong and welcome to the forum!

It'll be easier to help you if you provide a simple test case that can be adapted to do what you need.

For more ideas, I suggest that you check the tutorials located at:
  • "mesh/moveDynamicMesh/"
  • "incompressible/pimpleDyMFoam"
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   July 8, 2013, 14:02
Default
  #4
New Member
 
Peng Zhong
Join Date: Jun 2013
Posts: 12
Rep Power: 13
panpanzhong is on a distinguished road
I solved this problem by editting a source code. I attach my source code with a test case here.

First I put the folder "libMyPolyNomVelocity" in the "OpenFOAM/User/run" directory and then compile it doing the following in terminal

cd $FOAM_RUN
wclean
wmake libso

Now I change to the case directory for movingCyl and execute the following:

blockMesh
moveDynamicMesh

moveDynamicMesh can be replaced with "solver"DyMFoam. ei. sonicDyMFoam, icoDyMFoam, rhoCentralDyMFoam. These will solve the whole case instead of just the moving mesh.
Attached Files
File Type: gz circlularExpansion.tar.gz (6.0 KB, 45 views)
wyldckat and caduqued like this.
panpanzhong is offline   Reply With Quote

Reply

Tags
solved


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
[blockMesh] Internal walls of zero thickness anger OpenFOAM Meshing & Mesh Conversion 23 February 6, 2020 19:25
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 10:42
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52


All times are GMT -4. The time now is 22:59.