|
[Sponsors] |
Redistribution of cells on processors during simulation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 13, 2019, 08:09 |
Redistribution of cells on processors during simulation
|
#1 |
Member
Join Date: May 2016
Posts: 39
Rep Power: 10 |
Dear foamers,
I am dealing with a transient problem which needs adaptive meshing to manage the calculation. The issue is that the number of cells grows enormously from the start of the simulation till the end. Therefore the decomposition I make via decomposePar and scotch pre-run (time 0) is not gonna be an optimal after some elapsed time in fact the calculation time needed from one writing to the other will grow due to the fact that particular core will receive more cells and the others will have to wait for it to finish. Ultimately this problem grows with time. My question is the following. Does there exist an utility that would redistribute cells during the run of the simulation and where one can specify at what intervals redistribution should happen? I can't seem to find such capability anywhere. At the moment I have a bash code that stops simulation multiple times at specific intervals, redistributes the cells and reruns the sim. But the times have to be put in manually and since they are different for different simulations this becomes unmanageable. My idea would be to somehow put it in controlDict as sort of a codded function that would basically do the following (it would literally call the utilities at specific times): 1) every n-th writeInterval do: 2) reconstructParMest --> saves your mesh for each time step 3) reconstructPar --> saves the fields for each time step 4) decompose -force --> decomposes mesh & fields for latest time step 5) continue with simulation with more optimal distribution I have seen libraries and codes being called in controlDict but not utilities. Is this possible? Thanks! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
LES simulation - Not able to bring down M value of every cell below 0.1 | shettysds | STAR-CCM+ | 1 | February 7, 2018 19:39 |
How much can the sizes of cells vary within one simulation domain? | wildfire230 | OpenFOAM Running, Solving & CFD | 3 | December 29, 2017 02:59 |
RAM for large number of cells in CFD Simulation | saketh | Main CFD Forum | 3 | September 17, 2017 13:26 |
Different results between 3 processors simulation and 7 processors simulation | mfmohdyasin | OpenFOAM Programming & Development | 1 | August 27, 2012 04:07 |
physical boundary error!! | kris | Siemens | 2 | August 3, 2005 00:32 |