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

moving Body in different directions with topological changes of the mesh

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By fluidmobil
  • 1 Post By tiat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 27, 2015, 15:12
Default moving Body in different directions with topological changes of the mesh
  #1
New Member
 
Mathi
Join Date: Dec 2014
Posts: 11
Rep Power: 11
fluidmobil is on a distinguished road
Hello foamers,

I'm new to OpenFOAM and using foam-extended-3.1.
I want to adapt the tutorial

"tutorials / incompressible / icoDyMFoam / movingConeTopo"

in the way that a body is moved in x- and y-direction and for each each direction separate movingBodyTopoFvMeshCoeffs defined in the dynamicMeshDict.

I considered modifying the file movingBodyTopoFvMesh.C but I'm not sure what exactly to change.

Another idea was to subsequently apply the mesh motion module twice for each direction.

Can anybody help?

kind regards
maalan and saatt like this.
fluidmobil is offline   Reply With Quote

Old   April 13, 2015, 05:55
Default
  #2
New Member
 
Mathi
Join Date: Dec 2014
Posts: 11
Rep Power: 11
fluidmobil is on a distinguished road
Hello,

maybe some more information about the problem could be helpful.

The case is very simple. Just a structured rectangular mesh. The pictures simpleTopo1.jpg and simpleTopo2.jpg show the motion in vertical direction. The pictures simpleTopoHoriz1.jpg and simpleTopoHoriz2.jpg the direction in horizontal direction.










the two motions individual is working and simple. But now I want to move the lower boundary and the right boundary simultanously. This does not work.

my blockMeshDict:
https://dl.dropboxusercontent.com/u/.../blockMeshDict

my dynamicMeshDict:
https://dl.dropboxusercontent.com/u/...ynamicMeshDict

my meshModifiers:
https://dl.dropboxusercontent.com/u/.../meshModifiers

my setBatch-file to define the moving faces:
https://dl.dropboxusercontent.com/u/77291489/setBatch


Maybe the front and backFaces have to be defined differently?
fluidmobil is offline   Reply With Quote

Old   October 23, 2015, 09:47
Default
  #3
New Member
 
Tian Tang
Join Date: Jun 2012
Location: Copenhagen, Denmark
Posts: 18
Rep Power: 13
tiat is on a distinguished road
Hi!

I am having the same interest of moving the mesh both in x and y direction. I wonder have you figured out the solution?

regards,
Tian
maalan likes this.
tiat is offline   Reply With Quote

Old   March 2, 2016, 05:30
Default
  #4
Member
 
Join Date: Jun 2011
Posts: 80
Rep Power: 14
maalan is on a distinguished road
Quote:
in the way that a body is moved in x- and y-direction and for each each direction separate movingBodyTopoFvMeshCoeffs defined in the dynamicMeshDict.
Hi there! I'm also interested in this point. Did you finally solve it?

Best
maalan is offline   Reply With Quote

Old   April 23, 2017, 10:34
Default
  #5
New Member
 
Join Date: Mar 2017
Posts: 28
Rep Power: 9
saatt is on a distinguished road
Hi guys, can anyone solve the question?
saatt is offline   Reply With Quote

Reply

Tags
icodymfoam, mesh motion, moving body, topological changes


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
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 09:38
Trying to set up Moving Mesh Problem dreamchaser CFX 5 December 15, 2014 00:07
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
Moving Mesh Run problem - Scientific Linux G. SE Siemens 2 May 7, 2008 07:15
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10


All times are GMT -4. The time now is 04:09.