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

Extending movingConeTopoFvMesh into 2-D Motion

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 10, 2010, 11:33
Default Extending movingConeTopoFvMesh into 2-D Motion
  #1
New Member
 
Reza
Join Date: Jun 2010
Posts: 5
Rep Power: 7
reza1982 is on a distinguished road
Dear all,

I have been trying to extend the movingConeTopFvMesh from the original 1-D to a 2-D motion. It seems that this task is trivial but I cannot get what the mistake is. Basically, adding two more faceZones and updating the meshZonesAndModifiers, and including the motion of the second dimension in the update part of the code should do the job. I really appreciate any hint, heads up, link, or anything that can help me in tackling the problem. I I have attached the changed movingConeTopoFvMesh, log file, and the screen shot of the time at which the motion fails.

Thanks

Reza
Attached Images
File Type: jpg PlungingSquare.jpg (83.6 KB, 27 views)
Attached Files
File Type: txt log.txt (58.0 KB, 6 views)
File Type: c movingConeVerticalFvMesh.C (15.6 KB, 7 views)
reza1982 is offline   Reply With Quote

Old   October 20, 2010, 19:46
Default
  #2
New Member
 
Reza
Join Date: Jun 2010
Posts: 5
Rep Power: 7
reza1982 is on a distinguished road
Hi every body,

I realize that the problem starts at the square lower left corner. Dr. Lucchini also mentioned that movingConeTopoFvMesh may not be suitable for a 2-D extension, at least the way I did it. So, I tried to define 2 addZonesAndModifiers in the code to use them one after another. However, I am not quite sure how to tell OF to delete meshModifers and faceZones (outputs of addMeshAndZoneModifiers) and use the second addZonesAndModifiers I really appreciate if some experts could shed light on.

Regards
reza1982 is offline   Reply With Quote

Old   October 20, 2010, 22:12
Default
  #3
Senior Member
 
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 386
Rep Power: 15
deepsterblue will become famous soon enough
I'm quite certain that Dr. Lucchini is right. The current machinery in 2D only allows layer addition / removal operations, which is inherently single dimensional. We might be able to get a fix for your problem in 1.6-ext, but you would have to wait a little bit before it's released. For the moment, see if you can get by using mesh motion alone, without topo-changes.
__________________
Sandeep Menon
University of Massachusetts Amherst
https://github.com/smenon
deepsterblue is offline   Reply With Quote

Old   October 25, 2010, 16:52
Default
  #4
New Member
 
Reza
Join Date: Jun 2010
Posts: 5
Rep Power: 7
reza1982 is on a distinguished road
Hi Sandeep,

Thanks for the reply. Apparently there is no way of doing this. Do you know if it is possible to call two movingCopeTopos (one for x motion the other one for y motion) within dynamicMeshDict.

Thanks
reza1982 is offline   Reply With Quote

Reply

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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09
tank motion on boat Tim FLUENT 0 May 23, 2007 11:50
large scale mesh motion sb FLUENT 1 April 27, 2007 22:23
Can I define grids motion as a time functions Darcy CFX 4 March 29, 2001 21:14


All times are GMT -4. The time now is 19:06.