CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Parallelise DEFINE_GRID_MOTION for dynamic mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 29, 2016, 02:15
Default Parallelise DEFINE_GRID_MOTION for dynamic mesh
  #1
New Member
 
Join Date: Apr 2016
Location: Australia
Posts: 3
Rep Power: 10
heart_modeller is on a distinguished road
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!
Attached Files
File Type: c wall_csv.c (1.4 KB, 31 views)
heart_modeller is offline   Reply With Quote

Reply

Tags
define_grid_motion, dynamic mesh, parallel, udf


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 21:50.