|
[Sponsors] |
Particle tracking and AMI patches error for parallel processing |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 9, 2023, 13:04 |
Particle tracking and AMI patches error for parallel processing
|
#1 |
New Member
Mahdi
Join Date: May 2016
Posts: 22
Rep Power: 9 |
Hi everyone,
I am using icoUncoupledKinematicParcelFoam in OpenFoam 2.206 for tracking of particles. I am using simple method for parallel processing to run the simulations on 6 cores. When I am using decomposePar on my PC, everything is fine and simulations are run, but when I take the simulations to run on HPC with the same setting as that on pc, I get this error although it is being decomposed on 1 node with the same 6 cores using simple method: --> FOAM FATAL ERROR: (openfoam-2206 patch=221104) [5] Particle tracking across AMI patches is only currently supported for cases where the AMI patches reside on a single processor. Does anyone have some ideas why this happens? Thank you so much all. |
|
February 21, 2023, 02:55 |
Particle tracking with AMI patches
|
#2 |
New Member
Join Date: Jul 2019
Location: MARS
Posts: 9
Rep Power: 6 |
As shown in the error message, the AMI patches should be distributed to the same processor in parallel running. We can use "singleProcessorFaceSets" constraint for this:
1. Use topoSet to assemble the AMI patches (often in pairs) to FaceSets. Code:
actions ( { name AMI_faceSets1; type faceSet; action new; source patchToFace; sourceInfo { name "(AMI-interface1-2|AMI-interface2-1)"; } ) Code:
singleProcessorFaceSets ( (AMI_faceSets1 -1) ); For more details, check the attached test case, especially the decomposePar_annotated file. The case is run with OpenFOAM-2112 but is compatible for OpenFOAM-7. An example of the results: Last edited by lxufeishi; February 21, 2023 at 21:08. |
|
March 2, 2023, 19:16 |
|
#3 |
New Member
Mahdi
Join Date: May 2016
Posts: 22
Rep Power: 9 |
Thank you so much for your detailed and exact description of the solution lxufeishi!!
It is interesting that you use icouncoupled with pimplefoam. I thought it is only for when you have the velocity field. I need actually for an unsteady solution. Can I use the same functions you have for my own problem? Thank you, Mahdi. |
|
March 2, 2023, 21:30 |
|
#4 |
New Member
Join Date: Jul 2019
Location: MARS
Posts: 9
Rep Power: 6 |
Yes, the function can run with the transient solvers so the particle will be driven by the unsteady velocity field.
|
|
March 3, 2023, 02:27 |
|
#5 |
New Member
Mahdi
Join Date: May 2016
Posts: 22
Rep Power: 9 |
Hi lxufeishi,
Thank you for your reply again. Can you please explain a bit what changes you have made in the solver to run it with pimpleFoam? Can the solver you have developed be used for any transient case? or it is case-specific? Thank you. |
|
March 3, 2023, 02:56 |
|
#6 | |
New Member
Join Date: Jul 2019
Location: MARS
Posts: 9
Rep Power: 6 |
Quote:
You may find the following tutorial helpful. https://www.cemf.ir/residence-time-d...ticle-tracing/ Cheers, |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
particle tracking and moving meshes | cristobal | OpenFOAM Running, Solving & CFD | 2 | October 29, 2021 10:58 |
Lagrangian particle tracking cannot be run in parallel for the cases with AMI patches | Armin.Sh | OpenFOAM Running, Solving & CFD | 7 | March 28, 2021 22:33 |
AMI dynamic mesh and Lagrangian Particle Clouds | lr103476 | OpenFOAM Running, Solving & CFD | 9 | February 28, 2018 09:35 |
Streamlines and AMI patches | johannesk | OpenFOAM Post-Processing | 5 | March 24, 2016 04:13 |
Lagrangain tracking with sliding mesh with AMI patches | jiejie | OpenFOAM Running, Solving & CFD | 0 | March 6, 2012 23:59 |