CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

error directMappedPatch LES and parallel

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   April 9, 2010, 11:32
Default error directMappedPatch LES and parallel
Join Date: Apr 2009
Location: Karlsruhe, Germany
Posts: 96
Rep Power: 8
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

--> 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, 12:12
Join Date: Apr 2009
Location: Karlsruhe, Germany
Posts: 96
Rep Power: 8
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;

n (1 1 1);
delta 0.001;

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


Thread Tools
Display Modes

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 On
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 11: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 06: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 18:51.