|
[Sponsors] |
Parallelise DEFINE_GRID_MOTION for dynamic mesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 29, 2016, 02:15 |
Parallelise DEFINE_GRID_MOTION for dynamic mesh
|
#1 |
New Member
Join Date: Apr 2016
Location: Australia
Posts: 3
Rep Power: 10 |
Hello everyone,
I've been really struggling with parallelising my UDF for dynamic mesh update. Basically the UDF is at each time step to read in a CSV file containing coordinates for each grid point of my mesh and update the coordinates, then fluent does smoothing and remeshing of the deforming domain based on the updated coordinates. The UDF works perfectly in serial, but I just can't get it to work in parallel. I've attached the script here. What I've been trying to do is to make the script loop through the faces and nodes (grid points) in serial because the order in which it does so is important due to the way the coordinates are ordered in the CSV files. However that doesn't seem to work. I also thought maybe I could get the IDs of the grid points so that I can use that to point to the corresponding coordinates in the CSV file, but how do you get grid point IDs? Do they still get ordered the same way when distributed across a number of compute nodes? I've gone through the manual, tutorials and all the discussion threads I can find online but still don't know how to solve this. Any help or suggestions will be greatly appreciated! |
|
Tags |
define_grid_motion, dynamic mesh, parallel, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 06:38 |
[ICEM] surface mesh merging problem | everest | ANSYS Meshing & Geometry | 44 | April 14, 2016 07:41 |
[ICEM] Problem making structural mesh on a surface | froztbear | ANSYS Meshing & Geometry | 1 | November 10, 2011 09:52 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 22:11 |