CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Information of processor mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 14, 2022, 05:22
Default Information of processor mesh
  #1
New Member
 
Anjul Pandey
Join Date: Jul 2020
Posts: 16
Rep Power: 6
anjul is on a distinguished road
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.
anjul is offline   Reply With Quote

Reply

Tags
cfd, molecular dynamics, openfoam-5


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
[General] Extracting ParaView Data into Python Arrays Jeffzda ParaView 30 November 6, 2023 22:00
[General] Acces to information tab data badoumba ParaView 0 August 8, 2017 11:20
script for export particle information archetype CFX 2 August 8, 2017 10:57
OpenFOAM 2D simulation - Freelancer Job- Information will be provided sanjar CFD Freelancers 0 March 7, 2017 10:45
information from saved data files:Unsteady flow Atul FLUENT 5 July 27, 2008 21:05


All times are GMT -4. The time now is 11:06.