|
[Sponsors] |
April 21, 2020, 20:32 |
Grid Motion in Parallel
|
#1 |
Member
j
Join Date: Apr 2020
Posts: 34
Rep Power: 0 |
Hi, I'm having a small issue with my dynamic mesh UDF. I am running in parallel and end up doing some calculations to figure out how much to displace each wall vertex on my mesh. It seems to work fine except when I hit update dynamic mesh and run 1 iteration, it performs the grid motion twice. I also display a message for how much volume total I am displacing. When I hit update dynamic mesh, the message displays twice. The first tie it shows the correct volume to move the mesh. The second message shows exactly double the first volume. As shown, I use a += statement to loop through all the cells to get this value. This tells me that the entire thing is running twice for some reason. I'm running on 28 processors. The calculations across the processors works great, but again, it's like the function runs twice when I hit update dynamic mesh. Any ideas why this might happen? Could this be something to do with how node 0 communicates with the host? Maybe it's running my entire UDF twice?
|
|
Tags |
dpm, grid motion, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF problem: incorrect grid motion | Fil | FLUENT | 5 | December 19, 2020 10:16 |
Explicitly filtered LES | saeedi | Main CFD Forum | 16 | October 14, 2015 12:58 |
decomposing a grid in parallel | deeps | SU2 | 2 | January 29, 2014 02:01 |
HELP! grid check failed in parallel fluent | restart | FLUENT | 0 | March 5, 2011 10:55 |
MapFields to New Grid For Extreme Grid Deformations due to Body Motion | albcem | OpenFOAM | 0 | May 5, 2009 15:17 |