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

Dynamic mesh with the mesh generated by SHM

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wangchengan2003

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 14, 2016, 07:31
Default Dynamic mesh with the mesh generated by SHM
  #1
Member
 
chengan.wang
Join Date: Jan 2016
Location: china
Posts: 47
Rep Power: 10
wangchengan2003 is on a distinguished road
Send a message via Skype™ to wangchengan2003
Dear Foamers,
Now I want to deal with a problem, in which a cavity moves in water with a constant speed. I try to use pimpleDyMFoam (OF 2.4) to solve it. "movingConeTopoFvMesh" is selected in dynamicMeshDict.
In order to simplify the problem, I take a square geometry. At first, the blockMesh unity is used to generate a uniform mesh and everything goes well. Then, I use the snappyHexMesh unity to generate the mesh. It is more easier if the cavity is much smaller than the background or its geometry is complex.
But this time the case dosen't work anymore. I post the errors here:
-----------------------------------------------------------------------------------
"--> FOAM FATAL ERROR:

Cannot find patch for edge 833. Edge: (996 25096)

From function void Foam::layerAdditionRemoval::setRefinement(polyTopo Change& ref)
in file layerAdditionRemoval/addCellLayer.C at line 449.

FOAM aborting
#0 Foam::error:: printStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2 Foam::layerAdditionRemoval::addCellLayer(Foam:: polyTopoChange&) const at ??:?
#3 Foam::layerAdditionRemoval::setRefinement(Foam:: polyTopoChange&) const at ??:?
#4 Foam:: polyTopoChanger::topoChangeRequest() const at ??:?
#5 Foam:: polyTopoChanger::changeMesh(bool, bool, bool, bool) at ??:?
#6 Foam::movingConeTopoFvMesh::update() at ??:?
#7 main at ??:?
#8 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6"
#9 ? at ??:?
Aborted (core dumped)"

-----------------------------------------------------------------------------------
I tried two kinds of mesh by SHM, which are attached in the email. The mesh are not complex but I don't know how to fix it.
If somebody could give me some suggestions on it or some examples?
Attached Images
File Type: jpg Screenshot.jpg (162.9 KB, 19 views)
File Type: jpg Screenshot2.jpg (153.3 KB, 16 views)
jiahui_93 likes this.
wangchengan2003 is offline   Reply With Quote

Reply

Tags
complex geometry, moving mesh., movingconetopofvmesh, snappyhexmesh 2d


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
Reconstruction of the parallel case with dynamic mesh makaveli_lcf OpenFOAM Post-Processing 7 October 18, 2023 12:28
Dynamic Mesh Problem. Tom Clark FLUENT 10 June 21, 2021 05:27
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38
Dynamic Mesh and Sliding Mesh Simultaneously reynold92 FLUENT 2 May 9, 2015 16:26
Dynamic Mesh moving interface help akash.iitb FLUENT 0 August 24, 2010 00:53


All times are GMT -4. The time now is 10:24.