|
[Sponsors] |
Problem with decomposePar (and mapFields) for large problem |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 7, 2019, 03:48 |
Problem with decomposePar (and mapFields) for large problem
|
#1 |
Senior Member
TWB
Join Date: Mar 2009
Posts: 403
Rep Power: 19 |
Hi,
I'm having problem using decomposePar (and mapFields) for large problem. My grid has abt 0.28 billion cells. I intend to run on a cluster with 1000 - 1500 cpus. It is a DES simulation and I need to use resumed data from a smaller problem, mapField, and then decomposePar. However, I have some problems. 1. I used to run: mapFields ../path/to/source -consistent -sourceTime latestTime then decomposePar -force But maybe because the problem is too big, mapFields quit after about 0.5 hr. 2. Another way is to 1st create a folder with dummy files in the time step I want to map, then running decomposePar -force then mapFields path/to/source -sourceTime latestTime -parallelSource -parallelTarget -consistent or mpirun -n xx mapFieldsPar -consistent -parallel -sourceTime latestTime path/to/source However decomposePar also quit after 0.5 hr. So what other solutions do I have? Thanks |
|
February 20, 2019, 09:18 |
|
#2 |
Senior Member
Zander Meiring
Join Date: Jul 2018
Posts: 125
Rep Power: 8 |
Why not make use of the cluster to do the map fields in parallel? Split both domains up, and use mpirun mapFieldsPar
|
|
February 21, 2019, 09:51 |
|
#3 |
Senior Member
TWB
Join Date: Mar 2009
Posts: 403
Rep Power: 19 |
Hi yambanshee,
Thanks for your suggestions. I have tried but using this way, I got the error: [1021] [1021] [1021] --> FOAM FATAL ERROR: [1021] Unable to set source and target faces [1021] [1021] From function void Foam::faceAreaWeightAMI<SourcePatch, TargetPatch>::setNextFaces(int &, int &, int &, const Foam::List<bool> &, Foam::List<int> &, const Foam:ynamicList<int, 0U, 2U, 1U> &, bool) const [with SourcePatch = Foam::PrimitivePatch<Foam::face, Foam::SubList, const Foam::Field<Foam::Vector<double>> &, Foam::Vector<double>>, TargetPatch = Foam::PrimitivePatch<Foam::face, Foam::SubList, const Foam::Field<Foam::Vector<double>> &, Foam::Vector<double>>] [1021] in file lnInclude/faceAreaWeightAMI.C at line 287. Hence, I'm not able to use this mtd. Or do you know how to solve this problem? Thanks. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems with decomposePar and mapFields | Fischlurch | OpenFOAM Running, Solving & CFD | 2 | October 7, 2016 07:51 |
implementation of mapFields into parallel transient case | simpomann | OpenFOAM Pre-Processing | 4 | August 2, 2016 04:41 |
transientSimpleDyMFoam, mapFields and decomposePar | pad | OpenFOAM Running, Solving & CFD | 0 | December 3, 2010 05:22 |