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

[Other] Extending movingConeTopoFvMesh into 2-D Motion

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 10, 2010, 12:33
Default Extending movingConeTopoFvMesh into 2-D Motion
  #1
New Member
 
Reza
Join Date: Jun 2010
Posts: 5
Rep Power: 15
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, 52 views)
Attached Files
File Type: txt log.txt (58.0 KB, 9 views)
File Type: c movingConeVerticalFvMesh.C (15.6 KB, 18 views)
reza1982 is offline   Reply With Quote

Old   October 20, 2010, 20:46
Default
  #2
New Member
 
Reza
Join Date: Jun 2010
Posts: 5
Rep Power: 15
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, 23:12
Default
  #3
Senior Member
 
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25
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, 17:52
Default
  #4
New Member
 
Reza
Join Date: Jun 2010
Posts: 5
Rep Power: 15
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

Old   December 8, 2015, 03:30
Default
  #5
Senior Member
 
Join Date: Jan 2013
Posts: 134
Rep Power: 13
kkpal is on a distinguished road
Hi, is this problem solve now?
Is it possible to do adding/removing layers on a curved surface?
kkpal is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
How to use "translation" in solidBodyMotionFunction in OpenFOAM rupesh_w OpenFOAM Running, Solving & CFD 5 August 16, 2016 05:27
External management of solid motion (using dynamicmesh) maxou1993 Main CFD Forum 0 July 28, 2015 12:37
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09


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