|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Anjul Pandey
Join Date: Jul 2020
Posts: 16
Rep Power: 6 ![]() |
Hello all,
I am running a molecular dynamics simulation in OpenFOAM-5.x. To give you a picture, I am colliding some spherical balls in a box and when the spheres collide, one of them is randomly placed in some other location. While it works seamlessly in serial, I want to run it in parallel and after the collision, I want to delete the particle from that position and create a new one in a randomly chosen processor. For that, I want to know how to get the details of processor mesh, i.e. how do I know the coordinates of mesh in the chosen processor? For serial, that command is: mesh_.bounds().min()[0] and mesh_.bounds().max()[0] in which this command gives the boundaries of whole mesh in x direction. |
|
![]() |
![]() |
![]() |
Tags |
cfd, molecular dynamics, openfoam-5 |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Extracting ParaView Data into Python Arrays | Jeffzda | ParaView | 30 | November 6, 2023 21:00 |
[General] Acces to information tab data | badoumba | ParaView | 0 | August 8, 2017 10:20 |
script for export particle information | archetype | CFX | 2 | August 8, 2017 09:57 |
OpenFOAM 2D simulation - Freelancer Job- Information will be provided | sanjar | CFD Freelancers | 0 | March 7, 2017 09:45 |
information from saved data files:Unsteady flow | Atul | FLUENT | 5 | July 27, 2008 20:05 |