|
[Sponsors] |
Load balancing with topoChanger LayerAdditionRemoval Piston movement solver |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 22, 2017, 06:00 |
Load balancing with topoChanger LayerAdditionRemoval Piston movement solver
|
#1 |
Senior Member
Join Date: Sep 2013
Posts: 353
Rep Power: 20 |
A while ago I wrote a mesh motion solver with layer addition and removal. It moves a patch based on a specified velocity and deletes or adds cells based on the direction of the movement velocity. It does hence only change the mesh near the moving wall. Applicable to e.g a piston in an engine or a bicycle pump. This is e.g helpful for interFoam simulations where a simple compression of cells would lead to high aspect ratios for large deformations.
A test case and the solver can be found here (for older OpenFOAM versions replace Function1 with DataEntry): https://github.com/bloerb/linearMotionLayersFvMesh I have recently looked at this again and hence uploaded it. Since it deletes or adds cells the solver will eventually run into problems on parallel runs. If all cells on a processor are deleted it will naturally crash. With proper decomposition it will run fine in parallel though. This does however often demand a manual decomposition. My aim is hence to do load balancing. This is done with fvMeshDistribute and mapDistributePolyMesh as far as I can tell. I basically just want to redistribute it each time the processor my patch is on will run out of cells. The redistribution would suffice if it would simply call redistributePar on runTime. Maybe someone has looked into this before and give me some pointers. A draft can be found in the balance part of linearMotionLayersFvMesh.C. I have this nagging felling that I am missing something that can essentially be done in a few lines of codes. Best regards |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
applying point load ..solidDisplacmentFoam solver | raagh77 | OpenFOAM Running, Solving & CFD | 1 | September 14, 2011 11:01 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 20:02 |
Load balancing pre- and during computation | madad2005 | OpenFOAM | 1 | October 29, 2009 05:23 |
load balancing in parallel computation | shyamdsundar | Main CFD Forum | 0 | September 2, 2009 23:53 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 1, 2003 23:32 |