|
[Sponsors] |
November 27, 2009, 14:03 |
Topological mesh changes in parallel
|
#1 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33 |
Dear All,
I had to do some work on topo changes in parallel and there is one IMPORTANT change required with the new svn update. Please pay attention - this WILL break your TOPO CHANGER code. Due to a possibility that one CPU does do a topo change and another does not, I have introduced a dummy mapPolyMesh and synchronisation across CPUs to deal with it. The OLD way of signalling no topo change was to put a null pointer inside of autoPtr<mapPolyMesh> Thus: OLD VARIANT autoPtr<mapPolyMesh> topoChangeMap = topoChanger_.changeMesh(); bool meshChanged = topoChangeMap.valid(); if (meshChanged) { etc. Now, the pointer will never be NULL, but mapPolyMesh will carry thr information on whether the change happens. The new way of dealing with this is: NEW VARIANT if (topoChangeMap->morphing()) { Please keep this in mind: it is important in all cases of topo change. I will change and keep alive all code components that are checked in; please revisit your local code and ask if there are problems. Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
July 26, 2012, 08:52 |
|
#2 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 16 |
Dear Mr. Jasak,
I am having a problem with topochanger in parallel. Please see here my problem: http://www.cfd-online.com/Forums/ope...-parallel.html I am using layering for piston motion and tet automotion solver for the valve movement. For a single processor everything works nicely but in parallel it crashes as soon as a layer will be removed. Best regards Peter |
|
July 26, 2012, 09:03 |
|
#3 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33 |
Yes, we have enabled topo changes in parallel about a year ago but there are guidelines and (minor) limitations on what you need to do. Further to that, you will need special domain decomposition and reconstruction tools that deal with parallelism under topo changes.
We currently deal with this under support contracts - please drop me a line and we can discuss what would be appropriate for you. Hrvoje
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallel Moving Mesh Bug for Multi-patch Case | albcem | OpenFOAM Bugs | 17 | April 28, 2013 23:44 |
interDyMFoam, problems in mesh motion solutor run in parallel | DLC | OpenFOAM | 11 | December 11, 2012 02:20 |
Meshing aifoil in ICEM | student123a | ANSYS Meshing & Geometry | 13 | December 8, 2010 10:40 |
Parallel Moving Mesh Bug for Multi-patch Case | albcem | OpenFOAM | 0 | May 21, 2009 00:23 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 14:09 |