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

Reduce on alpha data

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 21, 2017, 01:37
Exclamation Reduce on alpha data
  #1
Member
 
Vishwesh Ravi Shrimali
Join Date: Aug 2017
Posts: 43
Rep Power: 9
vishwesh is on a distinguished road
Hi

I am creating a new solver which identifies a VOF bubble in a certain region at every time step, converts it to lagrangian bubble, writes its data to kinematicCloud file and then uses Lagrangian to track that bubble and InterFoam to track the VOF.

My solver is running fine in single processor, and now I want to convert it for parallel processors.

According to what I have searched so far, reduce operations allow compiling multiple processor data into a single data.

As of now, my every processor is doing the following things:

1. Finding out cell labels satisfying my alpha value constraint.
2. Using those cell labels to identify bubble parameters.
3. Writing those cell parameters to kinematicCloud file for Lagrangian tracking.

Now, since each processor is running the solver, each tries to create a bubble according to its mesh and thus instead of one complete bubble, I will end up with multiple smaller bubbles. Moreover, since each processor is running the solver, each of them tries to modify the kinematicCloud file simultaneously which finally results in crashing of the solver.

I wanted to ask if there is any way by which the following can be done:

1. Every processor identifies the celllabels satisfying the alpha constraint. This data is stored in a dynamicList.
2. The data obtained from the previous step is combined (or reduced) to form one dynamicList having the data.
3. Only one processor works on the compiled dynamicList, identifies the bubble, and writes it to kinematicCloud. No other processor should be able to do it.

Any help regarding this will be greatly appreciated.

Thanks

Vishwesh
vishwesh is offline   Reply With Quote

Reply

Tags
bubble identification, lagrangian particle, parallel


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
[OpenFOAM] How to get the coordinates of velocity data at all cells and at all times vidyadhar ParaView 9 May 20, 2020 21:06
A CFX-POST error (ver 14.5.7) wangyflp88 CFX 2 July 22, 2017 01:17
Problem running in parralel Val OpenFOAM Running, Solving & CFD 1 June 12, 2014 03:47
[OpenFOAM] saving data in paraview aylalisa ParaView 3 May 31, 2014 12:38
how can I reduce the file size of transient data Yuan-Heng Huang Siemens 3 December 1, 2000 23:16


All times are GMT -4. The time now is 17:05.