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

OpenFoam2.1 dynamic mesh - expanding a circular face

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

Like Tree2Likes
  • 2 Post By panpanzhong

Reply
 
LinkBack Thread Tools Display Modes
Old   June 3, 2013, 11:39
Default OpenFoam2.1 dynamic mesh - expanding a circular face
  #1
New Member
 
Peng Zhong
Join Date: Jun 2013
Posts: 12
Rep Power: 4
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 14:35.
panpanzhong is offline   Reply With Quote

Old   June 7, 2013, 18:24
Default OpenFoam2.1 dynamic mesh - expanding a circular face
  #2
New Member
 
Peng Zhong
Join Date: Jun 2013
Posts: 12
Rep Power: 4
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, 17:02
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 13:02
Default
  #4
New Member
 
Peng Zhong
Join Date: Jun 2013
Posts: 12
Rep Power: 4
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, 31 views)
wyldckat and caduqued like this.
panpanzhong is offline   Reply With Quote

Reply

Tags
solved

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
Internal walls of zero thickness anger OpenFOAM Native Meshers: blockMesh 21 March 19, 2015 10:21
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
2D Mesh Generation Tutorial for GMSH aeroslacker Open Source Meshers: Gmsh, Netgen, CGNS, ... 12 January 19, 2012 04:52
Dynamic Mesh moving interface help akash.iitb FLUENT 0 August 23, 2010 23:53
gmsh2ToFoam sarajags_89 OpenFOAM 0 November 24, 2009 23:50


All times are GMT -4. The time now is 08:00.