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

error directMappedPatch LES and parallel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 9, 2010, 12:32
Default error directMappedPatch LES and parallel
  #1
Senior Member
 
Join Date: Apr 2009
Location: Karlsruhe, Germany
Posts: 104
Rep Power: 17
Thomas Baumann is on a distinguished road
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
Thomas Baumann is offline   Reply With Quote

Old   April 12, 2010, 13:12
Default
  #2
Senior Member
 
Join Date: Apr 2009
Location: Karlsruhe, Germany
Posts: 104
Rep Power: 17
Thomas Baumann is on a distinguished road
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
Thomas Baumann is offline   Reply With Quote

Old   April 26, 2016, 08:58
Default
  #3
New Member
 
Join Date: Jul 2014
Posts: 2
Rep Power: 0
milena is on a distinguished road
Hello!

Is there any other boundary condition that is similar to directMappedPatch and allows to use parallel processing?

Thanks
milena is offline   Reply With Quote

Reply


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
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


All times are GMT -4. The time now is 16:43.