CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

preserving Patches CyclicAMI parallel processing

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 7, 2021, 16:56
Default preserving Patches CyclicAMI parallel processing
  #1
Member
 
qutadah
Join Date: Jun 2021
Location: Germany
Posts: 47
Rep Power: 2
qutadah.r is on a distinguished road
I am trying to preserve patches of cyclicAMI, as described in the User-Guide, i should include some code in my decomposeParDict and topoSetDict...

Constraints

These are constraints applied to the decomposition. Typical uses might be e.g. to keep a cyclicAMI patch on a single processor (might speed up simulation) or have maximum local donors in an overset case."

I have tried the following solution on following post:

preservepatches for cyclicAMI

in decomposeParDict:

constraints
{

// Keep all of faceSet on a single processor. This puts all cells
// connected with a point, edge or face on the same processor.
// (just having face connected cells might not guarantee a balanced
// decomposition)
// The processor can be -1 (the decompositionMethod chooses the
// processor for a good load balance) or explicitly provided (upsets
// balance)

processors
{
type singleProcessorFaceSets;
sets (
(front -1) //(f1 -1)
(back -1)
);
// enabled true;
}

}

in topoSetDict:

actions
(
{
name front;
type faceSet;
action new;
source patchToFace;
sourceInfo
{
name "front";
}
}
{
name back;
type faceSet;
action new;
source patchToFace;
sourceInfo
{
name "back";
}
}
);

i did however try including it and i recieve an error when running the case.

I am trying to see if it might speed up simulation as mentioned in the user guide "

Should i run the case normally decomposePar, pimpleFoam, and then reconstructPar, or should i include a specific command because we have a new topoSetDict we didnt have before?

Or is there another way to do this if this is the wrong way to do it?

Thanks!

Error:

--> FOAM FATAL IO ERROR:
keyword singleProcessorFaceSets is undefined in dictionary "/hsmstorage/work/rababqjt/3D_Pump_SinglePhase/02_3D_Pumpe_M1_IncreasedGap_Qw68_CyclicAMI_SST_pim ple/system/decomposeParDict.constraints.processors"

file: /hsmstorage/work/rababqjt/3D_Pump_SinglePhase/02_3D_Pumpe_M1_IncreasedGap_Qw68_CyclicAMI_SST_pim ple/system/decomposeParDict.constraints.processors from line 49 to line 53.

From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
in file db/dictionary/dictionary.C at line 566.

FOAM exiting
qutadah.r is offline   Reply With Quote

Old   October 11, 2021, 09:39
Default
  #2
Member
 
Join Date: Feb 2020
Posts: 44
Rep Power: 3
Fouch is on a distinguished road
Hi,

I see that enable true is commented.
Could you try without comment ?
Fouch is offline   Reply With Quote

Old   October 11, 2021, 11:41
Default
  #3
Member
 
qutadah
Join Date: Jun 2021
Location: Germany
Posts: 47
Rep Power: 2
qutadah.r is on a distinguished road
I have a question,



where does the back and front come from? because my boundaries are defined such as:


INT_BLADE_2-SIDE-1
{
type cyclicAMI;
inGroups 1(cyclicAMI);
nFaces 1056;
startFace 14209224;
matchTolerance 0.0001;
transform coincidentFullMatch;
neighbourPatch INT_BLADE_2-SIDE-2;
method faceAreaWeightAMI;
}
INT_BLADE_2-SIDE-2
{
type cyclicAMI;
inGroups 1(cyclicAMI);
nFaces 704;
startFace 14210280;
matchTolerance 0.0001;
transform coincidentFullMatch;
neighbourPatch INT_BLADE_2-SIDE-1;
method faceAreaWeightAMI;
}

should i be inputting INT_BLADE_2-SIDE-2 , and so on instead of front and back? I dont understand what the front and back is exactly..


thanks
qutadah.r is offline   Reply With Quote

Old   October 11, 2021, 11:42
Default
  #4
Member
 
qutadah
Join Date: Jun 2021
Location: Germany
Posts: 47
Rep Power: 2
qutadah.r is on a distinguished road
Quote:
Originally Posted by Fouch View Post
Hi,

I see that enable true is commented.
Could you try without comment ?

i did try without commenting and it gives error.


-> FOAM FATAL IO ERROR:
keyword singleProcessorFaceSets is undefined in dictionary "/hsmstorage/work/rababqjt/3D_Pump_SinglePhase/02_3D_Pumpe_M1_IncreasedGap_Qw68_CyclicAMI_SST_pim ple/system/decomposeParDict.constraints.processors"

file: /hsmstorage/work/rababqjt/3D_Pump_SinglePhase/02_3D_Pumpe_M1_IncreasedGap_Qw68_CyclicAMI_SST_pim ple/system/decomposeParDict.constraints.processors from line 49 to line 54.

From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
in file db/dictionary/dictionary.C at line 566.
qutadah.r is offline   Reply With Quote

Reply

Tags
cyclicami, decomposepar, parallel decomposepar

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] Creating mesh for cyclicAMI boundaries otaolafr OpenFOAM Meshing & Mesh Conversion 1 May 18, 2021 06:11
Parallel processing of OpenFOAM cases on multicore processor??? g.akbari OpenFOAM Running, Solving & CFD 31 November 1, 2017 10:25
Parallel Processing by region Swift OpenFOAM Running, Solving & CFD 0 July 30, 2015 09:42
problem with cyclicAMI and wall distance Maff OpenFOAM Bugs 5 August 14, 2014 15:41
Cyclic patches and parallel postprocessing problems askjak OpenFOAM Bugs 18 October 27, 2010 04:35


All times are GMT -4. The time now is 20:09.