|
[Sponsors] |
April 9, 2010, 12:32 |
error directMappedPatch LES and parallel
|
#1 |
Senior Member
Join Date: Apr 2009
Location: Karlsruhe, Germany
Posts: 104
Rep Power: 17 |
Hi all,
I'm simulating a channel flow with LES. I have built a the channel in blockMesh, the inlet is a directMappedPatch. Starting this simulation not parallel works good. Starting the simulation parallel everything works at the beginning, too. But using "reconstructPar" I get following message:Create mesh for time = 0 Time = 0.0002 Reconstructing FV fields Reconstructing volScalarFields p k --> FOAM Warning : From function average(const UList<Type>&) in file /home/dm2/henry/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/FieldFunctions.C at line 458 empty field, returning zero Did not find sample (1 0.00166459 -0.0496671) on any processor of regionregion0 From function directMappedPatchBase::findSamples(const pointField&, labelList&, labelList&, pointField&) in file directMapped/directMappedPolyPatch/directMappedPatchBase.C at line 337. FOAM exiting I have tested many things, but nothing helps. Has anybody an idea? I'm using OpenFOAM 1.6. Thanks, Thomas |
|
April 12, 2010, 13:12 |
|
#2 |
Senior Member
Join Date: Apr 2009
Location: Karlsruhe, Germany
Posts: 104
Rep Power: 17 |
Hi all,
the problem is the same as cyclic boundary conditions with parallel running jobs. So you have to make a decomposeParDict, where the directMapped bc's are at one processor (inlet and outlet) dictionary. That means you can split the inlet in p.e. four processor domains, but each one must have the according outlet-part, too. For example the simulation of a channel with mapped bc's for a fully developed flow in x1 direction can be solved parallel with these conditions in the decomposeParDict for 4 processors: numberOfSubdomains 4; method hierarchical; //method metis; //method parMetis; simpleCoeffs { n (1 1 1); delta 0.001; } hierarchicalCoeffs { n (1 4 1); //here 4 processors in x2 direction delta 0.001; order xyz; } You can see in x1-direction is only one processor. So inlet- and outlet-parts you need for the directMappedPatch are saved at one processor. So it works now. For further informations search the forum with the catchwords "cylic" "parallel". Regards Thomas |
|
April 26, 2016, 08:58 |
|
#3 |
New Member
Join Date: Jul 2014
Posts: 2
Rep Power: 0 |
Hello!
Is there any other boundary condition that is similar to directMappedPatch and allows to use parallel processing? Thanks |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Differences between serial and parallel runs | carsten | OpenFOAM Bugs | 11 | September 12, 2008 12:16 |
Parallel postChannel from within channelOodles for DNS and LES | maka | OpenFOAM Running, Solving & CFD | 1 | February 18, 2008 14:08 |
Problem with Parallel not with Serial | iyer_arvind | OpenFOAM Running, Solving & CFD | 0 | September 18, 2006 07:03 |
Parallel LES computation stops with reason | vvqf | OpenFOAM Running, Solving & CFD | 4 | March 6, 2006 08:55 |
problems with LES run | Tim | CFX | 1 | February 27, 2006 08:28 |